pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Gourish Singbal <gourish@gmail.com>
Cc: Hannes Dorbath <light@theendofthetunnel.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: vacuum message
Date: Mon, 26 Sep 2005 12:38:09 -0500
Message-ID: <20050926173808.GJ30974@pervasive.com> (raw)
In-Reply-To: <674d1f8a05092606583266eb3a@mail.gmail.com>
References: <Pine.LNX.4.62.0509211558440.5848@cetus5.cs.utk.edu>
	<JIEFKIDGJKMBCMFFPJAHGENPCBAA.adey11@gmail.com>
	<dh0c55$2lis$2@news.hub.org>
	<674d1f8a05092606583266eb3a@mail.gmail.com>

On Mon, Sep 26, 2005 at 07:28:30PM +0530, Gourish Singbal wrote:
> Thats a good Idea.
>  My output after full vaccum is :-
>  INFO: free space map: 9 relations, 114736 pages stored; 76592 total pages
> needed
> DETAIL: Allocated FSM size: 1000 relations + 300000 pages = 1856 kB shared
> memory.
> VACUUM
>  I just have a Question:
> Is the allocate pages 300000 okey ?. OR do i need to decrease it to 100000 ?
>  regards

Downside: you're burning extra memory, to the tune of 6 bytes per page.
Downside: there's some additional overhead in maintaining a larger FSM
Upside: you have room to grow, as well as to accommodate occasional
bursts of update activity

Both downsides are pretty minor, I'd say just stick with what you've
got.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (6+ messages)  latest in thread

Message-ID: <20050926173808.GJ30974@pervasive.com>
Permalink:  ../20050926173808.GJ30974@pervasive.com/
Also on:    postgresql.org/message-id/20050926173808.GJ30974@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jnasby@pervasive.com, gourish@gmail.com, light@theendofthetunnel.de
  Subject: Re: vacuum message
  In-Reply-To: <20050926173808.GJ30974@pervasive.com>
  References: <Pine.LNX.4.62.0509211558440.5848@cetus5.cs.utk.edu> <JIEFKIDGJKMBCMFFPJAHGENPCBAA.adey11@gmail.com> <dh0c55$2lis$2@news.hub.org> <674d1f8a05092606583266eb3a@mail.gmail.com> <20050926173808.GJ30974@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox