Re: [GENERA]: Postgresql-9.1.1 synchronous replication issue - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERA]: Postgresql-9.1.1 synchronous replication issue
Date
Msg-id 201202020707.09549.adrian.klaver@gmail.com
Whole thread Raw
In response to [GENERA]: Postgresql-9.1.1 synchronous replication issue  (Venkat Balaji <venkat.balaji@verse.in>)
Responses Re: [GENERA]: Postgresql-9.1.1 synchronous replication issue
List pgsql-general
On Wednesday, February 01, 2012 10:51:44 pm Venkat Balaji wrote:
> Hello,
>
> I was testing the Postgres-9.1.1 synchronous streaming replication on our
> UAT system.
>
> Without synchronous replication, everything was working fine.
>
> But, when i enabled synchronous_replication_names='*', the "create table"
> started hanging for long time.

Only the CREATE TABLE statement or all statements?
In general terms synchronous replication moves at the speed of the connection
between the primary and standby or does not occur if the standby can not be
found. So what is the state of the connection between the primary and standby?

>
> When i pressed "Ctrl+C" i got the following message -
>
> Cancel request sent
> WARNING:  canceling wait for synchronous replication due to user request
> DETAIL:  The transaction has already committed locally, but might not have
> been replicated to the standby.
> CREATE TABLE
>
> Can someone please help us ?
>
> Thanks
> VB

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Christian Ramseyer
Date:
Subject: Re: Audtiting, DDL and DML in same SQL Function
Next
From: Andrew Sullivan
Date:
Subject: Re: Is it possible to speed up addition of "not null"?