Skip to content

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

Incoporated copple's suggestions

Rodrigo Mansueli Nunesce59984b870e
diff --git a/apps/docs/pages/guides/platform/database-size.mdx b/apps/docs/pages/guides/platform/database-size.mdx
index 546738da34d..9eb3121b4fe 100644
--- a/apps/docs/pages/guides/platform/database-size.mdx
+++ b/apps/docs/pages/guides/platform/database-size.mdx
@@ -87,31 +87,24 @@ In read-only mode, clients will encounter errors such as `cannot execute INSERT
### Disabling read-only mode
-You can manually override read-only mode to reduce disk size. To do this, run the following in the [SQL Editor](https://supabase.com/dashboard/project/_/sql):
+You manually override read-only mode to reduce disk size. To do this, run the following in the [SQL Editor](https://supabase.com/dashboard/project/_/sql):
-To change the [transaction access mode](https://www.postgresql.org/docs/current/sql-set-transaction.html) for the current transaction:
+First, change the [transaction access mode](https://www.postgresql.org/docs/current/sql-set-transaction.html):
```sql
-SET TRANSACTION READ WRITE;
+set session characteristics as transaction read write;
```
-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.
-You can also change the default transaction access mode for all subsequent transactions of a session:
-
-```sql
-SET SESSION CHARACTERISTICS AS TRANSACTION READ WRITE;
-```
-
-Ater deleting data, you should run a vacuum to reclaim as much space as possible.
+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. After deleting data, consider running a vacuum to reclaim as much space as possible:
```sql
vacuum;
```
-After completing this in a session, then you can run the following to disable [read-only](https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-DEFAULT-TRANSACTION-READ-ONLY) mode:
+Once you have reclaimed space, you can run the following to disable [read-only](https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-DEFAULT-TRANSACTION-READ-ONLY) mode:
```SQL
-SET default_transaction_read_only = 'off';
+set default_transaction_read_only = 'off';
```
export const Page = ({ children }) => <Layout meta={meta} children={children} />