Skip site navigation (1) Skip section navigation (2)

Re: test / live environment, major performance difference

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christo Du Preez <christo(at)mecola(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: test / live environment, major performance difference
Date: 2007-06-12 17:37:49
Message-ID: 19136.1181669869@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Christo Du Preez <christo(at)mecola(dot)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

In response to

Responses

pgsql-performance by date

Next:From: Christo Du PreezDate: 2007-06-12 17:53:00
Subject: Re: test / live environment, major performance difference
Previous:From: Christo Du PreezDate: 2007-06-12 16:59:16
Subject: Re: test / live environment, major performance difference

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group