Re: [ADMIN] How do you manage cluster replication and failover ?
От | Robin LUCBERNET |
---|---|
Тема | Re: [ADMIN] How do you manage cluster replication and failover ? |
Дата | |
Msg-id | VI1PR0501MB2781DA8BBD2F045570BC4FB2AB0C0@VI1PR0501MB2781.eurprd05.prod.outlook.com обсуждение исходный текст |
Ответ на | Re: [ADMIN] How do you manage cluster replication and failover ? (Poul Kristensen <bcc5226@gmail.com>) |
Ответы |
Re: [ADMIN] How do you manage cluster replication and failover ?
|
Список | pgsql-admin |
Thanks for your answer.
How do you manage the failover with your virtual servers ?
Postgres has a built-in failover mecanism using the trigger_file setting in reconvery.conf.
Do you handle it manually or use another system to automate it ?
Robin.
Envoyé : jeudi 6 avril 2017 18:16
À : Robin LUCBERNET
Cc : pgsql-admin@postgresql.org
Objet : Re: [ADMIN] How do you manage cluster replication and failover ?
Hello,
We are currently trying to setup a multi hosts databases cluster with goals:
* replication (no data-loss is "required", replication timing do not needs to be instant)
* failover
* load-balancing (bonus)
We tried:
* synchronious replication (pgpool replication mode) + load-balancing (pgpool) : very interesing as we can theorically failover on any node at any moment. But even after several configuraation tweeks, we never succeed getting good write performance.
* asynchronious replication (postgres 9.6 streaming replication) : good write performance, good replication timings (< 1 second for small transactions). We could loadbalance select requests using pgpool.
How do you manage your postgresql clusters ? Do you use pgpool ? pgbouncer ? other ?
How do you manage to single access point ? usign pgpool ? pgbouncer ?
Do you use streaming replication ? WAL archiving ? How do you handle to automatic failover ?
Robin
Poul Kristensen
Linux-OS/Virtualizationexpert and Oracle DBA
В списке pgsql-admin по дате отправления: