From: Patrick Welche <prlw1@newn.cam.ac.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Patrick Welche <prlw1@newn.cam.ac.uk>
Cc: pgsql-general@postgresql.org
Subject: Re: explain ?
Date: Sun, 20 Apr 2003 00:18:30 +0100
Message-ID: <20030420001830.A24853@quartz.newn.cam.ac.uk> (raw)
In-Reply-To: <3742.1050675633@sss.pgh.pa.us>
References: <20030418141905.E18170@quartz.newn.cam.ac.uk>
<3742.1050675633@sss.pgh.pa.us>
On Fri, Apr 18, 2003 at 10:20:33AM -0400, Tom Lane wrote:
> Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> > I created an index on firsttimei, vacuum full analysed, and explain showed me
> > *exactly* the same thing(!) The difference being that the query is now
> > lightning fast :-)
>
> Perhaps the vacuum got rid of a whole bunch of dead rows?
I had done a vacuum full earlier.. and by dog slow versus lightning
fast, I mean 1 unit of data inserted in just over an hour versus
8.6 units of data inserted in 2 mins 29 seconds(!) Well, I'm
certainly not complaining!
Cheers,
Patrick
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-general@postgresql.org
Cc: prlw1@newn.cam.ac.uk, tgl@sss.pgh.pa.us
Subject: Re: explain ?
In-Reply-To: <20030420001830.A24853@quartz.newn.cam.ac.uk>
* 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