You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: self-hosting/installation/powersync-service-setup.mdx
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -173,10 +173,6 @@ client_auth:
173
173
174
174
```
175
175
176
-
<Info>
177
-
**Important:** When using Postgres for sync bucket storage, a separate server is currently required for replication connections (if using Postgres for replication) and storage. Using the same server might cause unexpected results.
178
-
</Info>
179
-
180
176
Specify the connection to Postgres in the `replication` section. Retrieving your database connection string / individual parameters differs by database hosting provider. See [Database Connection](/self-hosting/appendix/database-connection) for further details.
181
177
182
178
<Info>
@@ -189,6 +185,15 @@ Specify the connection to Postgres in the `replication` section. Retrieving your
189
185
190
186
Specify the connection to your sync bucket storage provider (Postgres or MongoDB) in the `storage` section.
191
187
188
+
### Postgres Storage
189
+
190
+
Separate Postgres servers are required for replication connections and sync bucket storage **if using PostgreSQL versions below 14**.
| Below 14 | Separate servers are required for the source and sync bucket storage. Replication will be blocked if the same server is detected. |
195
+
| 14 and above | The source database and sync bucket storage database can be on the same server. Using the same database (with separate schemas) is supported but may lead to higher CPU usage. Using separate servers remains an option. |
196
+
192
197
### Environment Variables
193
198
194
199
The config file uses custom tags for environment variable substitution.
0 commit comments