slow vacuum performance

From: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: slow vacuum performance
Date: 2004-03-24 10:20:15
Message-ID: 406160DF.44D0988C@t1.unisoftbg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Sullivan 2004-03-24 12:04:40 Re: [ADMIN] Benchmarking postgres on Solaris/Linux
Previous Message Mark Kirkwood 2004-03-24 09:26:27 Re: Fwd: FreeBSD, PostgreSQL, semwait and sbwait!