Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UNpWs-0006QA-4F for pgsql-performance@arkaria.postgresql.org; Thu, 04 Apr 2013 19:08:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UNpWr-0001XX-LR for pgsql-performance@arkaria.postgresql.org; Thu, 04 Apr 2013 19:08:57 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UNpWq-0001XS-TM for pgsql-performance@postgresql.org; Thu, 04 Apr 2013 19:08:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UNpWp-0005I3-3S for pgsql-performance@postgresql.org; Thu, 04 Apr 2013 19:08:56 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r34J8qno006355; Thu, 4 Apr 2013 15:08:52 -0400 (EDT) From: Tom Lane To: Franck Routier cc: pgsql-performance@postgresql.org Subject: Re: What happens between end of explain analyze and end of query execution ? In-reply-to: <515DCB34.6040801@axege.com> References: <515D92BF.5000309@axege.com> <515D9FC5.7030105@axege.com> <18910.1365092713@sss.pgh.pa.us> <515DCB34.6040801@axege.com> Comments: In-reply-to Franck Routier message dated "Thu, 04 Apr 2013 20:49:24 +0200" Date: Thu, 04 Apr 2013 15:08:52 -0400 Message-ID: <6354.1365102532@sss.pgh.pa.us> X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Franck Routier writes: > The request is not using any function. It looks like this: > [ unexciting query ] Hmph. Can't see any reason for that to take a remarkably long time to plan. Can you put together a self-contained test case demonstrating excessive planning time? What PG version is this, anyway? regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance