-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Optimize] Add session variable max_fetch_remote_schema_tablet_count
to limit tablets size for remote schema fetch
#37217
Conversation
…` to limit tablets size for remote schema fetch Describing tables with many partitions and tablets can cause high CPU usage. To mitigate this, we estimate and pick sample tablets for schema fetch, reducing the overall cost.
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: 39529 ms
|
TPC-DS: Total hot run time: 173369 ms
|
ClickBench: Total hot run time: 30.93 s
|
fe/fe-core/src/main/java/org/apache/doris/catalog/OlapTable.java
Outdated
Show resolved
Hide resolved
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 anyone and no changes requested. |
run buildall |
TPC-H: Total hot run time: 39827 ms
|
TPC-DS: Total hot run time: 173779 ms
|
ClickBench: Total hot run time: 30.34 s
|
run buildall |
TPC-H: Total hot run time: 40098 ms
|
TPC-DS: Total hot run time: 172821 ms
|
ClickBench: Total hot run time: 30.37 s
|
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. |
…` to limit tablets size for remote schema fetch (apache#37217) Describing tables with many partitions and tablets can cause high CPU usage. To mitigate this, we estimate and pick sample tablets for schema fetch, reducing the overall cost.
…` to limit tablets size for remote schema fetch (apache#37217) Describing tables with many partitions and tablets can cause high CPU usage. To mitigate this, we estimate and pick sample tablets for schema fetch, reducing the overall cost.
Describing tables with many partitions and tablets can cause high CPU usage. To mitigate this, we estimate and pick sample tablets for schema fetch, reducing the overall cost.