[DocDB] Optimize 2nd phase of block-based sampling for ANALYZE #25579
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/low
Low priority
Uh oh!
There was an error while loading. Please reload this page.
Jira Link: DB-14834
Description
Currently on perf test env it takes ~47 seconds on ~135GB colocated table with 200M rows.
First phase for collecting sample blocks takes ~8 seconds and second phase which collects rows from sample blocks for the final sample takes ~37 seconds.
We need to improve 2nd phase performance to reduce ANALYZE query time further.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: