X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 09C6F14B286B for ; Wed, 11 Aug 2004 11:18:50 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05582-06 for ; Wed, 11 Aug 2004 14:18:49 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7304B14B2869 for ; Wed, 11 Aug 2004 11:18:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i7BEIp7x004988; Wed, 11 Aug 2004 10:18:51 -0400 (EDT) To: "Ole Streicher" Cc: pgsql-jdbc@postgresql.org Subject: Re: Cleaning up large objects In-reply-to: <13241.1092208859@www53.gmx.net> References: <29794.1092160326@sss.pgh.pa.us> <13241.1092208859@www53.gmx.net> Comments: In-reply-to "Ole Streicher" message dated "Wed, 11 Aug 2004 09:20:59 +0200" Date: Wed, 11 Aug 2004 10:18:51 -0400 Message-ID: <4987.1092233931@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/78 X-Sequence-Number: 10800 "Ole Streicher" writes: > What is a reasonable value for these settings in my case? I'd try bumping up max_fsm_pages to a million or so. That would definitely be enough for a 10Gb database. You could probably get away with less but I'm not sure it's worth worrying about. If you are running 7.4 then a "vacuum verbose" will give you some data (at the very end of its lengthy printout) about FSM consumption, which you could use if you want to size more carefully. > Is it possible to run the vacuum with a lower priority (while all other > postgres queries keeping the normal priority)? No. In 8.0 there will be some tuning parameters that will help with that, but not in current releases... regards, tom lane