Closed KlaasH closed 2 years ago
Check commands to run before doing a long operation: SELECT FROM pg_available_extensions WHERE installed_version IS NOT NULL; SELECT FROM pg_available_extension_versions WHERE name in ('postgis', 'plpgsql'); \l+ (database sizes)
Testing VACUUM FULL went from 694 MB to 500 MB in .5 minutes.
Items to confirm before production deploy:
Vaccum 42 GB -> 32 GB
INFO: "django_content_type": scanned 1 of 1 pages, containing 22 live rows and 0 dead rows; 22 rows in sample, 22 estimated total rows VACUUM Time: 3206160.835 ms (53:26.161)
Note to my future self - put "Items to confirm before production deploy:" before a bunch of instructions...
The second issue of the upgrade. Issue #859 should result in detailed instructions for how to upgrade production (and whether or not doing so requires a code deploy).