pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Federico Campoli <federico@brandwatch.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica
Date: Tue, 04 Jun 2013 16:36:53 +0100
Message-ID: <51AE0995.6010306@brandwatch.com> (raw)
In-Reply-To: <20130604152919.GB12172@alap2.anarazel.de>
References: <E1Ui5wj-0007tI-Cl@wrigleys.postgresql.org>
	<CAMkU=1x2zB2c8w=+nwQqXUBE0KvpYdJJ1iPYtD5ko12aP029Yw@mail.gmail.com>
	<51ADE456.90400@brandwatch.com>
	<20130604131407.GB2854@alap2.anarazel.de>
	<51AE05AC.8020907@brandwatch.com>
	<20130604152919.GB12172@alap2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 04/06/13 16:29, Andres Freund wrote:
> Hi,
>
> On 2013-06-04 16:20:12 +0100, Federico Campoli wrote:
>>> Well, if you check the output in that file you can see that 'apply' is
>>> progressing, so it's not stuck in some specific area.
>>> Is the startup process cpu bound during that time? If so, any chance to
>>> get a profile?
>>
>> Please find attached the profile file and the postgresql log generated in
>> the test run on my sandbox.
>
> Unfortunately a gprof profile isn't meaningful without the generating
> binary as far as I know. Could you either generate the callgraph or just
> generate a perf profile like:
>
> # start_test
> # perf record -a
> # ctrl-C
> # perf report > somefile
>
> And then send somefile?
>
> Greetings,
>
> Andres Freund
>

This is the gprof output for the profile.

Many thanks
Federico

-- 
Federico Campoli
Database Administrator brandwatch.com

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

Attachments:

  gprof_out.txt.gz (application/x-gzip, 23.4K) download

view thread (12+ messages)  latest in thread

Message-ID: <51AE0995.6010306@brandwatch.com>
Permalink:  ../51AE0995.6010306@brandwatch.com/
Also on:    postgresql.org/message-id/51AE0995.6010306@brandwatch.com

 · 

reply

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: federico@brandwatch.com, andres@2ndquadrant.com, jeff.janes@gmail.com
  Subject: Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica
  In-Reply-To: <51AE0995.6010306@brandwatch.com>
  References: <E1Ui5wj-0007tI-Cl@wrigleys.postgresql.org> <CAMkU=1x2zB2c8w=+nwQqXUBE0KvpYdJJ1iPYtD5ko12aP029Yw@mail.gmail.com> <51ADE456.90400@brandwatch.com> <20130604131407.GB2854@alap2.anarazel.de> <51AE05AC.8020907@brandwatch.com> <20130604152919.GB12172@alap2.anarazel.de> <51AE0995.6010306@brandwatch.com>

* 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