pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: pierre@desertmoon.com
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] 6.4.x vs. 6.5 oddity
Date: Mon, 8 Mar 1999 15:22:42 -0500 (EST)
Message-ID: <199903082022.PAA08525@candle.pha.pa.us> (raw)
In-Reply-To: <19990308202253.21864.qmail@desertmoon.com>

> > 
> > > All,
> > >   I have started playing with 6.5 and duped my DB onto a
> > > spare box. I grabbed one of the most intensive queries that
> > > runs under the current system and ran it on 6.5. It took
> > > FOREVER. I then ran explain on both 6.4 and 6.5 and here is
> > > the output for both...can anyone explain what the issue is here?
> > > Or is it just that 6.5 is still in development?
> > > 
> > > (All tables are vacuumed)
> > > 
> > 
> > Also, during the recent weeks, GEQO was being enabled for >= 6 tables. 
> > Try SET GEQO TO 'off'.  The current CVS has the GEQO setting at 11.
> > 
> 
> Ahh..tat fixed it. I already had the db vacuum analyze(d) and setting
> GEQO to off gave me an EXPLAIN that was close to the one from 6.4
> here it is:

Good.

> 
> I do have one question...this particular query is taking about 20 seconds
> to return...I've got postmaster setup with -i -B 512 -S -o -F, I had read
> on this list that 6.5 was supposed to have a bit of a speed increase. Of
> course this could be that I've only got 32MB in this test machine..?

Should be much faster for joining many tables like this case.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (6+ messages)  latest in thread

Message-ID: <199903082022.PAA08525@candle.pha.pa.us>
Permalink:  ../199903082022.PAA08525@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199903082022.PAA08525@candle.pha.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: maillist@candle.pha.pa.us, pierre@desertmoon.com
  Subject: Re: [SQL] 6.4.x vs. 6.5 oddity
  In-Reply-To: <199903082022.PAA08525@candle.pha.pa.us>
  References: <19990308202253.21864.qmail@desertmoon.com> <199903082022.PAA08525@candle.pha.pa.us>

* 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