From: Andres Freund <andres@anarazel.de>
To: olivier.gosseaume@free.fr
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13484: Performance problem with logical decoding
Date: Mon, 6 Jul 2015 22:45:09 +0200
Message-ID: <20150706204509.GD340@alap3.anarazel.de> (raw)
In-Reply-To: <1218457515.16345590.1436203770840.JavaMail.root@zimbra72-e12.priv.proxad.net>
References: <DAE4FF93-DB6B-439A-A287-4CCB5068599A@anarazel.de>
<1218457515.16345590.1436203770840.JavaMail.root@zimbra72-e12.priv.proxad.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2015-07-06 19:29:30 +0200, olivier.gosseaume@free.fr wrote:
> To be more concise :
> - ONE transaction with 4095 operations -> consumed in 80mS
> - TEN transactions with 4095 operations each (so 40950 operations) -> 380mS (which as you said is very good -less than linear growth-)
> - ONE transaction with 4096 operations -> consumed in 4204mS (ouch ...). I confirm there are only 4096 changes in one transaction
> - TEN transactions with 4095 operations each (so 40950 operations) -> 34998mS, ouch again
Given the third result it's unlikely, but just to make sure: Are you
sure network issues aren't a factor here? 40950 changes are about 3.8MB,
over a slow network that can take a second. Additionally psql will
display all the changes in a pager, which'll not be fast either (but
shouldn't be included in \timing's output).
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, olivier.gosseaume@free.fr
Subject: Re: BUG #13484: Performance problem with logical decoding
In-Reply-To: <20150706204509.GD340@alap3.anarazel.de>
References: <DAE4FF93-DB6B-439A-A287-4CCB5068599A@anarazel.de> <1218457515.16345590.1436203770840.JavaMail.root@zimbra72-e12.priv.proxad.net> <20150706204509.GD340@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox