We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


ANALYZE_STATISTICS and ANALYZE_STATISTICS_PARTITION — Vertica Forum

ANALYZE_STATISTICS and ANALYZE_STATISTICS_PARTITION

dimitri_pdimitri_p
edited March 21 in General Discussion

I have a huge partitioned table that I've been ANALYZE_STATISTICS() for regularly. Recently, I decided to switch to hourly ANALYZE_STATISTICS_PARTITION for new partitions only.

In order to have a full statistics coverage, do I need to run ANALYZE_STATISTICS_PARTITION on every single existing partition once to sort of create a statistics baseline, before I switch to hourly ANALYZE_STATISTICS_PARTITION?

Is having statistics on each individual partition in a partitioned table equivalent to having run analyze_statistics() on the entire table?

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file