X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B047CD1DA3E for ; Wed, 4 Feb 2004 20:38:43 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41047-08 for ; Wed, 4 Feb 2004 16:38:39 -0400 (AST) Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by svr1.postgresql.org (Postfix) with ESMTP id 64AC3D1D8E2 for ; Wed, 4 Feb 2004 16:38:38 -0400 (AST) Received: from ppp-82-84-56-186.cust-adsl.tiscali.it (HELO alphaville) (82.84.56.186) by mailr-2.tiscali.it with ESMTP; 04 Feb 2004 21:38:39 +0100 Message-Id: <2scq27$k4lid@mailr-2.tiscali.it> Reply-To: From: "Edoardo Ceccarelli" To: Subject: slow seqscan after vacuum analize Date: Wed, 4 Feb 2004 21:35:57 +0100 Organization: expot.it MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPrT84lLzWzPMCzSTeolYpgRUxY1QADbekw In-Reply-To: <1075919642.13598.3.camel@mineola> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=BAYES_44, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200402/94 X-Sequence-Number: 12268 I have a simple query that scans each record, like this: select * from utente where luogorilasciodoc='ciao' The execution time BEFORE vacuum is: 1203ms The execution time AFTER vacuum is: 6656ms !!! What is going on? Thought that one vaccum the db to get better performance! PostgreSQL Ver. 7.3.4 on linux Thank you Edoardo