Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id BD8739FBB93; Sat, 10 Mar 2007 01:27:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 02911-03-2; Sat, 10 Mar 2007 01:27:13 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E34BA9FB93A; Sat, 10 Mar 2007 01:27:12 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l2A5R6hb007761; Sat, 10 Mar 2007 00:27:06 -0500 (EST) To: Monika Cernikova cc: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [GENERAL] index bloat problem In-reply-to: <45F1315A.1020906@microstep-mis.com> References: <45F1315A.1020906@microstep-mis.com> Comments: In-reply-to Monika Cernikova message dated "Fri, 09 Mar 2007 11:05:14 +0100" Date: Sat, 10 Mar 2007 00:27:06 -0500 Message-ID: <7760.1173504426@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.061 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200703/56 X-Sequence-Number: 24880 Monika Cernikova writes: > Can you help me how to stop index growing or reindex database if I CAN'T > STOP writing records? I think you have max_fsm_pages set too small. > max_fsm_pages = 400000 That corresponds to about 3Gb, or a tenth the size of your DB. Not enough. regards, tom lane