Skip to content

Conversation

@mgartner
Copy link
Collaborator

@mgartner mgartner commented Nov 3, 2025

Backport 1/1 commits from #156654.

/cc @cockroachdb/release


The optimizer_use_max_frequency_selectivity session setting has been
added. It is enabled by default. Disabling it reverts the selectivity
improvements added in #151409.

Release note: None


Release justification: Session setting for newly introduced optimizer
behavior.

The `optimizer_use_max_frequency_selectivity` session setting has been
added. It is enabled by default. Disabling it reverts the selectivity
improvements added in cockroachdb#151409.

Release note: None
@mgartner mgartner requested a review from michae2 November 3, 2025 17:09
@mgartner mgartner requested a review from a team as a code owner November 3, 2025 17:09
@blathers-crl
Copy link

blathers-crl bot commented Nov 3, 2025

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-sql-queries SQL Queries Team labels Nov 3, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@mgartner mgartner requested a review from a team November 3, 2025 17:33
Copy link
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@michae2 reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mgartner)

@mgartner mgartner merged commit 8be550a into cockroachdb:release-25.4 Nov 3, 2025
14 of 15 checks passed
@mgartner mgartner deleted the backport25.4-156654 branch November 3, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches T-sql-queries SQL Queries Team target-release-25.4.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants