-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Enhancement] show persistent index disk cost in be_tablets (#35615)
We can't get the persistent index disk usage from system table now. Add each tablet's persistent index disk usage `INDEX_DISK` to `be_tablets`. ``` mysql> select * from be_tablets where tablet_id = 10121\G *************************** 1. row *************************** BE_ID: 10004 TABLE_ID: 10119 PARTITION_ID: 10118 TABLET_ID: 10121 NUM_VERSION: 4 MAX_VERSION: 6 MIN_VERSION: 4 NUM_ROWSET: 1 NUM_ROW: 5 DATA_SIZE: 710 INDEX_MEM: 119 CREATE_TIME: 1700701817 STATE: RUNNING TYPE: PRIMARY DATA_DIR: /home/disk5/luoyixin/starrocks-4/starrocks/output/be/storage SHARD_ID: 48 SCHEMA_HASH: 1872891624 INDEX_DISK: 152 1 row in set (0.02 sec) ``` (cherry picked from commit 956f397)
- Loading branch information
1 parent
f169fdd
commit 22d82a4
Showing
5 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters