From: Rod Taylor <pg@rbt.ca>
To: gerard.isdell@kinetic.co.uk
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: very slow simple query - outer join makes it quicker
Date: Mon, 19 Apr 2004 08:01:15 -0400
Message-ID: <1082376074.24414.3.camel@jester> (raw)
In-Reply-To: <WorldClient-F200404191159.AA59480054@kinetic.co.uk>
References: <WorldClient-F200404191159.AA59480054@kinetic.co.uk>
> There are other tables, such as the messages table, that have 10s of
> thousands of rows and they return records much more quickly.
> There must be something seriously wrong for simple queries like this to take
> so long.
Have you run VACUUM recently?
If not, run VACUUM FULL against the users table and see if that makes a
difference.
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: pg@rbt.ca, gerard.isdell@kinetic.co.uk
Subject: Re: very slow simple query - outer join makes it quicker
In-Reply-To: <1082376074.24414.3.camel@jester>
* 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