pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rolf Østvik <rolfostvik@yahoo.no>
To: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Worse perfomance on 8.2.0 than on 7.4.14
Date: Mon, 1 Jan 2007 16:14:14 +0100 (CET)
Message-ID: <537403.18171.qm@web26310.mail.ukl.yahoo.com> (raw)
In-Reply-To: <5AB35188-5686-4201-A182-5A0321288084@fastcrypt.com>


--- Dave Cramer <pg@fastcrypt.com> skrev:

> 
> On 31-Dec-06, at 6:33 AM, Rolf Østvik wrote:
> 
> >
> > Hi
> >
> > I have a simple query which uses 32ms on 7.4.14
> and 1015ms on 8.2.0.
> > I guess 7.4.14 creates a better execution plan
> than 8.2.0 for this  
> > query but
> > i don't know how to get it to select a better one.
> > Explain analyse output will be found near the end
> of the e-mail.
> >
> > (I have simplified my real query to get it as
> simple as possible.  
> > The original query
> > contain 6 tables and was acceptable on 7.4.2, but
> took far too long  
> > on 8.1.4)
> >
> > I have made a test setup to compare 7.4.14, 8.1.4
> and 8.2.0.
> > 8.1.4 and 8.2.0 uses the same execution plan and
> same time to execute.
> >
> > postgresql.conf values i changed is
> > 7.4.14
> > 	Raised shared_buffers from 32MB to 128MB
> > 	Raised temp_buffers from 8MB to 32MB
> > 8.2.0
> > 	Raised shared_buffers from 32MB to 128MB
> > 	Raised temp_buffers from 8MB to 32MB
> > 	Raised work_mem from 1MB to 8MB
> >
> set effective_cache to 3G
> shared buffers should be 1G on this computer for 8.2

Thanks for the input. Did not have a big influence on
my specific problem but comments as this is very
valuable in the total setup of my server.

Best regards
Rolf Østvik

__________________________________________________
Bruker du Yahoo!?
Lei av spam?  Yahoo! Mail har den beste spambeskyttelsen 
http://no.mail.yahoo.com 



view thread (17+ messages)  latest in thread

Message-ID: <537403.18171.qm@web26310.mail.ukl.yahoo.com>
Permalink:  ../537403.18171.qm@web26310.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/537403.18171.qm@web26310.mail.ukl.yahoo.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: rolfostvik@yahoo.no, pg@fastcrypt.com
  Subject: Re: Worse perfomance on 8.2.0 than on 7.4.14
  In-Reply-To: <537403.18171.qm@web26310.mail.ukl.yahoo.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