Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

final comments

Copplece2843255f72
diff --git a/apps/docs/pages/guides/platform/database-size.mdx b/apps/docs/pages/guides/platform/database-size.mdx
index 16ef3b34127..8fb09062a9e 100644
--- a/apps/docs/pages/guides/platform/database-size.mdx
+++ b/apps/docs/pages/guides/platform/database-size.mdx
@@ -58,67 +58,43 @@ New Supabase projects have a database size of ~40-60mb. This space includes pre-
Supabase uses network-attached storage to balance performance with scalability. The behavior of your disk depends on your billing tier.
-### Free Tier
+### Paid Tier Behavior
-[Free Tier](#free-tier-project) projects will enter ['read only'](#free-tier-project-read-only-mode) mode when you exceed the 500mb limit.
+Pro and Enterprise projects have auto-scaling Disk Storage.
-In read-only mode, clients will encounter errors such as `cannot execute INSERT in a read-only transaction`.
-Regular operation (read-write mode) is automatically re-enabled once database storage is below the 500mb database size limit.
-
-#### Increasing available database space
-
-- If you are in [read-only](#free-tier-project-read-only-mode) mode:
-
- - Then you can [upgrade to the Pro or Enterprise tier](https://app.supabase.com/project/_/settings/billing/subscription) to go beyond the 500mb database size limit.
- - However; If your project database is already in [read-only](#free-tier-project-read-only-mode) mode, run the following command to change the transaction mode to read-write for your session
- (This allows you to delete data from within the session).
-
- ```sql
- SET
- default_transaction_read_only = 'off';
- ```
-
-- If you are over your limit, but not in [read-only](#free-tier-project-read-only-mode) mode yet, it's important to reduce your Database size as your database might go into [read-only](#free-tier-project-read-only-mode) mode.
-
-### Paid tier project
-
-For **Pro and Enterprise tier projects**, your [disk size expands automatically](#paid-tier-disk-auto-scaling).
-
-#### Paid tier disk auto-scaling
-
-Pro and Enterprise have Disk size auto-scaling. Database storage expands automatically when the database reaches 90% of the disk size. The disk is expanded to be 50% larger (e.g., 8GB -> 12GB).
-Auto-scaling can only take place once every 6 hours.
+Disk storage expands automatically when the database reaches 90% of the disk size. The disk is expanded to be 50% larger (e.g., 8GB -> 12GB). Auto-scaling can only take place once every 6 hours. If within those 6 hours you reach 95% of the disk space, your project will enter read-only mode.
<Admonition type="caution">
-If you intend to import a lot of data into your database that would require multiple storage expansions then [reach out to our team](https://app.supabase.com/support/new), otherwise your project might enter a ['read-only' mode](#paid-tier-project-read-only-mode).
+If you intend to import a lot of data into your database which requires multiple disk expansions then [reach out to our team](https://app.supabase.com/support/new). For example, uploading more than 1.5x the current size of your database storage will put your database into [read-only mode](#read-only-mode).
</Admonition>
-You may require multiple storage expansions in a short period of time. For example, you need to upload more than 1.5x the current size of your database storage. This will lead to your database entering a [read-only mode](#paid-tier-project-read-only-mode). You can avoid this by [contacting the support team](https://app.supabase.com/support/new) so that your database can be resized to a sufficient amount before you start uploading to it.
+The maximum Disk Size for Pro Tier is 1024TB. If you need more than this, [contact us](https://app.supabase.com/support/new) to learn more about the Enterprise plan.
+
+### Free Tier Behavior
-If you need more than 1024TB of disk size, you can [contact us](https://app.supabase.com/support/new) to learn more about the Enterprise plan.
+[Free Tier](#free-tier-project) projects enter ['read only'](#free-tier-project-read-only-mode) mode when you exceed the 500mb limit. Once in read-only mode, you have several options:
-#### Paid tier project 'read-only' mode
+- [Upgrade to the Pro or Enterprise tier](https://app.supabase.com/project/_/settings/billing/subscription) to enable auto-scaling and expand beyond the 500mb database size limit.
+- [Disable read-only mode](#disabling-read-only-mode) and reduce your database size.
-Database storage expands, at most, once every 6 hours.
-If within those 6 hours you reach 95% of the disk space, your project will enter read-only mode.
+### Read-only mode
-In read-only mode, clients will encounter errors such as `cannot execute INSERT in a read-only transaction`.
-Regular operation (read-write mode) is automatically re-enabled once usage is below 95% of the disk size, or when the database automatically resizes after the 6 hour period.
+In some cases Supabase may put your database into read-only mode to prevent your database from exceeding the billing or disk limitations.
-#### Increasing available database space
+In read-only mode, clients will encounter errors such as `cannot execute INSERT in a read-only transaction`. Regular operation (read-write mode) is automatically re-enabled once usage is below 95% of the disk size,
-For Pro and Enterprise tier projects that are [nearing their disk size limit](#paid-tier-project-read-only-mode), you can increase available disk size by deleting data from your project's database to lower its disk usage.
+### Disabling read-only mode
-If your project database is already in [read-only](#paid-tier-project-read-only-mode) mode, run the following command to change the transaction mode to read-write for your session:
+You can manually override read-only mode to reduce disk size. To do this, run the following in the [SQL Editor](https://app.supabase.com/project/_/sql):
```sql
SET
default_transaction_read_only = 'off';
```
-This allows you to delete data from within the session.
+This allows you to delete data from within the session. After deleting data, you should run a vacuum to reclaim as much space as possible.
export const Page = ({ children }) => <Layout meta={meta} children={children} />
diff --git a/package-lock.json b/package-lock.json
index dccce67d772..96964519779 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
+ "name": "supabase",
"version": "0.0.0",
"license": "Apache-2.0",
"workspaces": [