Skip site navigation (1) Skip section navigation (2)

Really slow even after vacuum

From: Jeroen Baekelandt <jbaekelandt(at)kiala(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Really slow even after vacuum
Date: 2004-01-21 09:34:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

I must have missed something, because I get really slow performance from
PG 7.3.4-RH. This is my situation: I have a table (jms_messages), which
contains 500.000 records. select count(*) from jms_messages is
understandable quite slow. Then I delete all of the records and add 1000
new ones. I run vacuumdb on this database and run select count(*) from
jms_messages again. It takes 80 seconds!?! While before, with 1000
records, it took only a fraction of a second.

Thanks for any tips,

Jeroen Baekelandt


pgsql-performance by date

Next:From: Thierry MissimillyDate: 2004-01-21 09:59:46
Subject: Re: PostgreSQL vs. Oracle disk space usage
Previous:From: Christopher Kings-LynneDate: 2004-01-21 00:24:55
Subject: Re: database profiling

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group