masami310
unread,Mar 2, 2022, 7:57:11 AM3/2/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to debezium
Hi,
There are a few things I'm curious about in the production Debezium logs, let me ask you a question.
1. The log "The connector is now using the maximum batch size 100000 when querying the LogMiner view. This could be directive of large SCN gaps" is frequently output.
How much should this increase the value of log.mining.batch.size.max?
I would like advice for determining the setting value.
2. When is "Streaming metrics dump:" output to the log?
3. What period of lag does LagFromTheSourceDuration measure?
For example, is it the period from the date and time when the change data was written to the archive log to the date and time when the message was sent to the Kafka broker?
4. Currently, there is a big lag in the production environment.
I would like advice on possible causes and countermeasures.
maxLagFromTheSourceDuration = PT12H57M58.910002S
--- Streaming metrics dump (all)---
2022-02-28T19:05:30.657Z [2022-03-01 04:05:30,632] INFO [bakskvs-prod-connector|task-0] Streaming metrics dump:
OracleStreamingChangeEventSourceMetrics{
currentScn=744984117800, oldestScn=744289067821, committedScn=744846515060, offsetScn=744289067820,
logMinerQueryCount=8332, totalProcessedRows=204076234, totalCapturedDmlCount=36874626,
totalDurationOfFetchingQuery=PT33H25M18.172616S, lastCapturedDmlCount=40,
lastDurationOfFetchingQuery=PT15.264643S, maxCapturedDmlCount=9192797,
maxDurationOfFetchingQuery=PT6M10.491418S, totalBatchProcessingDuration=PT78H56M59.640099S,
lastBatchProcessingDuration=PT29.122857S, maxBatchProcessingThroughput=10500,
currentLogFileName=[+DATAC1/BXXXX11/ONLINELOG/group_3.1816.1069802111,
+DATAC1/BXXXX11/ONLINELOG/group_11.1125.1069802131],
minLogFilesMined=2, maxLogFilesMined=2,
redoLogStatus=[+DATAC1/BXXXX11/ONLINELOG/group_1.1780.1069802107
| ACTIVE, +DATAC1/BXXXX11/ONLINELOG/group_4.1817.1069802115
| ACTIVE, +DATAC1/BXXXX11/ONLINELOG/group_2.1813.1069802109
| ACTIVE, +DATAC1/BXXXX11/ONLINELOG/group_10.1475.1069802127
| ACTIVE, +DATAC1/BXXXX11/ONLINELOG/group_11.1125.1069802131
| CURRENT, +DATAC1/BXXXX11/ONLINELOG/group_3.1816.1069802111
| CURRENT, +DATAC1/BXXXX11/ONLINELOG/group_9.1822.1069802125
| INACTIVE, +DATAC1/BXXXX11/ONLINELOG/group_12.1124.1069802133
| INACTIVE],
switchCounter=223, batchSize=100000, millisecondToSleepBetweenMiningQuery=0,
hoursToKeepTransaction=0, networkConnectionProblemsCounter0, batchSizeDefault=20000,
batchSizeMin=1000, batchSizeMax=100000, sleepTimeDefault=1000, sleepTimeMin=0,
sleepTimeMax=3000, sleepTimeIncrement=200, totalParseTime=PT6M28.215043S,
totalStartLogMiningSessionDuration=PT1M20.994204S, lastStartLogMiningSessionDuration=PT0.02101S,
maxStartLogMiningSessionDuration=PT0.370744S, totalProcessTime=PT78H56M59.640099S,
minBatchProcessTime=PT0.071576S, maxBatchProcessTime=PT4H59M32.704482S,
totalResultSetNextTime=PT42H1M54.906585S, lagFromTheSource=DurationPT8H51M18.214495S,
maxLagFromTheSourceDuration=PT12H57M58.910002S, minLagFromTheSourceDuration=PT0.427924S,
lastCommitDuration=PT0.000004S, maxCommitDuration=PT27M1.130142S, activeTransactions=56,
rolledBackTransactions=524260, committedTransactions=83045739, abandonedTransactionIds=[],
rolledbackTransactionIds=[2e001b00f8730000, 37001700f49c0000, …, 2a002100ef670200],
registeredDmlCount=36875340, committedDmlCount=33985075, errorCount=1, warningCount=494,
scnFreezeCount=0, unparsableDdlCount=494, miningSessionUserGlobalAreaMemory=48266632,
miningSessionUserGlobalAreaMaxMemory=53287192, miningSessionProcessGlobalAreaMemory=114296296,
miningSessionProcessGlobalAreaMaxMemory=346424808
}(io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource:195)
---
The version of Debezium is 1.8.1.Final.
Oracle is 12.1.
Kafka broker(Amazon MSK) 2.8.1.