-
Notifications
You must be signed in to change notification settings - Fork 283
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
Updated scaling.md for revised scaling docs #1516
Conversation
Updated autoscaling docs
This is an automated comment for commit ff1ee91 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
|
Made minor edits.
Although I was not listed as a reviewer, I took a look and it appears to be an improvement. Thank you for working on this @aashishkohli ! |
docs/en/cloud/manage/scaling.md
Outdated
[ClickHouse Cloud API](/docs/en/cloud/manage/api/services-api-reference.md) to preemptively scale up your service to handle the spike and scale it down once the demand subsides. To understand current service size and the number of replicas you can run the query below | ||
|
||
``` | ||
SELECT hostname(), getSetting('max_threads'), formatReadableSize(getSetting('max_memory_usage')) |
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.
Should be replace by:
SELECT *
FROM clusterAllReplicas('default', view(
SELECT
hostname() AS server,
getSetting('max_threads') as cpu_cores,
formatReadableSize(getSetting('max_memory_usage')) as memory
FROM system.one
))
ORDER BY server ASC
SETTINGS skip_unavailable_shards = 1
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.
Thanks! I'll update this
Updated autoscaling docs