Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

有没有查询单表占用空间大小的方法?#4755

Eric-xiaxl started this conversation inGeneral
Discussion options

1.mysql采用下面方法查询:
select DATA_LENGTH from INFORMATION_SCHEMA.tables where table_schema = '数据库名' and table_name = '表名';

2.oracle采用下面方法查询:
SELECT segment_name AS TABLENAME, BYTES B, BYTES / 1024 KB, BYTES / 1024 / 1024 MB FROM user_segments where segment_name = upper('表名');

但是TDEngine能有什么办法查询单表占用空间大小,我找不到,求帮助。

You must be logged in to vote

Replies: 1 comment

Comment options

暂时没有。TDengine根据 keep 时间自动管理数据存储,这个功能不是特别需要。

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@Eric-xiaxl@sangshuduo
Converted from issue

This discussion was converted from issue #4755 on December 29, 2020 07:21.


[8]ページ先頭

©2009-2025 Movatter.jp