Skip to main content
Last updated on

backend_tablets

Overview

View the information of talbet on Backends.(added by doris 3.0.7)

Database

information_schema

Table Information

Column NameTypeDescription
BE_IDbigintThe ID of the Backend
TABLET_IDbigintThe ID of the Tablet
REPLICA_IDbigintThe ID of the replica
PARTITION_IDbigintThe ID of the partition
TABLET_PATHvarchar(256)The Path of the tablet
TABLET_LOCAL_SIZEbigintThe Size of the tablet on local
TABLET_REMOTE_SIZEbigintThe Size of the tablet on remote
VERSION_COUNTbigintThe number of version
SEGMENT_COUNTbigintThe size of segment
NUM_COLUMNSbigintThe number of columns
ROW_SIZEbigintThe size of row
COMPACTION_SCOREintCompaction Score
COMPRESS_KINDvarchar(256)The Kind of Compression
IS_USEDboolIs the tablet datadir opened
IS_ALTER_FAILEDboolWhether the alter operate failed
CREATE_TIMEdatetimeTablet Create Time
UPDATE_TIMEdatetimeLast Tablet Writted Time
IS_OVERLAPboolWhether tablets overlap

Data size semantics in compute-storage decoupled mode

This table is reported directly by the BE. TABLET_LOCAL_SIZE and TABLET_REMOTE_SIZE are split by where the rowsets actually live: rowsets stored in remote storage are counted into TABLET_REMOTE_SIZE. In compute-storage decoupled mode data lives in remote storage, so the data size shows up in TABLET_REMOTE_SIZE.

Starting from version 4.0.8, SHOW TABLETS and information_schema.partitions are aligned with this table: in decoupled mode, data size is consistently reported as remote size. Before 4.0.8, the three could contradict each other.