From: Dave Dutcher <dave@tridecap.com>
To: 'Christo Du Preez' <christo@mecola.com>
To: pgsql-performance@postgresql.org
Subject: Re: test / live environment, major performance difference
Date: Mon, 11 Jun 2007 11:16:52 -0500
Message-ID: <01d001c7ac43$ec686780$2e00a8c0@tridecap.com> (raw)
In-Reply-To: <466D65CA.6000503@mecola.com>
References: <466D65CA.6000503@mecola.com>
> -----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
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: dave@tridecap.com, christo@mecola.com
Subject: Re: test / live environment, major performance difference
In-Reply-To: <01d001c7ac43$ec686780$2e00a8c0@tridecap.com>
* 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