Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
INFORMATION_SCHEMA.TDSTORE_SST_PROPS is used to display the properties of SSTables in TDStore.Field Name | Type | Description |
DB_TYPE | VARCHAR(193) | The SSTable belongs to the RocksDB type, supporting data_db, multi_raft_db, and monitor_info_db. |
SST_NAME | VARCHAR(193) | The name of the SSTable. |
COLUMN_FAMILY | INT | The corresponding ColumnFamily ID for the SSTable. |
LEVEL | INT | The level of the SSTable. |
MAX_KEY | VARCHAR(193) | The largest Key in the SSTable. |
MIN_KEY | VARCHAR(193) | The smallest Key in the SSTable. |
NUM_DATA_BLOCKS | BIGINT | The number of data blocks in the SSTable. |
NUM_ENTRIES | BIGINT | The number of Entries in the SSTable. |
NUM_DELETIONS | BIGINT | The number of deletions in the SSTable. |
RAW_KEY_SIZE | BIGINT | The total size of keys in the SSTable before compression, in bytes. |
RAW_VALUE_SIZE | BIGINT | The total size of Values in the SSTable before compression, in bytes. |
DATA_BLOCK_SIZE | BIGINT | The total size of data blocks in the SSTable, in bytes. |
INDEX_BLOCK_SIZE | BIGINT | The total size of index blocks in the SSTable, in bytes. |
INDEX_PARTITIONS | INT | The number of index partitions in the SSTable. |
TOP_LEVEL_INDEX_SIZE | BIGINT | The size of the top-level index in the SSTable, in bytes. |
FILTER_BLOCK_SIZE | BIGINT | The total size of filter blocks in the SSTable, in bytes. |
COMPRESSION_ALGO | VARCHAR(193) | The compression algorithm used by the SSTable. |
CREATION_TIME | BIGINT | The creation time of the SSTable. |
OLDEST_KEY_TIME | BIGINT | The creation time of the oldest Key in the SSTable. |
FILTER_POLICY | VARCHAR(193) | The name of the Filter used by the SSTable. |
NODE_NAME | VARCHAR(513) | Name of the SQLEngine node hosting the SSTable. |
tdsql > select * from tdstore_sst_props\\G*************************** 1. row ***************************DB_TYPE: data_dbSST_NAME: 000019.sstCOLUMN_FAMILY: 1LEVEL: 0MAX_KEY: 0000011E00000001MIN_KEY: 0000000100000001NUM_DATA_BLOCKS: 145NUM_ENTRIES: 54974NUM_DELETIONS: 794RAW_KEY_SIZE: 2256766RAW_VALUE_SIZE: 8356920DATA_BLOCK_SIZE: 9729222INDEX_BLOCK_SIZE: 5047INDEX_PARTITIONS: 0TOP_LEVEL_INDEX_SIZE: 0FILTER_BLOCK_SIZE: 0COMPRESSION_ALGO: NULLCREATION_TIME: 1724913962OLDEST_KEY_TIME: 1724913362FILTER_POLICY: NULLNODE_NAME: node-1-001*************************** 2. row ***************************DB_TYPE: data_dbSST_NAME: 000020.sstCOLUMN_FAMILY: 2LEVEL: 0MAX_KEY: 000027121E711E951C471E95091CAA1DAA1CAA1DB9091E95020B1E951E33091EB51DB91C7A1C47091E951CAA020B1D77091CAA1DB90000000004MIN_KEY: 000027121C8F1D321C471CF4091DB91DDD1E711E95091D321C7A1E710277091C471D771D771DDD091EF5020B1D32020B091E71020B1E951C47091C601D771CAA1E7108NUM_DATA_BLOCKS: 1NUM_ENTRIES: 6NUM_DELETIONS: 0RAW_KEY_SIZE: 477RAW_VALUE_SIZE: 278DATA_BLOCK_SIZE: 646INDEX_BLOCK_SIZE: 28INDEX_PARTITIONS: 0TOP_LEVEL_INDEX_SIZE: 0FILTER_BLOCK_SIZE: 69COMPRESSION_ALGO: NULLCREATION_TIME: 1724913962OLDEST_KEY_TIME: 1724913362FILTER_POLICY: NULLNODE_NAME: node-1-001*************************** 3. row ***************************DB_TYPE: data_dbSST_NAME: 000011.sstCOLUMN_FAMILY: 3LEVEL: 0MAX_KEY: 0000000000000003000000011DMIN_KEY: 00000000000000010100002711NUM_DATA_BLOCKS: 1NUM_ENTRIES: 165NUM_DELETIONS: 0RAW_KEY_SIZE: 3465RAW_VALUE_SIZE: 2310DATA_BLOCK_SIZE: 4481INDEX_BLOCK_SIZE: 28INDEX_PARTITIONS: 0TOP_LEVEL_INDEX_SIZE: 0FILTER_BLOCK_SIZE: 0COMPRESSION_ALGO: NULLCREATION_TIME: 1724913353OLDEST_KEY_TIME: 3FILTER_POLICY: NULLNODE_NAME: node-1-0013 rows in set (0.00 sec)
피드백