pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yeb Havinga <yebhavinga@gmail.com>
To: JOUANIN Nicolas (44) <nicolas.jouanin@dgfip.finances.gouv.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: Two different execution plan for the same request
Date: Wed, 07 Jul 2010 10:27:05 +0200
Message-ID: <4C343A59.7050908@gmail.com> (raw)
In-Reply-To: <4C3432F0.1090004@dgfip.finances.gouv.fr>
References: <4C3432F0.1090004@dgfip.finances.gouv.fr>

JOUANIN Nicolas (44) wrote:
> Hi,
>
> I've trouble with some SQL request which have different execution 
> plans when ran on two different servers. One server is the development 
> environment, the othe rone is th pre-production env.
> Both servers run postgreSQL 8.3.0 on Linux and :
>  - both databases contains the same data (pg_dump/pg_restore between 
> servers)
>  - instances have the same configuration parameters
>  - vaccum and analyze is run every day.
> The only difference I can see is the hardware. The pre-preoduction 
> env. has more RAM, more CPU and a RAID5 disk array through LVM where 
> data are stored.
Hello Jouanin,

Could you give some more information following the guidelines from 
http://wiki.postgresql.org/wiki/SlowQueryQuestions ?

Essential are the contents from both conf files (comments may be removed).

regards,
Yeb Havinga




view thread (7+ messages)  latest in thread

Message-ID: <4C343A59.7050908@gmail.com>
Permalink:  ../4C343A59.7050908@gmail.com/
Also on:    postgresql.org/message-id/4C343A59.7050908@gmail.com

 · 

reply

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: yebhavinga@gmail.com, nicolas.jouanin@dgfip.finances.gouv.fr
  Subject: Re: Two different execution plan for the same request
  In-Reply-To: <4C343A59.7050908@gmail.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