| Package | Description |
|---|---|
| io.debezium.connector.oracle | |
| io.debezium.connector.oracle.logminer |
| Modifier and Type | Field and Description |
|---|---|
private OracleConnection |
OracleValueConverters.connection |
private OracleConnection |
OracleConnectorTask.historyRecorderConnection |
private OracleConnection |
OracleSnapshotChangeEventSource.jdbcConnection |
private OracleConnection |
OracleConnectorTask.jdbcConnection |
private OracleConnection |
OracleChangeEventSourceFactory.jdbcConnection |
| Modifier and Type | Method and Description |
|---|---|
OracleConnection |
OracleConnection.executeLegacy(io.debezium.jdbc.JdbcConnection.Operations operations) |
OracleConnection |
OracleConnection.executeLegacy(String... sqlStatements) |
| Constructor and Description |
|---|
OracleChangeEventSourceFactory(OracleConnectorConfig configuration,
OracleConnection jdbcConnection,
io.debezium.pipeline.ErrorHandler errorHandler,
io.debezium.pipeline.EventDispatcher<io.debezium.relational.TableId> dispatcher,
io.debezium.util.Clock clock,
OracleDatabaseSchema schema,
io.debezium.config.Configuration jdbcConfig,
OracleTaskContext taskContext) |
OracleDatabaseSchema(OracleConnectorConfig connectorConfig,
io.debezium.util.SchemaNameAdjuster schemaNameAdjuster,
io.debezium.schema.TopicSelector<io.debezium.relational.TableId> topicSelector,
OracleConnection connection) |
OracleSnapshotChangeEventSource(OracleConnectorConfig connectorConfig,
OracleOffsetContext previousOffset,
OracleConnection jdbcConnection,
OracleDatabaseSchema schema,
io.debezium.pipeline.EventDispatcher<io.debezium.relational.TableId> dispatcher,
io.debezium.util.Clock clock,
io.debezium.pipeline.source.spi.SnapshotProgressListener snapshotProgressListener) |
OracleValueConverters(OracleConnectorConfig config,
OracleConnection connection) |
| Modifier and Type | Field and Description |
|---|---|
private OracleConnection |
LogMinerStreamingChangeEventSource.jdbcConnection |
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,OracleConnection> |
LogMinerHelper.racFlushConnections |
| Modifier and Type | Method and Description |
|---|---|
private static OracleConnection |
LogMinerHelper.createFlushConnection(io.debezium.jdbc.JdbcConfiguration config,
String host) |
| Modifier and Type | Method and Description |
|---|---|
private void |
LogMinerStreamingChangeEventSource.abandonOldTransactionsIfExist(OracleConnection connection,
TransactionalBuffer transactionalBuffer) |
(package private) static void |
LogMinerHelper.buildDataDictionary(OracleConnection connection)
This builds data dictionary objects in redo log files.
|
(package private) static void |
LogMinerHelper.checkSupplementalLogging(OracleConnection connection,
String pdbName,
OracleDatabaseSchema schema)
This method validates the supplemental logging configuration for the source database.
|
(package private) static void |
LogMinerHelper.createFlushTable(OracleConnection connection) |
(package private) static void |
LogMinerHelper.createLogMiningHistoryObjects(OracleConnection connection,
String historyTableName) |
(package private) static void |
LogMinerHelper.deleteOutdatedHistory(OracleConnection connection,
long retention) |
static void |
LogMinerHelper.endMining(OracleConnection connection)
This call completes LogMiner session.
|
private static void |
LogMinerHelper.executeCallableStatement(OracleConnection connection,
String statement) |
(package private) static void |
LogMinerHelper.flushLogWriter(OracleConnection connection,
io.debezium.jdbc.JdbcConfiguration config,
boolean isRac,
Set<String> racHosts)
It is critical to flush LogWriter(s) buffer
|
static Map<String,BigInteger> |
LogMinerHelper.getArchivedLogFilesForOffsetScn(OracleConnection connection,
Long offsetScn,
Duration archiveLogRetention)
This method returns all archived log files for one day, containing given offset scn
|
(package private) static Set<String> |
LogMinerHelper.getCurrentRedoLogFiles(OracleConnection connection,
LogMinerMetrics metrics)
This method query the database to get CURRENT online redo log file(s).
|
static long |
LogMinerHelper.getCurrentScn(OracleConnection connection)
This method returns current SCN from the database
|
static String |
LogMinerHelper.getDatabaseMaxScnValue(OracleConnection connection)
Get the database maximum SCN value
|
(package private) static long |
LogMinerHelper.getEndScn(OracleConnection connection,
long startScn,
LogMinerMetrics metrics,
int defaultBatchSize)
This method returns next SCN for mining and also updates MBean metrics
We use a configurable limit, because the larger mining range, the slower query from LogMiner content view.
|
(package private) static long |
LogMinerHelper.getFirstOnlineLogScn(OracleConnection connection,
Duration archiveLogRetention)
This method fetches the oldest SCN from online redo log files
|
static Optional<Long> |
LogMinerHelper.getLastScnToAbandon(OracleConnection connection,
Long offsetScn,
Duration transactionRetention)
This method calculates SCN as a watermark to abandon long lasting transactions.
|
static Map<String,String> |
LogMinerHelper.getMap(OracleConnection connection,
String query,
String nullReplacement) |
static Map<String,BigInteger> |
LogMinerHelper.getOnlineLogFilesForOffsetScn(OracleConnection connection,
Long offsetScn)
This method returns all online log files, starting from one which contains offset SCN and ending with one containing largest SCN
18446744073709551615 on Ora 19c is the max value of the nextScn in the current redo todo replace all Long with BigInteger for SCN
|
private static int |
LogMinerHelper.getRedoLogGroupSize(OracleConnection connection)
get size of online REDO groups
|
private static Map<String,String> |
LogMinerHelper.getRedoLogStatus(OracleConnection connection)
This fetches online redo log statuses
|
static Object |
LogMinerHelper.getSingleResult(OracleConnection connection,
String query,
LogMinerHelper.DATATYPE type) |
private static int |
LogMinerHelper.getSwitchCount(OracleConnection connection)
This fetches REDO LOG switch count for the last day
|
(package private) static Duration |
LogMinerHelper.getTimeDifference(OracleConnection connection)
Calculate time difference between database and connector timers.
|
private void |
LogMinerStreamingChangeEventSource.initializeRedoLogsForMining(OracleConnection connection,
boolean postEndMiningSession,
Duration archiveLogRetention) |
(package private) static boolean |
LogMinerHelper.isTableSupplementalLogDataAll(OracleConnection connection,
io.debezium.relational.TableId tableId) |
private static void |
LogMinerHelper.logDatabaseState(OracleConnection connection)
Helper method that will dump the state of various critical tables used by the LogMiner implementation
to derive state about which logs are to be mined and processed by the Oracle LogMiner session.
|
private static void |
LogMinerHelper.logQueryResults(OracleConnection connection,
String query)
Helper method that dumps the result set of an arbitrary SQL query to the connector's logs.
|
static void |
LogMinerHelper.removeLogFilesFromMining(OracleConnection conn)
This method removes all added log files from mining
|
private static DmlParser |
LogMinerQueryResultProcessor.resolveParser(OracleConnectorConfig connectorConfig,
OracleConnection connection) |
static void |
LogMinerHelper.setRedoLogFilesForMining(OracleConnection connection,
Long lastProcessedScn,
Duration archiveLogRetention)
This method substitutes CONTINUOUS_MINE functionality
|
(package private) static void |
LogMinerHelper.startLogMining(OracleConnection connection,
Long startScn,
Long endScn,
OracleConnectorConfig.LogMiningStrategy strategy,
boolean isContinuousMining,
LogMinerMetrics metrics)
This method builds mining view to query changes from.
|
private static void |
LogMinerHelper.updateRedoLogMetrics(OracleConnection connection,
LogMinerMetrics metrics,
Set<String> fileNames)
This is to update MBean metrics associated with REDO LOG groups
|
| Constructor and Description |
|---|
LogMinerQueryResultProcessor(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
OracleConnection jdbcConnection,
OracleConnectorConfig connectorConfig,
LogMinerMetrics metrics,
TransactionalBuffer transactionalBuffer,
OracleOffsetContext offsetContext,
OracleDatabaseSchema schema,
io.debezium.pipeline.EventDispatcher<io.debezium.relational.TableId> dispatcher,
io.debezium.util.Clock clock,
HistoryRecorder historyRecorder) |
LogMinerStreamingChangeEventSource(OracleConnectorConfig connectorConfig,
OracleOffsetContext offsetContext,
OracleConnection jdbcConnection,
io.debezium.pipeline.EventDispatcher<io.debezium.relational.TableId> dispatcher,
io.debezium.pipeline.ErrorHandler errorHandler,
io.debezium.util.Clock clock,
OracleDatabaseSchema schema,
OracleTaskContext taskContext,
io.debezium.config.Configuration jdbcConfig) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.