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: 1074677650.2060.26.camel@jbaekelandt.dev.kiala.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,

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

Responses

Browse pgsql-performance by date

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