Created
October 24, 2022 20:46
-
-
Save dsouzajude/402ce25a75a623e40de78d47943d28e8 to your computer and use it in GitHub Desktop.
Run VACUUM ANALYZE to remove bloat and get better query plans
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Analyzes the contents of a database’s tables and collects statistics to generate better query plans | |
ANALYZE VERBOSE; | |
-- Optional manually vacuume to remove bloat | |
VACUUM VERBOSE ANALYZE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment