pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ivan <Ivan-Sun1@mail.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: help me to explain database behaviour after vacuum.
Date: Wed, 24 Aug 2005 15:44:23 -0400
Message-ID: <8335.1124912663@sss.pgh.pa.us> (raw)
In-Reply-To: <15110635069.20050824195044@mail.ru>
References: <15110635069.20050824195044@mail.ru>

Ivan <Ivan-Sun1@mail.ru> writes:
> As you can see, disk usage stop grows for several hours
> (3-5) after vacuum, then start again.

You don't have max_fsm_pages set large enough.  Note the output at the
end of the VACUUM printout:

> INFO:  free space map: 67 relations, 20713 pages stored; 29872 total pages needed
> ÏÎÄÐÎÁÍÎ:  Allocated FSM size: 1000 relations + 20000 pages = 186 kB shared memory.

30000 instead of 20000 would be enough at the moment, but I'd suggest
going to 100000 to give yourself some breathing room.

			regards, tom lane



view thread (3+ messages)

Message-ID: <8335.1124912663@sss.pgh.pa.us>
Permalink:  ../8335.1124912663@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8335.1124912663@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, Ivan-Sun1@mail.ru
  Subject: Re: help me to explain database behaviour after vacuum.
  In-Reply-To: <8335.1124912663@sss.pgh.pa.us>
  References: <15110635069.20050824195044@mail.ru> <8335.1124912663@sss.pgh.pa.us>

* 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