Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEfh2-000524-CX for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Aug 2013 13:21:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VEfh1-0002ls-Or for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Aug 2013 13:21:51 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEfh0-0002lj-No for pgsql-bugs@postgresql.org; Wed, 28 Aug 2013 13:21:50 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEfgx-0006NM-NO for pgsql-bugs@postgresql.org; Wed, 28 Aug 2013 13:21:50 +0000 Received: from anarazel.de (p5DDC4364.dip0.t-ipconnect.de [93.220.67.100]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MBX6o-1VMtQ417fa-00AmGz; Wed, 28 Aug 2013 15:21:46 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 9A2AB100A76; Wed, 28 Aug 2013 15:21:45 +0200 (CEST) Date: Wed, 28 Aug 2013 15:21:45 +0200 From: Andres Freund To: Valentine Gogichashvili Cc: PostgreSQL Bugs Subject: Re: BUG #7494: WAL replay speed depends heavily on the shared_buffers size Message-ID: <20130828132145.GC5181@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:9PNkHMH+b6dhkHVieO0V0V21g4/UKqTA0bpconqQH5V kfowq3pGowLTALNOOBM84XhdhymGzqHlcWlOhtsx4G6RL/4uhY 4m5eFoU/jzo+3/aPMy3sJ2L65iKyEmOhs72C7Sg92i6emVJ61F mkL1XxMW3sqr6F7LP0wFe1JBq4zYUHXK6cixF5etwwNEEwNCkd y7BF+byM09lpqHOfAxUNfaKDSDMISUVymo33BqjdYi7PMQ/MW8 TLMcu5fSpAP9s/J1/ciOCkeuXPt6B0ZqaFXFOmBCns+tUqW2jG 9iItwxYv3bmLwkXRwYF5QU+5XGc8vtnTaZ5fxsNZb0QQiQRq4H 9bt6TIoF6in/QEOl+NDIvwuHkZ7AJ0VowXVy39iau X-Pg-Spam-Score: -1.9 (-) 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 On 2013-08-28 11:50:17 +0200, Valentine Gogichashvili wrote: > Oh, here is more context about this issue: > http://www.postgresql.org/message-id/201208171307.16342.andres@2ndquadrant.com I think that backtrace and explanation pretty much explained what's going on. Did you try 9.3 to see whether things got better there? Alternatively, it might be very worthwile to try to get way from per-transaction or even per-function temporary tables. As you've discovered, they have quite the cost... 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