| Package | Description |
|---|---|
| io.debezium.connector.oracle | |
| io.debezium.connector.oracle.logminer | |
| io.debezium.connector.oracle.xstream |
| 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(JdbcConnection.Operations operations) |
OracleConnection |
OracleConnection.executeLegacy(String... sqlStatements) |
| Constructor and Description |
|---|
OracleChangeEventSourceFactory(OracleConnectorConfig configuration,
OracleConnection jdbcConnection,
ErrorHandler errorHandler,
EventDispatcher<TableId> dispatcher,
Clock clock,
OracleDatabaseSchema schema,
Configuration jdbcConfig,
OracleTaskContext taskContext) |
OracleDatabaseSchema(OracleConnectorConfig connectorConfig,
SchemaNameAdjuster schemaNameAdjuster,
TopicSelector<TableId> topicSelector,
OracleConnection connection) |
OracleSnapshotChangeEventSource(OracleConnectorConfig connectorConfig,
OracleOffsetContext previousOffset,
OracleConnection jdbcConnection,
OracleDatabaseSchema schema,
EventDispatcher<TableId> dispatcher,
Clock clock,
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(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) |
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,
JdbcConfiguration config,
boolean isRac,
Set<String> racHosts)
It is critical to flush LogWriter(s) buffer
|
static List<LogFile> |
LogMinerHelper.getArchivedLogFilesForOffsetScn(OracleConnection connection,
Scn 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 Scn |
LogMinerHelper.getCurrentScn(OracleConnection connection)
This method returns current SCN from the database
|
(package private) static Scn |
LogMinerHelper.getEndScn(OracleConnection connection,
Scn 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 Scn |
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 List<LogFile> |
LogMinerHelper.getOnlineLogFilesForOffsetScn(OracleConnection connection,
Scn 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
|
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,
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,
Scn lastProcessedScn,
Duration archiveLogRetention)
This method substitutes CONTINUOUS_MINE functionality
|
(package private) static void |
LogMinerHelper.startLogMining(OracleConnection connection,
Scn startScn,
Scn 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(ChangeEventSource.ChangeEventSourceContext context,
OracleConnection jdbcConnection,
OracleConnectorConfig connectorConfig,
LogMinerMetrics metrics,
TransactionalBuffer transactionalBuffer,
OracleOffsetContext offsetContext,
OracleDatabaseSchema schema,
EventDispatcher<TableId> dispatcher,
Clock clock,
HistoryRecorder historyRecorder) |
LogMinerStreamingChangeEventSource(OracleConnectorConfig connectorConfig,
OracleOffsetContext offsetContext,
OracleConnection jdbcConnection,
EventDispatcher<TableId> dispatcher,
ErrorHandler errorHandler,
Clock clock,
OracleDatabaseSchema schema,
OracleTaskContext taskContext,
Configuration jdbcConfig) |
| Modifier and Type | Field and Description |
|---|---|
private OracleConnection |
XstreamStreamingChangeEventSource.jdbcConnection |
| Constructor and Description |
|---|
XstreamStreamingChangeEventSource(OracleConnectorConfig connectorConfig,
OracleOffsetContext offsetContext,
OracleConnection jdbcConnection,
EventDispatcher<TableId> dispatcher,
ErrorHandler errorHandler,
Clock clock,
OracleDatabaseSchema schema) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.