cockroachdb / cockroachdb/cockroach

stats: add memory accounting and configurability for misestimate spans

Open
#168,078 0 comments 0 reactions 0 assignees View on GitHub
A-sql-table-stats C-cleanup T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

The initial prototype for "fix misestimates" automatic stats doesn't perform memory accounting for misestimate `roachpb.Spans` we keep track of - we should add that. In turn, this will allow us to make some currently-hard-coded constants configurable based on the cluster settings.

Jira issue: CRDB-62776

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.