Re: Slow temporary tables when using sync rep - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Slow temporary tables when using sync rep
Date
Msg-id 4F8D7184.8050705@enterprisedb.com
Whole thread Raw
In response to Re: Slow temporary tables when using sync rep  (Thom Brown <thom@linux.com>)
Responses Re: Slow temporary tables when using sync rep  (Thom Brown <thom@linux.com>)
List pgsql-hackers
On 17.04.2012 14:10, Thom Brown wrote:
> On 17 April 2012 11:30, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>> What happens is that we write the commit record if the transaction accesses
>> a temporary table, but we don't flush it. However, we still wait until it's
>> replicated to the standby. The obvious fix is to not wait for that, see
>> attached.
>
> Tested patch.  Yes, that fixes the problem.  Thanks.

Ok, committed.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Alex Shulgin
Date:
Subject: Re: Bug tracker tool we need
Next
From: Thom Brown
Date:
Subject: Re: Slow temporary tables when using sync rep