Skip to content
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

PR #98820 - spanconfig: enable range coalescing by default #16908

Open
cockroach-teamcity opened this issue May 9, 2023 · 0 comments
Open

PR #98820 - spanconfig: enable range coalescing by default #16908

cockroach-teamcity opened this issue May 9, 2023 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented May 9, 2023

Exalate commented:

Related PR: cockroachdb/cockroach#98820
Commit: cockroachdb/cockroach@7a57e7e
Fixes: CRDB-15400
Informs: CRDB-7866


Release note (general change): CockroachDB would previously use separate
ranges for each table, index, or partition. This is no longer true --
it's possible now to have multiple tables, indexes, and partitions to
get packed into the same range. For users with many such "schema
objects", this will reduce the total range count in their clusters. This
is especially true if individual tables, indexes, or partitions are
smaller than the default configured maximum range size (controlled using
zone configs, specifically the range_max_bytes parameter).
We made this change to improve scalability with respect to the number of
schema objects, since the underlying range count now no longer a
bottleneck. Users upgrading from 22.2, once finalizing their upgrade,
may observe a round of range merges and snapshot transfers (to power
said range merges) as a result of this change. If users want to opt-out
of this optimization, they can use the following cluster setting:

SET CLUSTER SETTING spanconfig.storage_coalesce_adjacent.enabled = false;

Jira Issue: DOC-7605

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants