X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5792D9FA2D8 for ; Mon, 22 May 2006 20:33:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 52623-08 for ; Mon, 22 May 2006 20:33:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 7AB139F9B14 for ; Mon, 22 May 2006 20:33:35 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 2453831932; Tue, 23 May 2006 01:33:34 +0200 (MET DST) From: "Steinar H. Gunderson" X-Newsgroups: comp.databases.postgresql,pgsql.performance Subject: Re: Query performance Date: Mon, 22 May 2006 23:33:33 +0000 (UTC) Organization: /etc/news/organization Lines: 20 Message-ID: References: X-Complaints-To: usenet@itea.ntnu.no User-Agent: slrn/0.9.8.1pl1 (Debian) To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/427 X-Sequence-Number: 19214 antonio.batovanja@humanomed.co.at wrote: > The above query takes 5 seconds to execute! > > [...] > > Total runtime: 96109.571 ms It sure doesn't look like it... > Total runtime: 461.907 ms > > [...] > > Suddenly the query takes only 0.29 seconds! How are you timing this, really? /* Steinar */ -- Homepage: http://www.sesse.net/