cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

Control Auto Stats Creation

Open pxlogan opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Please describe. Currently, table statistics are automatically generated based on the amount of the table that has been modified. It would be desirable to be able to disable this during certain timeframes or control the frequency of checking for modifications.

pxlogan avatar Dec 03 '20 12:12 pxlogan

Hi @pxlogan, I've guessed the C-ategory of your issue and suitably labeled it. Please re-label if inaccurate.

While you're here, please consider adding an A- label to help keep our repository tidy.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

blathers-crl avatar Dec 03 '20 12:12 blathers-crl

Could you describe how the current controls are insufficient? https://www.cockroachlabs.com/docs/v20.2/cost-based-optimizer.html#controlling-automatic-statistics

awoods187 avatar Feb 11 '21 02:02 awoods187

I think the settings that @awoods187 mentioned above should be sufficient. Please feel free to reopen this if not.

rytaft avatar Feb 24 '21 17:02 rytaft