The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update apps/reference/docs/guides/platform/disk-usage.mdx
Div Arorad4fe236bad4a
diff --git a/apps/reference/docs/guides/platform/disk-usage.mdx b/apps/reference/docs/guides/platform/disk-usage.mdxindex ca12179fe00..db0b7492135 100644--- a/apps/reference/docs/guides/platform/disk-usage.mdx+++ b/apps/reference/docs/guides/platform/disk-usage.mdx@@ -17,12 +17,10 @@ This value is also reported in the [database settings page](https://app.supabase## Vacuum operations-:::note--Vacuuming operations can temporarily increase resource utilization, which in turn can adversely impact the observed performance of your project while the maintenance is completed.+Postgres does not immediately reclaim the physical space used by dead tuples (i.e., deleted rows) in the DB. Instead, they are internally marked as removed until a [vacuum operation](https://www.postgresql.org/docs/current/routine-vacuuming.html) is executed. As a result, deleting data from your DB may not immediately reduce the reported disk usage.+:::note+Vacuum operations can temporarily increase resource utilization, which can adversely impact the observed performance of your project until the maintenance is completed.:::-Postgres does not immediately reclaim the physical space used by dead tuples (e.g. deleted rows) in the db. Instead, they get internally marked as removed until a ["vacuum" operation](https://www.postgresql.org/docs/current/routine-vacuuming.html) is executed. A common manifestation of this mechanism is that deleting data from your DB can sometimes result in the reported disk usage not immediately decreasing by a commensurate amount.-Supabase projects come with automatic vacuuming enabled, which ensures that these operations are performed regularly, in order to keep the database healthy and performant. However, it can sometimes be necessary to either [fine-tune](https://www.percona.com/blog/2018/08/10/tuning-autovacuum-in-postgresql-and-autovacuum-internals/) [the autovacuum parameters](https://www.enterprisedb.com/blog/postgresql-vacuum-and-analyze-best-practice-tips), or [manually initiate](https://www.postgresql.org/docs/current/sql-vacuum.html) vacuum operations. As an example, running a manual vacuum after deleting large amounts of data from your DB could help reduce the reported disk usage by Postgres.