pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
where is max_fsm_pages in PG9.0?
2+ messages / 2 participants
[nested] [flat]

* where is max_fsm_pages in PG9.0?
@ 2011-09-20 04:28  Anibal David Acosta <aa@devshock.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Anibal David Acosta @ 2011-09-20 04:28 UTC (permalink / raw)
  To: pgsql-performance

I have a lot of wasted bytes in some tables.

Somewhere I read that maybe auto-vacuum can't release space due to a low
max_fsm_pages setting.

 

I want to increase it, but I don't found the param in the postgres.conf.

 

This param exists? If not? How can I deal with bloated tables?

 

I have many tables with lot of insert/updates/delete (aprox. 5,000,000 per
day)

 

Thanks!

 

 

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

* Re: where is max_fsm_pages in PG9.0?
@ 2011-09-20 04:49  Scott Marlowe <scott.marlowe@gmail.com>
  parent: Anibal David Acosta <aa@devshock.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Scott Marlowe @ 2011-09-20 04:49 UTC (permalink / raw)
  To: Anibal David Acosta <aa@devshock.com>; +Cc: pgsql-performance

On Mon, Sep 19, 2011 at 10:28 PM, Anibal David Acosta <aa@devshock.com> wrote:
> I have a lot of wasted bytes in some tables.
>
> Somewhere I read that maybe auto-vacuum can’t release space due to a low
> max_fsm_pages setting.

It's no longer there, as fsm was moved from memory (which was limited
by max fsm pages) to disk, which is limited by the size of your disks.

Most likely you aren't vacuuming aggresively enough.  Lower
autovacuum_vacuum_cost_delay and raise autovacuum_vacuum_cost_limit,
and possibly raise max threads for vacuum works (forget the name)



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


end of thread, other threads:[~2011-09-20 04:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 04:28 where is max_fsm_pages in PG9.0? Anibal David Acosta <aa@devshock.com>
2011-09-20 04:49 ` Scott Marlowe <scott.marlowe@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