pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeroen Baekelandt <jbaekelandt@kiala.com>
To: pgsql-performance@postgresql.org
Subject: Really slow even after vacuum
Date: Wed, 21 Jan 2004 10:34:10 +0100
Message-ID: <1074677650.2060.26.camel@jbaekelandt.dev.kiala.com> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <1074677650.2060.26.camel@jbaekelandt.dev.kiala.com>
Permalink:  ../1074677650.2060.26.camel@jbaekelandt.dev.kiala.com/
Also on:    postgresql.org/message-id/1074677650.2060.26.camel@jbaekelandt.dev.kiala.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: jbaekelandt@kiala.com
  Subject: Re: Really slow even after vacuum
  In-Reply-To: <1074677650.2060.26.camel@jbaekelandt.dev.kiala.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