-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Improvement](coldheat) add statement to show objects which use storage policy #35741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
TPC-H: Total hot run time: 42043 ms |
|
run feut |
|
run performance |
1 similar comment
|
run performance |
TPC-H: Total hot run time: 41640 ms |
TPC-DS: Total hot run time: 169600 ms |
ClickBench: Total hot run time: 30.57 s |
|
run buildall |
TPC-H: Total hot run time: 41574 ms |
TPC-DS: Total hot run time: 169141 ms |
ClickBench: Total hot run time: 30.4 s |
nextdreamblue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
replace screenshot with text for search engine and git commit message friendly |
done |
lide-reed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…e policy (#35741) ``` mysql> show storage policy using for test_policy; +-------------+----------+---------------------------------+-----------------+ | PolicyName | Database | Table | Partitions | +-------------+----------+---------------------------------+-----------------+ | test_policy | db1 | target_test_1 | ALL | | test_policy | db1 | cooldown_test | ALL | | test_policy | db1 | partition_test_2 | p201701 | | test_policy | db1 | partition_with_storage_policy_1 | p201701 | | test_policy | db1 | partition_test_1 | p201701,p201702 | | test_policy | db2 | db2_test_1 | ALL | +-------------+----------+---------------------------------+-----------------+ 6 rows in set (0.02 sec) mysql> show storage policy using; +-----------------------+-----------------------------------------+----------------------------------------+-----------------+ | PolicyName | Database | Table | Partitions | +-----------------------+-----------------------------------------+----------------------------------------+-----------------+ | test_storage_policy | regression_test_cold_heat_separation_p2 | table_with_storage_policy_1 | ALL | | test_storage_policy | regression_test_cold_heat_separation_p2 | partition_with_multiple_storage_policy | p201701 | | test_storage_policy_2 | regression_test_cold_heat_separation_p2 | partition_with_multiple_storage_policy | p201702 | | test_storage_policy_2 | regression_test_cold_heat_separation_p2 | table_with_storage_policy_2 | ALL | | test_policy | db1 | target_test_1 | ALL | | test_policy | db1 | cooldown_test | ALL | | test_policy | db1 | partition_test_2 | p201701 | | test_policy | db1 | partition_with_storage_policy_1 | p201701 | | test_policy | db1 | partition_test_1 | p201701,p201702 | | test_policy | db2 | db2_test_1 | ALL | +-----------------------+-----------------------------------------+----------------------------------------+-----------------+ 10 rows in set (0.01 sec) ``` docs: apache/doris-website#701
…e policy (apache#35741) ``` mysql> show storage policy using for test_policy; +-------------+----------+---------------------------------+-----------------+ | PolicyName | Database | Table | Partitions | +-------------+----------+---------------------------------+-----------------+ | test_policy | db1 | target_test_1 | ALL | | test_policy | db1 | cooldown_test | ALL | | test_policy | db1 | partition_test_2 | p201701 | | test_policy | db1 | partition_with_storage_policy_1 | p201701 | | test_policy | db1 | partition_test_1 | p201701,p201702 | | test_policy | db2 | db2_test_1 | ALL | +-------------+----------+---------------------------------+-----------------+ 6 rows in set (0.02 sec) mysql> show storage policy using; +-----------------------+-----------------------------------------+----------------------------------------+-----------------+ | PolicyName | Database | Table | Partitions | +-----------------------+-----------------------------------------+----------------------------------------+-----------------+ | test_storage_policy | regression_test_cold_heat_separation_p2 | table_with_storage_policy_1 | ALL | | test_storage_policy | regression_test_cold_heat_separation_p2 | partition_with_multiple_storage_policy | p201701 | | test_storage_policy_2 | regression_test_cold_heat_separation_p2 | partition_with_multiple_storage_policy | p201702 | | test_storage_policy_2 | regression_test_cold_heat_separation_p2 | table_with_storage_policy_2 | ALL | | test_policy | db1 | target_test_1 | ALL | | test_policy | db1 | cooldown_test | ALL | | test_policy | db1 | partition_test_2 | p201701 | | test_policy | db1 | partition_with_storage_policy_1 | p201701 | | test_policy | db1 | partition_test_1 | p201701,p201702 | | test_policy | db2 | db2_test_1 | ALL | +-----------------------+-----------------------------------------+----------------------------------------+-----------------+ 10 rows in set (0.01 sec) ``` docs: apache/doris-website#701
docs: apache/doris-website#701