tencent cloud

TDSQL Boundless

TDSTORE_ACTIVE_COMPACTION_STATS

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-02-10 11:06:30

Function

INFORMATION_SCHEMA.TDSTORE_ACTIVE_COMPACTION_STATS is used to display active Compaction tasks in TDStore.

Field Description

Field Name
Type
Description
THREAD_ID
BIGINT
thread ID.
CF_NAME
VARCHAR(513)
ColumnFamily name.
INPUT_LEVEL
INT
The hierarchy level of input files for Compaction.
INPUT_FILES
VARCHAR(513)
The name of input files for Compaction.
COMPACTION_REASON
VARCHAR(513)
The trigger reason for Compaction.
NODE_NAME
VARCHAR(513)
name of the SQLEngine node.

Examples

tdsql>select * from tdstore_active_compaction_stats\\G
*************************** 1. row ***************************
THREAD_ID: 140352025515776
CF_NAME: user_region
INPUT_LEVEL: 2
INPUT_FILES: 022050.sst,022052.sst,022055.sst,022058.sst,022060.sst,022063.sst,022066.sst,022068.sst,022071.sst,022074.sst,022076.sst,022079.sst,022080.sst,022081.sst,022082.sst,022083.sst,022085.sst,022088.sst,022090.sst,022092.sst,022095.sst,022096.sst,022098.sst,016751.sst,018033.sst,018035.sst,018039.sst,018042.sst,018043.sst,018032.sst,018038.sst,020981.sst,020987.sst,020994.sst,020999.sst,021006.sst,021012.sst,021019.sst,021026.sst,021033.sst,021043.sst,018302.sst,018308.sst,018312.sst,018318.sst,018325.sst,018333.
COMPACTION_REASON: ManualCompaction
NODE_NAME: node-Performance-1508-9_109_173_22-001
1 row in set (0.00 sec)

Ajuda e Suporte

Esta página foi útil?

comentários