Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UjtB2-00034n-QD for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Jun 2013 15:29:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UjtB1-00088i-LX for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Jun 2013 15:29:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UjtAu-00082D-6b for pgsql-bugs@postgresql.org; Tue, 04 Jun 2013 15:29:28 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UjtAm-0003zW-Ti for pgsql-bugs@postgresql.org; Tue, 04 Jun 2013 15:29:27 +0000 Received: from intern.anarazel.de (p5DDC63F6.dip0.t-ipconnect.de [93.220.99.246]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 8589F4F0001; Tue, 4 Jun 2013 17:29:19 +0200 (CEST) Date: Tue, 4 Jun 2013 17:29:19 +0200 From: Andres Freund To: Federico Campoli Cc: Jeff Janes , "pgsql-bugs@postgresql.org" Subject: Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica Message-ID: <20130604152919.GB12172@alap2.anarazel.de> References: <51ADE456.90400@brandwatch.com> <20130604131407.GB2854@alap2.anarazel.de> <51AE05AC.8020907@brandwatch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51AE05AC.8020907@brandwatch.com> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs