[HACKERS] Use sync commit for logical replication apply in TAP tests - Mailing list pgsql-hackers

From Petr Jelinek
Subject [HACKERS] Use sync commit for logical replication apply in TAP tests
Date
Msg-id f8698d02-35c0-35f9-c60e-642ab84afda3@2ndquadrant.com
Whole thread Raw
Responses Re: [HACKERS] Use sync commit for logical replication apply in TAPtests  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Hi,

The commit 887227a1c changed the defaults for subscriptions to do async
commit. But since the tests often wait for disk flush and there is no
concurrent activity this has increased the amount of time needed for
each test. So the attached patch changes the subscriptions create in tab
tests to use sync commit which improves performance there (because we
also replicate only very few transactions in the tests).

-- 
  Petr Jelinek                  http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] some review comments on logical rep code
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Failed recovery with new faster 2PC code