Skip to content

Instantly share code, notes, and snippets.

Avatar

Thom Brown darkixion

View GitHub Profile
@darkixion
darkixion / gist:5694200
Created Jun 2, 2013
1000 local Postgres instances using one-to-one chained streaming-only cascading replication
View gist:5694200
Instance | Port | Primary Port | Status | XLog location | Replication lag (bytes)
------------------------------------------------------------------------------------------
primary | 5530 | | ONLINE | 0/3000700 | 0
standby1 | 5531 | 5530 | IN RECOVERY | 0/3000700 | 0
standby2 | 5532 | 5531 | IN RECOVERY | 0/3000700 | 0
standby3 | 5533 | 5532 | IN RECOVERY | 0/3000700 | 0
standby4 | 5534 | 5533 | IN RECOVERY | 0/3000700 | 0
standby5 | 5535 | 5534 | IN RECOVERY | 0/3000700 | 0
standby6 | 5536 | 5535 | IN RECOVERY | 0/3000700 | 0
standby7 | 5537 | 5536 | IN RECOVERY | 0/3000700 | 0
You can’t perform that action at this time.