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 048F5D1B4B7 for ; Wed, 4 Feb 2004 21:26:26 +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 63337-02 for ; Wed, 4 Feb 2004 17:26:23 -0400 (AST) Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by svr1.postgresql.org (Postfix) with ESMTP id E641ED1D90E for ; Wed, 4 Feb 2004 17:26:21 -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 22:26:23 +0100 Message-Id: <2scq27$k57u9@mailr-2.tiscali.it> Reply-To: From: "Edoardo Ceccarelli" To: Subject: slow seqscan after vacuum analize Date: Wed, 4 Feb 2004 22:23:42 +0100 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: AcPrZSoBzsa03oqER/SoeOgAILNgMA== 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/45 X-Sequence-Number: 12219 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