Skip to content

Add periodic VACUUM ANALYZE for accounts_list materialized view #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2025

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented May 29, 2025

This reclaimed ~400GB of storage on the mainnet DB:

Screenshot 2025-05-30 at 09 14 38

@ptrus ptrus force-pushed the ptrus/feature/vacuum-views branch 4 times, most recently from 8950c8d to 7201242 Compare May 30, 2025 07:08
@ptrus ptrus marked this pull request as ready for review May 30, 2025 07:08
@ptrus ptrus force-pushed the ptrus/feature/vacuum-views branch from 7201242 to 002bb85 Compare May 30, 2025 07:20
This keeps visibility map bits reasonably up to date, allowing index-only scans
to perform efficiently while avoiding contention with frequent refreshes.
@ptrus ptrus force-pushed the ptrus/feature/vacuum-views branch from 002bb85 to 7b3a3e5 Compare May 30, 2025 07:25
@ptrus ptrus self-assigned this May 30, 2025
@ptrus ptrus merged commit 1308e0c into main May 30, 2025
20 checks passed
@ptrus ptrus deleted the ptrus/feature/vacuum-views branch May 30, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant