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

Re: test / live environment, major performance difference

From: "Dave Dutcher" <dave(at)tridecap(dot)com>
To: "'Christo Du Preez'" <christo(at)mecola(dot)com>,<pgsql-performance(at)postgresql(dot)org>
Subject: Re: test / live environment, major performance difference
Date: 2007-06-11 16:16:52
Message-ID: 01d001c7ac43$ec686780$2e00a8c0@tridecap.com (view raw or flat)
Thread:
Lists: pgsql-performance
> -----Original Message-----
> From: Christo Du Preez
> Sent: Monday, June 11, 2007 10:10 AM
>
> I have narrowed down the problem (I think) and it's the query 
> planner using different plans and I haven't got a clue why. 
> Can anyone please shed some light on this?

Different plans can be caused by several different things like different
server versions, different planner settings in the config file, different
schemas, or different statistics.  You say the server versions are the same,
so that's not it.  Is the schema the same?  One isn't missing indexes that
the other has?  Do they both have the same data, or at least very close to
the same data?  Have you run analyze on both of them to update their
statistics?  Do they have the same planner settings in the config file?  I
would check that stuff out and see if it helps.

Dave


In response to

Responses

pgsql-performance by date

Next:From: Vladimir StankovicDate: 2007-06-11 17:21:19
Subject: Variable (degrading) performance
Previous:From: Ansgar -59cobalt- WiechersDate: 2007-06-11 15:58:49
Subject: Re: test / live environment, major performance difference

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