Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add VACUUM to maintenance section in docs.

Kailash Nadh0930a22b4a55
diff --git a/docs/docs/content/maintenance/performance.md b/docs/docs/content/maintenance/performance.md
index 4b117216..fc012e5a 100644
--- a/docs/docs/content/maintenance/performance.md
+++ b/docs/docs/content/maintenance/performance.md
@@ -13,3 +13,6 @@ However, at that scale, viewing the exact number of subscribers or statistics ev
## Slow query caching
When this option is enabled, the subscriber counts on the Lists page, the Subscribers page, and the statistics on the dashboard, etc., are no longer counted in real-time in the database. Instead, they are updated periodically and cached, resulting in a massive performance boost. The periodicity can be configured on the Settings -> Performance page using a standard crontab expression (default: `0 3 * * *`, which means 3 AM daily). Use a tool like [crontab.guru](https://crontab.guru) for easily generating a desired crontab expression.
+
+## VACUUM-ing
+Running [`VACUUM ANALYZE`](https://www.postgresql.org/docs/current/sql-vacuum.html) on large Postgres databases at regular intervals (for instance, once a week), is recommended. It reclaims disk space and improves Postgres' query performance. Do note that this is a blocking operation and all database queries can come to a stand-still on a large database while the operation is running (generally only a few seconds).