Skip to content

Commit dd0aa63

Browse files
kobiebothabenitav
andauthored
Add Render Postgres instructions (#270)
Co-authored-by: benitav <benitav@users.noreply.github.com>
1 parent 4091f83 commit dd0aa63

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

installation/database-setup.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,25 @@ We have documented steps for some hosting providers:
177177
FOR TABLE public.lists, public.todos;
178178
```
179179
</Accordion>
180+
<Accordion title="Render Postgres">
181+
Logical replication can be enabled for [Render Postgres](https://render.com/docs/postgresql) but you need to contact their support team. Here are some prerequisites before contacting them:
182+
- The disk size must be at least 10 GB.
183+
- You must be on a Professional workspace or higher.
184+
185+
The Render support team will ask you the following:
186+
187+
- Database user for replication (you can use the default or create a new user yourself)
188+
- Schema(s)
189+
- Publication name (only if you want us to set `FOR ALL TABLES`; otherwise, you'll be able to create publications per table yourself later)
190+
191+
If you want to create the publication `FOR ALL TABLES`, you must let their support team to know that you want the publication name to be `powersync`.
192+
193+
Additional notes they'll share with you:
194+
195+
> We will reserve approximately 1/8 of your storage for `wal_keep_size`. This will not be available for your normal operations and will always be reserved no matter what.
196+
We will also schedule maintenance for the database to pick up the changes. It will be initially scheduled for 14 days out with a deadline of 30 days out. Once the maintenance is added, you can reschedule to any time between immediately and the deadline. If you do nothing, it will run automatically at the initially scheduled time of 14 days out.
197+
198+
</Accordion>
180199
</AccordionGroup>
181200

182201

0 commit comments

Comments
 (0)