Unix Technical Forum

vacuum message

This is a discussion on vacuum message within the pgsql Admins forums, part of the PostgreSQL category; --> Hi: I did a vacuum verbose on my database and at the end of the output I got the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 05:17 AM
Colton A Smith
 
Posts: n/a
Default vacuum message

Hi:

I did a vacuum verbose on my database and at the end of the output I got
the following:

INFO: free space map: 85 relations, 18940 pages stored; 29584 total pages
needed
DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 186 kB shared
memory.
VACUUM

Can somebody tell me what that means?

Thanks!

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 05:17 AM
Adrian Engelbrecht
 
Posts: n/a
Default Re: vacuum message

You need to increase your max_fsm_pages to at least 29584 pages to
accommodate / monitor all free pages.

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailtogsql-admin-owner@postgresql.org]On Behalf Of Colton A Smith
Sent: Thursday, 22 September 2005 8:00 a.m.
To: pgsql-admin@postgresql.org
Subject: [ADMIN] vacuum message

Hi:

I did a vacuum verbose on my database and at the end of the output I got
the following:

INFO: free space map: 85 relations, 18940 pages stored; 29584 total pages
needed
DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 186 kB shared
memory.
VACUUM

Can somebody tell me what that means?

Thanks!

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 05:17 AM
Hannes Dorbath
 
Posts: n/a
Default Re: vacuum message

On 23.09.2005 08:01, Adrian Engelbrecht wrote:
> You need to increase your max_fsm_pages to at least 29584 pages to
> accommodate / monitor all free pages.


Better set it to much more to have some room for future growth, 50000 maybe.


--
Regards,
Hannes Dorbath
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-10-2008, 05:17 AM
Gourish Singbal
 
Posts: n/a
Default Re: vacuum message

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
Gouirsh Singbal

On 9/23/05, Hannes Dorbath <light@theendofthetunnel.de> wrote:
>
> On 23.09.2005 08:01, Adrian Engelbrecht wrote:
> > You need to increase your max_fsm_pages to at least 29584 pages to
> > accommodate / monitor all free pages.

>
> Better set it to much more to have some room for future growth, 50000
> maybe.
>
>
> --
> Regards,
> Hannes Dorbath
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>




--
Best,
Gourish Singbal

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-10-2008, 05:17 AM
Jim C. Nasby
 
Posts: n/a
Default Re: vacuum message

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-10-2008, 05:18 AM
adey
 
Posts: n/a
Default Re: vacuum message

That's only 1.8mb of RAM, so I can't see it being a problems if you have no
RAM shortage on your server.

On 9/27/05, Gourish Singbal <gourish@gmail.com> 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
> Gouirsh Singbal
>
> On 9/23/05, Hannes Dorbath <light@theendofthetunnel.de> wrote:
> >
> > On 23.09.2005 08:01, Adrian Engelbrecht wrote:
> > > You need to increase your max_fsm_pages to at least 29584 pages to
> > > accommodate / monitor all free pages.

> >
> > Better set it to much more to have some room for future growth, 50000
> > maybe.
> >
> >
> > --
> > Regards,
> > Hannes Dorbath
> >
> > ---------------------------(end of broadcast)---------------------------
> >
> > TIP 1: if posting/reading through Usenet, please send an appropriate
> > subscribe-nomail command to majordomo@postgresql.org so that your
> > message can get through to the mailing list cleanly
> >

>
>
>
> --
> Best,
> Gourish Singbal


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com