Re: [HACKERS] Why PostgreSQL doesn't implement a semi sync replication?

2016-11-13 Thread 余森彬
在 2016/11/12 上午11:27, Craig Ringer 写道: On 12 November 2016 at 02:12, Petr Jelinek wrote: On 11/11/16 16:03, Francisco Olarte wrote: On Fri, Nov 11, 2016 at 4:40 AM, 余森彬 wrote: As we know, the synchronous commit process is blocked while receives from acknowledgement from standby in Pos

Re: [HACKERS] Why PostgreSQL doesn't implement a semi sync replication?

2016-11-11 Thread Craig Ringer
On 12 November 2016 at 02:12, Petr Jelinek wrote: > On 11/11/16 16:03, Francisco Olarte wrote: >> On Fri, Nov 11, 2016 at 4:40 AM, 余森彬 wrote: >>> As we know, the synchronous commit process is blocked while receives >>> from acknowledgement from standby in >>> PostgreSQL.This is good for data

Re: [HACKERS] Why PostgreSQL doesn't implement a semi sync replication?

2016-11-11 Thread Petr Jelinek
On 11/11/16 16:03, Francisco Olarte wrote: > On Fri, Nov 11, 2016 at 4:40 AM, 余森彬 wrote: >> As we know, the synchronous commit process is blocked while receives >> from acknowledgement from standby in >> PostgreSQL.This is good for data consistence in master and standby, and >> application can

Re: [HACKERS] Why PostgreSQL doesn't implement a semi sync replication?

2016-11-11 Thread Francisco Olarte
On Fri, Nov 11, 2016 at 4:40 AM, 余森彬 wrote: > As we know, the synchronous commit process is blocked while receives > from acknowledgement from standby in > PostgreSQL.This is good for data consistence in master and standby, and > application can get important data from standby.But > when the s

[HACKERS] Why PostgreSQL doesn't implement a semi sync replication?

2016-11-11 Thread 余森彬
Hi all: As we know, the synchronous commit process is blocked while receives from acknowledgement from standby in PostgreSQL.This is good for data consistence in master and standby, and application can get important data from standby.But when the standby crash or network goes wrong, t