Skip to content

Commit cdd0e57

Browse files
committed
Users entry for mirrors
1 parent 2c1171b commit cdd0e57

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/features/mirroring.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ host = "10.0.2.25"
3030
mirror_of = "prod"
3131
```
3232

33+
!!! note
34+
Mirrored databases are, underneath, regular connection pools and require a user & password configured in `users.toml`. PgDog will use those settings to connect to the mirror database and forward queries.
35+
3336
You can connect to the mirror database like any other. The same connection pool will be used for mirrored queries. Production database connection pool will not be affected, since all replication happens in a background.
3437

3538
Each client connected to the main database has its own queue, so concurrency scales linearly with the number of clients.

0 commit comments

Comments
 (0)