pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
vacuum message
6+ messages / 6 participants
[nested] [flat]

* vacuum message
@ 2005-09-21 20:00  Colton A Smith <smith@cs.utk.edu>
  0 siblings, 1 reply; 6+ messages in thread

From: Colton A Smith @ 2005-09-21 20:00 UTC (permalink / raw)
  To: pgsql-admin

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!



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: vacuum message
@ 2005-09-23 06:01  Adrian Engelbrecht <adey11@gmail.com>
  parent: Colton A Smith <smith@cs.utk.edu>
  0 siblings, 1 reply; 6+ messages in thread

From: Adrian Engelbrecht @ 2005-09-23 06:01 UTC (permalink / raw)
  To: Colton A Smith <smith@cs.utk.edu>; pgsql-admin

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
[mailto:pgsql-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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: vacuum message
@ 2005-09-23 07:51  Hannes Dorbath <light@theendofthetunnel.de>
  parent: Adrian Engelbrecht <adey11@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Hannes Dorbath @ 2005-09-23 07:51 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: vacuum message
@ 2005-09-26 13:58  Gourish Singbal <gourish@gmail.com>
  parent: Hannes Dorbath <light@theendofthetunnel.de>
  0 siblings, 2 replies; 6+ messages in thread

From: Gourish Singbal @ 2005-09-26 13:58 UTC (permalink / raw)
  To: Hannes Dorbath <light@theendofthetunnel.de>; +Cc: pgsql-admin

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

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: vacuum message
@ 2005-09-26 17:38  Jim C. Nasby <jnasby@pervasive.com>
  parent: Gourish Singbal <gourish@gmail.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Jim C. Nasby @ 2005-09-26 17:38 UTC (permalink / raw)
  To: Gourish Singbal <gourish@gmail.com>; +Cc: Hannes Dorbath <light@theendofthetunnel.de>; pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: vacuum message
@ 2005-09-27 03:03  adey <adey11@gmail.com>
  parent: Gourish Singbal <gourish@gmail.com>
  1 sibling, 0 replies; 6+ messages in thread

From: adey @ 2005-09-27 03:03 UTC (permalink / raw)
  To: Gourish Singbal <gourish@gmail.com>; +Cc: Hannes Dorbath <light@theendofthetunnel.de>; pgsql-admin

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

^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2005-09-27 03:03 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-21 20:00 vacuum message Colton A Smith <smith@cs.utk.edu>
2005-09-23 06:01 ` Adrian Engelbrecht <adey11@gmail.com>
2005-09-23 07:51   ` Hannes Dorbath <light@theendofthetunnel.de>
2005-09-26 13:58     ` Gourish Singbal <gourish@gmail.com>
2005-09-26 17:38       ` Jim C. Nasby <jnasby@pervasive.com>
2005-09-27 03:03       ` adey <adey11@gmail.com>

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