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

sql: bump default value for sql.stats.persisted_rows.max #69667

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

Azhng
Copy link
Contributor

@Azhng Azhng commented Aug 31, 2021

Previsouly, sql.stats.persisted_rows.max has a default value
of 10,000 rows. This is significantly lower than even the
in-memory fingerprint count limits (100,000 entries).
This commit bumps the default value for sql.stats.persisted_rows.max
to 1,000,000 rows. With average row size = 1 KiB, this is equivalent
of 1 GiB limit for system.statement_statistics and
system.transaction_statistics tables respectively.

Release justification: Bug fixes and low-risk updates to new
functionality

Release note (sql change): sql.stats.persisted_rows.max's default
value is now 1,000,000.

@Azhng Azhng requested a review from a team August 31, 2021 21:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Previsouly, sql.stats.persisted_rows.max has a default value
of 10,000 rows. This is significantly lower than even the
in-memory fingerprint count limits (100,000 entries).
This commit bumps the default value for sql.stats.persisted_rows.max
to 1,000,000 rows. With average row size = 1 KiB, this is equivalent
of 1 GiB limit for system.statement_statistics and
system.transaction_statistics tables respectively.

Release justification: Bug fixes and low-risk updates to new
functionality

Release note (sql change): sql.stats.persisted_rows.max's default
value is now 1,000,000.
@Azhng
Copy link
Contributor Author

Azhng commented Aug 31, 2021

TFTR!

bors r=maryliag

@craig
Copy link
Contributor

craig bot commented Sep 1, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Sep 1, 2021

Build succeeded:

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

Successfully merging this pull request may close these issues.

None yet

3 participants