From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christo Du Preez <christo@mecola.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: test / live environment, major performance difference
Date: Tue, 12 Jun 2007 13:37:49 -0400
Message-ID: <19136.1181669869@sss.pgh.pa.us> (raw)
In-Reply-To: <466ED0E4.3040803@mecola.com>
References: <466EA078.20601@mecola.com>
<8385.1181664586@sss.pgh.pa.us>
<466ED0E4.3040803@mecola.com>
Christo Du Preez <christo@mecola.com> writes:
> Yes, I have just about tried every combination of vacuum on the
> database. Just to make 100% sure.
Well, there's something mighty wacko about that rowcount estimate;
even if you didn't have stats, the estimate for a simple equality
constraint oughtn't be 100% match.
What do you get from SELECT * FROM pg_stats WHERE tablename = 'layertype'
on both systems?
regards, tom lane
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: tgl@sss.pgh.pa.us, christo@mecola.com
Subject: Re: test / live environment, major performance difference
In-Reply-To: <19136.1181669869@sss.pgh.pa.us>
* 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