Updated scaling.md for revised scaling docs#1516
Merged
justindeguzman merged 3 commits intomainfrom Sep 18, 2023
Merged
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
|
justindeguzman
approved these changes
Sep 13, 2023
Made minor edits.
Member
|
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 ! |
melvynator
requested changes
Sep 15, 2023
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')) |
Member
There was a problem hiding this comment.
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
Contributor
There was a problem hiding this comment.
Thanks! I'll update this
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated autoscaling docs