Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Usage specification recommendations
INFORMATION_SCHEMA.TDSTORE_COMPACTION_HISTORY is used to display historical Compaction tasks in TDStore.Field Name | Type | Description |
THREAD_ID | VARCHAR(513) | The thread ID that performs the Compaction task. |
CF_NAME | VARCHAR(513) | The ColumnFamily name that the Compaction task belongs to. |
INPUT_LEVEL | INT | The hierarchy level of Compaction input files. |
OUTPUT_LEVEL | INT | The level of output files of Compaction. |
INPUT_FILES | VARCHAR(513) | The name of input files of Compaction. |
OUTPUT_FILES | VARCHAR(513) | The name of output files of Compaction. |
COMPACTION_REASON | VARCHAR(513) | The reason for triggering Compaction. |
START_TIMESTAMP | BIGINT | Start time of Compaction. |
END_TIMESTAMP | BIGINT | End time of Compaction. |
INPUT_COMPACTION_BYTES | BIGINT | Total volume of input data of Compaction. |
OUTPUT_COMPACTION_BYTES | BIGINT | Total volume of output data of Compaction. |
INPUT_FILE_COUNT | INT | Number of input files for Compaction. |
OUTPUT_FILE_COUNT | INT | Number of output files for Compaction. |
CPU_MICROS | BIGINT | The CPU time consumed by Compaction, in ms. |
NODE_NAME | VARCHAR(513) | Name of the SQLEngine node. |
tdsql>select * from TDSTORE_COMPACTION_HISTORY\\G*************************** 1. row ***************************THREAD_ID: 7f77f1fff700CF_NAME: user_regionINPUT_LEVEL: 1OUTPUT_LEVEL: 2INPUT_FILES: 000212.sstOUTPUT_FILES: 000232.sstCOMPACTION_REASON: LevelMaxLevelSizeSTART_TIMESTAMP: 1722946987END_TIMESTAMP: 1722946988INPUT_COMPACTION_BYTES: 33818511OUTPUT_COMPACTION_BYTES: 16227005INPUT_FILE_COUNT: 1OUTPUT_FILE_COUNT: 1CPU_MICROS: 420796NODE_NAME: node-Performance-1505-9_109_173_22-001*************************** 2. row ***************************THREAD_ID: 7f77f1fff700CF_NAME: user_regionINPUT_LEVEL: 1OUTPUT_LEVEL: 2INPUT_FILES: 000071.sstOUTPUT_FILES: 000234.sstCOMPACTION_REASON: LevelMaxLevelSizeSTART_TIMESTAMP: 1722946988END_TIMESTAMP: 1722946988INPUT_COMPACTION_BYTES: 33818511OUTPUT_COMPACTION_BYTES: 16226568INPUT_FILE_COUNT: 1OUTPUT_FILE_COUNT: 1CPU_MICROS: 426266NODE_NAME: node-Performance-1505-9_109_173_22-001*************************** 3. row ***************************THREAD_ID: 7f77f1fff700CF_NAME: user_regionINPUT_LEVEL: 1OUTPUT_LEVEL: 2INPUT_FILES: 000220.sstOUTPUT_FILES: 000235.sstCOMPACTION_REASON: LevelMaxLevelSizeSTART_TIMESTAMP: 1722946988END_TIMESTAMP: 1722946989INPUT_COMPACTION_BYTES: 33818511OUTPUT_COMPACTION_BYTES: 16226904INPUT_FILE_COUNT: 1OUTPUT_FILE_COUNT: 1CPU_MICROS: 415835NODE_NAME: node-Performance-1505-9_109_173_22-001
피드백