pingcap / pingcap/tidb

Enhance Global Statistics merging

Open
#66,220 1 comment 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
- [ ] Create and get an approved design of sample based Global Stats Merge - #66960
- [ ] Eliminate O(P^2) Histogram Lookup in TopN Merge - #66221 (closed)
- [ ] Fix Histogram Repeat Recalculation - #66221 (closed)
- [ ] Pass Partition Stats (Samples) Directly to Global Merge for both TopN and Buckets (Optional, Higher Risk)
- [ ] Full table ANALYZE #66289 #
- [ ] New system table for storing per partition samples #66303
- [ ] Prune and save per partition samples and FMSketch (if needed) to new system table #66317
- [ ] single partition ANALYZE recalculation of Global Stats, using saved per partition samples for non newly analyzed partitions

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.