pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hervé Piedvache <herve@elma.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: Why memory is not used ? Why vacuum so slow ?
Date: Fri, 02 Jan 2004 09:42:28 -0500
Message-ID: <5630.1073054548@sss.pgh.pa.us> (raw)
In-Reply-To: <200401021042.57714.herve@elma.fr>
References: <200401021042.57714.herve@elma.fr>

=?iso-8859-15?q?Herv=E9=20Piedvache?= <herve@elma.fr> writes:
> Second point ... after importing my dump ... I make a vacuum full analyze of 
> my base (in same time because of my caculation of the day before for my 
> aggregats and stats tables about 200 000 row deleted and/or inserted for more
> than 20 tables (each)) ... but It takes about 5 hours ...

Don't do vacuum full.  You should not need it in ordinary circumstances,
if you are doing plain vacuums on a reasonable schedule and you have the
FSM parameters set high enough.  (You do not BTW ... with 175000 pages in
this table alone, 10000 FSM pages for the whole database is surely too
low.)

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <5630.1073054548@sss.pgh.pa.us>
Permalink:  ../5630.1073054548@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5630.1073054548@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, herve@elma.fr
  Subject: Re: Why memory is not used ? Why vacuum so slow ?
  In-Reply-To: <5630.1073054548@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