Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Federico Campoli <federico(at)brandwatch(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica
Date: 2013-06-04 15:29:19
Message-ID: 20130604152919.GB12172@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Federico Campoli 2013-06-04 15:36:53 Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica
Previous Message Federico Campoli 2013-06-04 15:20:12 Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica