X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B01E49DCB60 for ; Fri, 10 Mar 2006 10:16:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74731-02 for ; Fri, 10 Mar 2006 10:16:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by postgresql.org (Postfix) with ESMTP id D54F29DCAC0 for ; Fri, 10 Mar 2006 10:16:24 -0400 (AST) Received: from [213.162.97.75] (helo=mail.metronet.co.uk) by pih-relay04.plus.net with esmtp (Exim) id 1FHiPk-0005S2-JZ; Fri, 10 Mar 2006 14:16:20 +0000 Received: from mainbox.archonet.com (unknown [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id C590540C1D2; Fri, 10 Mar 2006 13:41:46 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id B1DA9FF04; Fri, 10 Mar 2006 13:41:46 +0000 (GMT) Message-ID: <4411821A.8000605@archonet.com> Date: Fri, 10 Mar 2006 13:41:46 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Ruben Rubio Rey Cc: pgsql-performance@postgresql.org Subject: Re: Query time References: <44114F85.8020702@rentalia.com> In-Reply-To: <44114F85.8020702@rentalia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.121 required=5 tests=[AWL=0.121] X-Spam-Score: 0.121 X-Spam-Level: X-Archive-Number: 200603/123 X-Sequence-Number: 17560 Ruben Rubio Rey wrote: > Hi, > > I think im specting problems with a 7.4.8 postgres database. > > Sometimes some big query takes between 5 to 15 seconds. It happens > sometimes all the day it does not depend if database is busy. > > I have measured that sentence in 15 - 70 ms in normal circunstances. > > Why sometimes its takes too much time? > How can I fix it? > Is a postgres version problem, database problem or query problem? Information, Ruben - we can't do anything without information. -- Richard Huxton Archonet Ltd