TDSTORE_LARGE_TXN is used to query the running status and resource usage of large transactions at the TDStore layer.Field Name | Type | Description |
replication_group_id | bigint unsigned | The ID of the Replication Group to which the large transaction belongs. |
transaction_id | bigint unsigned | The Transaction ID of the large transaction. |
prepare_ts | bigint unsigned | The prepare timestamp of the large transaction. |
commit_ts | bigint unsigned | The commit timestamp of the large transaction. |
raft_log_index | bigint | The Raft Log Index when the large transaction is committed or rolled back. |
main_cf_id | int | The primary Column Family ID corresponding to the large transaction. |
compacted | int | Whether the data of the large transaction has been compacted. |
rollback | int | Whether the large transaction has been rolled back. |
destroyed | int | Whether the large transaction has been destroyed. |
split_merge_rep_group_ids | varchar(513) | The list of Replication Group IDs from split/merge sources. |
split_merge_raft_log_indexes | varchar(513) | The list of Raft Log Indexes from split/merge sources. |
persisted_raft_log_index | bigint | The Raft Log Index that has been persisted for the large transaction. -1 indicates that all logs have been persisted. |
disk_usage_bytes | bigint unsigned | The disk space occupied by the large transaction, in bytes. |
memory_usage_bytes | bigint unsigned | The memory space occupied by the large transaction, in bytes. |
tdsql> SELECT * FROM information_schema.TDSTORE_LARGE_TXN\\G*************************** 1. row ***************************replication_group_id: 769transaction_id: 29749682641045458prepare_ts: NULLcommit_ts: NULLraft_log_index: NULLmain_cf_id: 2compacted: 0rollback: 0destroyed: 0split_merge_rep_group_ids: []split_merge_raft_log_indexes: []persisted_raft_log_index: 0disk_usage_bytes: 0memory_usage_bytes: 6021041 row in set (0.00 sec)
tdsql> SELECT * FROM information_schema.TDSTORE_LARGE_TXN\\G*************************** 1. row ***************************replication_group_id: 769transaction_id: 29749682641045458prepare_ts: 29749682641045458commit_ts: 29749682641045504raft_log_index: 84main_cf_id: 2compacted: 1rollback: 0destroyed: 0split_merge_rep_group_ids: []split_merge_raft_log_indexes: []persisted_raft_log_index: -1disk_usage_bytes: 3577memory_usage_bytes: 20481 row in set (0.00 sec)
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback