Skip to content

Commit 6fb6460

Browse files
committed
Merge branch 'docs' of github.com:powersync-ja/mintlify-docs into docs
2 parents 29e1ab9 + 262a376 commit 6fb6460

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

installation/database-setup.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,10 @@ read@<your_database>
355355
```
356356

357357
To allow PowerSync to automatically enable [`changeStreamPreAndPostImages`](#post-images) on
358-
replicated collections, instead use:
358+
replicated collections, additionally add the `dbAdmin` permission:
359359

360360
```
361+
readWrite@<your_database>._powersync_checkpoints
361362
dbAdmin@<your_database>
362363
```
363364

@@ -369,7 +370,7 @@ readAnyDatabase@admin
369370

370371
### Permissions required - Self-hosted
371372

372-
For self-hosted MongoDB, PowerSync requires the `find` and `changeStream` permissions on the database being replicated.
373+
For self-hosted MongoDB, PowerSync requires the `find`, `changeStream` and `listCollections` permissions on the database being replicated.
373374

374375
PowerSync also requires `createCollection`, `dropCollection`, `insert`, `update`, and `remove` permissions to the `_powersync_checkpoints` collection.
375376

resources/performance-and-limits.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ The PowerSync Cloud Enterprise plan allows for limits to be customized.
1010
* Number of synced buckets per user: 1,000.
1111
* Sync requests where this number is exceeded will fail with a hard error.
1212
* We have plans to increase this limit.
13-
* Maximum row size: 15MB
14-
* This applies to both the source Postgres row, and the transformed row synced to the client.
13+
* Maximum row/document size: 15MB
14+
* This applies to both the source row/document, and the transformed row synced to the client.
1515
* Number of concurrent connections per [PowerSync Service](/architecture/powersync-service) instance: Limited to 3,000 by default.
16-
* Replicated rows (Postgres -> PowerSync Service):
17-
* Expect a peak of around 2,000-4,000 operations/second for small rows, or 5MB/second for large rows.
18-
* This also applies to reprocessing sync rules or adding new tables.
16+
* Replicated rows/documents (Source database -> PowerSync Service):
17+
* Expect a peak of around 2,000-4,000 operations/second for small rows/documents, or 5MB/second for large rows/documents.
18+
* This also applies to reprocessing sync rules or adding new tables/collections.
1919
* Smaller transactions are processed at around 60 transactions/second.
2020
* Synced rows (PowerSync Service -> Client):
2121
* Over 1M rows per client is supported, with no hard limit.

0 commit comments

Comments
 (0)