Re: test / live environment, major performance difference - Mailing list pgsql-performance

From Tom Lane
Subject Re: test / live environment, major performance difference
Date
Msg-id 19136.1181669869@sss.pgh.pa.us
Whole thread Raw
In response to Re: test / live environment, major performance difference  (Christo Du Preez <christo@mecola.com>)
Responses Re: test / live environment, major performance difference
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Christo Du Preez
Date:
Subject: Re: test / live environment, major performance difference
Next
From: Christo Du Preez
Date:
Subject: Re: test / live environment, major performance difference