Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc40W-0002ob-EU for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Feb 2017 05:44:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cc40V-0002Io-Su for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Feb 2017 05:44:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cc3zr-0001Wt-5Z for pgsql-bugs@postgresql.org; Fri, 10 Feb 2017 05:43:51 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cc3zp-0003LC-5k for pgsql-bugs@postgresql.org; Fri, 10 Feb 2017 05:43:50 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B955B208D6; Fri, 10 Feb 2017 00:43:47 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 10 Feb 2017 00:43:47 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=GrA1mB8OShpPx5 6YOvwFjhX2DNA=; b=EJxx0FKBrmcp6SYupKS5arUm8q4jkknzFenpRDQqBojeEU qJ26er4rDBE5RPtYzuP4zs3YT/33u8vHykJ64Oze+wQ90TFZZFdxSWIwJ48pmQSt 9+PgYSnwcbcnXO0PpAhq6cl1XYXpBtlI5YI/8yFJTDvAjJgg8YtLw+kKbiPLw= X-ME-Sender: X-Sasl-enc: m96xWbz8J8P917FPf9KVnnhiRv9rxTsp+y2ZT1Cmwgew 1486705427 Received: from intern.anarazel.de (unknown [199.87.86.247]) by mail.messagingengine.com (Postfix) with ESMTPA id 72F6824066; Fri, 10 Feb 2017 00:43:47 -0500 (EST) Date: Thu, 9 Feb 2017 21:43:44 -0800 From: Andres Freund To: Huan Ruan Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14530: Logical Decoding Slowness Message-ID: <20170210054344.iorgrrtfpf7jshhq@alap3.anarazel.de> References: <20170207054347.1405.75502@wrigleys.postgresql.org> <20170209032908.4d3vu3l5pd7j3jcr@alap3.anarazel.de> <20170209063441.7esfyhtqkwwl6y7f@alap3.anarazel.de> <20170209070452.yvht4666i4vkbifk@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 2017-02-10 05:33:17 +0000, Huan Ruan wrote: > I might have given you the create table perf data for the subtran case. > > We profiled again with debug info on today, and the results are > > Subtran: > > Children Self Command Shared Object Symbol > + 94.84% 0.00% postgres postgres [.] > ExecMakeTableFunctionResult > + 94.84% 0.00% postgres postgres [.] > pg_logical_slot_get_changes_guts > + 94.80% 0.00% postgres postgres [.] > LogicalDecodingProcessRecord > + 94.45% 0.03% postgres postgres [.] > ReorderBufferCommit > + 94.19% 0.01% postgres postgres [.] > ReorderBufferCleanupTXN > + 94.11% 0.01% postgres postgres [.] > ReorderBufferReturnChange > + 94.08% 93.40% postgres postgres [.] > AllocSetFree Could you give a bit more detail abou thtis one - it indeed looks like different profile, but it's hard to nail down without more lines... Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs