Last active
March 18, 2020 10:28
-
-
Save b4tman/0eff145d010b91ffde46a650fcb6523e to your computer and use it in GitHub Desktop.
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
SELECT relname, pg_size_pretty(round(relpages*8*1024, 0)) as size FROM pg_class ORDER BY relpages DESC LIMIT 10 | |
LOAD 'online_analyze'; | |
SET "onlyne_analyze.enable" TO 'on'; | |
SET "onlyne_analyze.table_type" = 'temporary'; | |
SET "online_analyze.verbose" = 'off'; | |
CREATE EXTENSION pg_prewarm; | |
SELECT pg_prewarm('config'); | |
SELECT pg_prewarm('dbschema'); | |
SELECT pg_prewarm('files'); | |
SELECT pg_prewarm('params'); | |
SELECT pg_prewarm('v8users'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment