Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id F02709FA111; Sat, 23 Dec 2006 15:26:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 01493-02; Sat, 23 Dec 2006 15:26:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id C4D7D9FA0BA; Sat, 23 Dec 2006 15:26:24 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from spunkymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by svr4.postgresql.org (Postfix) with ESMTP id 269D15AF032; Sat, 23 Dec 2006 19:26:17 +0000 (GMT) Received: from [192.168.1.238] (adsl-75-31-110-76.dsl.irvnca.sbcglobal.net [75.31.110.76]) by spunkymail-a1.dreamhost.com (Postfix) with ESMTP id 9A77AFF89A; Sat, 23 Dec 2006 11:26:14 -0800 (PST) Message-ID: <458D82D0.5050903@araisoft.com> Date: Sat, 23 Dec 2006 11:26:08 -0800 From: Benjamin Arai User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Problem with large table not using indexes (I think) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.167 tagged_above=0 required=5 tests=AWL, BAYES_80 X-Spam-Level: * X-Archive-Number: 200612/302 X-Sequence-Number: 24094 Hi, The largest table in my database (30GB) has mysteriously went from taking milli-seconds to perform a query to minutes. This disks are fine and I have a 4GB shared_memory. Could this slow down have to do with the fsm_max_pages or something else like that? I made it larger but the queries still taking a long time. I do daily vacuum's but I don't run it with -z or --full. I would like to avoid doing a --full if possible because it would literally take over a week to complete. Any help would be greatly appreciated. Benjamin