5.12. Захват изменения данных (CDC, Change Data Capture) #

ora2pgpro не допускает импорт данных с применением изменений после первого импорта, но указав параметр --cdc_ready, можно экспортировать данные со времени экспорта таблицы. Все SCN для таблиц по умолчанию записываются в файл TABLES_SCN.log, каталог хранения можно задать в параметре -C|--cdc_file.

Эти SCN для каждой таблицы, записанные во время экспорта COPY или INSERT, можно экспортировать с помощью утилиты CDC. Формат записей в файле: tablename:SCN.

5.12. Change Data Capture (CDC) #

ora2pgpro does not allow to import data and to only apply changes after the first import. But you can use the --cdc_ready option to export data with registration of the SCN at the time of the table export. All SCN per tables are written to a file named TABLES_SCN.log by default, it can be changed using -C|--cdc_file option.

These SCN registered per table during COPY or INSERT export can be used with a CDC tool. The format of the file is tablename:SCN per line.

FAQ