cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.91k stars 3.78k forks source link

workload: inject stats for workload init tpcc --data-loader IMPORT #64580

Open rytaft opened 3 years ago

rytaft commented 3 years ago

We currently inject pre-calculated statistics for workload fixtures import tpcc, but we do not inject them for workload init tpcc --data-loader IMPORT. Injecting stats helps avoid suboptimal query plans immediately after IMPORT and before the first automatic stats run. Ideally these two approaches should be identical, so we should inject stats in workload init tpcc --data-loader IMPORT too.

Jira issue: CRDB-7140

github-actions[bot] commented 1 year ago

We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!