Introduction to obcdc_tailf
obcdc_tailf is a simple binary file that calls obcdc to generate incremental data of OceanBase Database. It exports the data obtained from obcdc to a file or the screen in a specified format. You can check the incremental transaction data of OceanBase Database by using obcdc.
Use obcdc_tailf
Startup options
You can run the ./obcdc_tailf -h command to view the startup options of obcdc_tailf and their description. Ensure that the runtime environment can connect to all required dynamic libraries.
| Option | Independent | Description |
|---|---|---|
| -f | N | The path of the obcdc configuration file. Enter the configuration file path after this option. For more information about the configuration file, see obcdc parameters. |
| -d | Y | Specifies to run obcdc in the background. |
| -D | N | The path of the output data file. Enter the data file path after this option. |
| -h | Y | Specifies to generate the help information. |
| -H | Y | The path for generating the output security timestamp information. Enter the path of the security timestamp file after this option. |
| -o | Y | The screen output data. |
| -O | Y | Specifies to generate only the hexadecimal data, such as NCHAR, NVARCHAR, and VARCHAR data. In this case, other columns are not generated. |
| -V | Y | Specifies to enable the verification mode and generate the unique ID of the row data. |
| -v | Y | Specifies to generate the version information. |
| -t | N | Specifies to use the timestamp in seconds to start obcdc. The content following this option is the value of the timestamp. |
| -T | N | Specifies to use the timestamp in milliseconds to start obcdc. The content following this option is the value of the timestamp. |
| -R | N | The running time. |
| -x | Y | Specifies to additionally generate hexadecimal data for some columns. |
| -m | Y | Specifies to generate MD5 values for columns of the LOB type. |
| -i | Y | Specifies to generate the details (the hidden primary key information) of LogRecord. |
| -c | Y | Specifies to generate only the checksum value (crc32 algorithm) of DML transactions. |