Skip to content

Add analyze when performing VACUUM FULL #13

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 2 commits into from
Nov 2, 2017

Conversation

npwalker
Copy link
Contributor

@npwalker npwalker commented Nov 2, 2017

Prior to this commit, we only did a VACUUM FULL. However, this
already requires reading the whole table so it's advantageous to
also analyze the table at the same time. Otherwise autovacuum
will come around and analyze the table later when it could have
already been complted during the VACUUM FULL.

After this commit, we add --analyze to vacuumdb.

Prior to this commit, we only did a VACUUM FULL.  However, this
already requires reading the whole table so it's advantageous to
also analyze the table at the same time.  Otherwise autovacuum
will come around and analyze the table later when it could have
already been complted during the VACUUM FULL.

After this commit, we add --analyze to vacuumdb.
@npwalker npwalker merged commit 6de56fe into master Nov 2, 2017
@npwalker npwalker deleted the add_analyze_to_vacuum_full branch January 7, 2019 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants