본문으로 건너뛰기
최종 수정: 에

rowsets

Overview​

Returns basic information about the Rowset.

Database​

information_schema

Table Information​

Column NameTypeDescription
BACKEND_IDbigintThe ID of the Backend, which is a unique identifier for the Backend.
ROWSET_IDvarchar(64)The ID of the Rowset, which is a unique identifier for the Rowset.
TABLET_IDbigintThe ID of the Tablet, which is a unique identifier for the Tablet.
ROWSET_NUM_ROWSbigintThe number of data rows contained in the Rowset.
TXN_IDbigintThe transaction ID that wrote to the Rowset.
NUM_SEGMENTSbigintThe number of Segments contained in the Rowset.
START_VERSIONbigintThe starting version number of the Rowset.
END_VERSIONbigintThe ending version number of the Rowset.
INDEX_DISK_SIZEbigintThe storage space for indexes within the Rowset.
DATA_DISK_SIZEbigintThe storage space for data within the Rowset.
CREATION_TIMEdatetimeThe creation time of the Rowset.
NEWEST_WRITE_TIMESTAMPdatetimeThe most recent write time of the Rowset.
SCHEMA_VERSIONintThe Schema version number of the table corresponding to the Rowset data.
COMMIT_TSOvarchar(64)Rowset TSO range as [start_tso-end_tso] (dev only). The default is [-1--1] when no range is recorded.

COMMIT_TSO usage​

This column is a string: do not sort it as a single BIGINT or compare it directly with numeric -1. An absent range appears as [-1--1]; a single commit value is also displayed as a start/end range.

SELECT BACKEND_ID, ROWSET_ID, COMMIT_TSO
FROM information_schema.rowsets
WHERE COMMIT_TSO <> '[-1--1]'
LIMIT 20;

The result lists rowsets with recorded ranges, or is empty if no ranges have been recorded. See TSO for status inspection and configuration.