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 88A64D1DA30 for ; Wed, 4 Feb 2004 21:44:48 +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 71876-01 for ; Wed, 4 Feb 2004 17:44:46 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 90380D1D9F2 for ; Wed, 4 Feb 2004 17:44:45 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i14Lik1Y019237 for ; Wed, 4 Feb 2004 21:44:46 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i14LOJ7h015673 for pgsql-admin@postgresql.org; Wed, 4 Feb 2004 21:24:19 GMT From: eddy@axa.it (Edoardo) X-Newsgroups: comp.databases.postgresql.admin Subject: slow seqscan after vacuum analize Date: 4 Feb 2004 13:24:20 -0800 Organization: http://groups.google.com Lines: 11 Message-ID: <14f102db.0402041324.30033235@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/46 X-Sequence-Number: 12220 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