pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pginfo <pginfo@t1.unisoftbg.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: slow vacuum performance
Date: Wed, 24 Mar 2004 11:20:15 +0100
Message-ID: <406160DF.44D0988C@t1.unisoftbg.com> (raw)

Hi,

I am running pg 7.4.1 on linux box.
I have a midle size DB with many updates and after it I try to run
vacuum full analyze.
It takes about 2 h.
If I try to dump and reload the DB it take 20 min.

How can I improve the vacuum full analyze time?

My configuration:

shared_buffers = 15000          # min 16, at least max_connections*2,
8KB each
sort_mem = 10000                # min 64, size in KB
vacuum_mem = 32000              # min 1024, size in KB
effective_cache_size = 40000    # typically 8KB each
#max_fsm_pages = 20000          # min max_fsm_relations*16, 6 bytes each

#max_fsm_relations = 1000       # min 100, ~50 bytes each


regards,
ivan.




view thread (12+ messages)  latest in thread

Message-ID: <406160DF.44D0988C@t1.unisoftbg.com>
Permalink:  ../406160DF.44D0988C@t1.unisoftbg.com/
Also on:    postgresql.org/message-id/406160DF.44D0988C@t1.unisoftbg.com

 · 

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: pginfo@t1.unisoftbg.com
  Subject: Re: slow vacuum performance
  In-Reply-To: <406160DF.44D0988C@t1.unisoftbg.com>

* 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