INFORMATION_SCHEMA.TDSTORE_COLUMNAR_COMPACTION_INFO is used to record the execution process and results of columnar compaction and drop table tasks.Field Name | Type | Description |
node_name | VARCHAR | The node name that executes the columnar compaction. |
job_description | VARCHAR | Description of the columnar compaction task: Regular compaction drop table |
event_type | VARCHAR | type of the columnar compaction task (TD_EVENT_COLUMNAR_COMPACT). |
table_name | VARCHAR | The table name on which columnar compaction is performed. |
tx_id | INT | The transaction ID of the columnar transaction on which columnar compaction is performed. |
tx_seq_num | INT | The sequence number corresponding to the oldest snapshot of the columnar metadata database obtained after the columnar transaction for columnar compaction is committed. |
ret | VARCHAR | Return code of the task for columnar compaction. |
compacted_files | VARCHAR | Reclaimed file list of the columnar compaction task. |
new_files | VARCHAR | File list generated by the columnar compaction task. |
begin_time | VARCHAR | Start time of the columnar compaction task. |
cost_us | INT | Total time taken by the columnar compaction task. |
detailed_info | VARCHAR | Time taken for each step in the columnar compaction task. |
tdsql3_sys_local@localhost [test_base]> SELECT * FROM information_schema.TDSTORE_COLUMNAR_COMPACTION_INFO\\G*************************** 1. row ***************************node_name: node-run-test_reboot-001job_description: columnar compactionevent_type: TD_EVENT_COLUMNAR_COMPACTtable_name: test_tabletx_id: 12tx_seq_num: 13ret: 0(EC_OK)compacted_files: 10026_2, 10026_1new_files: 3begin_time: 2025-04-22 18:51:49 215cost_us: 4910detailed_info: [COLUMNAR_FILE_DEFRAGMENTATION: <BEGIN: 4695us>, <REWRITE_FILES: 85us>, <META_MODIFICATION: 123us>, <REMOVE_PKS: 0us>, <COMMIT: 6us>]*************************** 2. row ***************************node_name: node-run-test_reboot-001job_description: columnar compactionevent_type: TD_EVENT_COLUMNAR_COMPACTtable_name: test_tabletx_id: 22tx_seq_num: 28ret: 0(EC_OK)compacted_files: 10026_3, 10026_5, 10026_4new_files: 6begin_time: 2025-04-22 18:52:19 235cost_us: 6800detailed_info: [COLUMNAR_FILE_DEFRAGMENTATION: <BEGIN: 6563us>, <REWRITE_FILES: 86us>, <META_MODIFICATION: 141us>, <REMOVE_PKS: 0us>, <COMMIT: 7us>]2 rows in set (0.01 sec)
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback