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

release-22.2: sqlstats: increase default value for deleted rows #97724

Merged
merged 1 commit into from
Feb 27, 2023

Commits on Feb 24, 2023

  1. sqlstats: increase default value for deleted rows

    During the sql stats compaction job, we limit the amount of
    rows being deleted per transaction. We used a default value
    of 1024, but we have been increasinly seeing customer needing
    to increase this value to allow the job to keep up with the
    large amount of data being flushed.
    We have been recommening a value for 20k, so being more
    conservative with the default (plus the changes on #97123
    that won't let tables get in a state with so many rows),
    this commit changes the value to 10k.
    
    Fixes #97528
    
    Release note (sql change): Increase the default value of
    `sql.stats.cleanup.rows_to_delete_per_txn` to 10k, to increase
    efficiency of the cleanup job for sql statistics.
    maryliag committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    fd3f89d View commit details
    Browse the repository at this point in the history