Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id B6457476B15 for ; Wed, 12 Jun 2002 19:49:28 -0400 (EDT) Received: from oblivion.martins.home (12-252-146-123.client.attbi.com [12.252.146.123]) by postgresql.org (Postfix) with ESMTP id 508B64759C4 for ; Wed, 12 Jun 2002 19:44:38 -0400 (EDT) Received: from vpmonline.com (IDENT:rT//hLjrT5IJPhv4TJF20GUmaKWY4jpD@localhost.localdomain [127.0.0.1]) by oblivion.martins.home (8.11.6/8.11.6) with ESMTP id g5CNibS05897; Wed, 12 Jun 2002 17:44:37 -0600 Message-ID: <3D07DCE5.8030503@vpmonline.com> Date: Wed, 12 Jun 2002 17:44:37 -0600 From: "Michael G. Martin" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: UnUsed Tuple Space Huge References: <3D07C958.5090908@vpmonline.com> <13163.1023921146@sss.pgh.pa.us> <3D07CD17.5060903@vpmonline.com> <13550.1023924606@sss.pgh.pa.us> Content-Type: multipart/alternative; boundary="------------010801030207090104040106" X-Archive-Number: 200206/78 X-Sequence-Number: 4513 --------------010801030207090104040106 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ok, I'll keep track of how many pages change between updates and play with the max_fsm_pages value. I'll post my findings. --Michael Tom Lane wrote: >"Michael G. Martin" writes: > > >>That's what I was beginning to think from reading. I just wasn't sure >>of the correlation between MAX_FSM_PAGES and the actual pages occupied >>by the table after a full vacuum. 1:1 ?? Any general rules? >> >> > >1:1 would be worst case, probably. The real question is how many pages >get dirtied between vacuums --- so you can trade off more frequent >vacuums for a smaller free space map. > >We don't have a lot of experience yet with tuning that parameter (if >we did, there'd be advice in the manual). Please report anything >you learn from experimentation. > > regards, tom lane > > --------------010801030207090104040106 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Ok, I'll keep track of how many pages change between updates and play with the max_fsm_pages value.  I'll post my findings.

--Michael

Tom Lane wrote:
"Michael G. Martin" <michael@vpmonline.com> writes:
  
That's what I was beginning to think from reading.  I just wasn't sure 
of the correlation between MAX_FSM_PAGES and the actual pages occupied 
by the table after a full vacuum.  1:1 ?? Any general rules?
    

1:1 would be worst case, probably.  The real question is how many pages
get dirtied between vacuums --- so you can trade off more frequent
vacuums for a smaller free space map.

We don't have a lot of experience yet with tuning that parameter (if
we did, there'd be advice in the manual).  Please report anything
you learn from experimentation.

			regards, tom lane
  
--------------010801030207090104040106--