Re: Force a merge join?

From: "Ian Harding" <ianh(at)tpchd(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Force a merge join?
Date: 2002-05-20 17:51:00
Message-ID: sce8d54f.019@mail.tpchd.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

OK, I posted the current schema and before and after EXPLAIN output.

The problem query is "select * from vtb_allocpayroll". It is messy, but works fine until I analyze things...

http://www.pakrat.com/pgtrouble

I will look into the pg_stats thing I saw mentioned, but am not sure if it applies since I am way back at 7.1.3.

planning=# select version();
version
--------------------------------------------------------------
PostgreSQL 7.1.3 on i386--netbsd, compiled by GCC egcs-1.1.2
(1 row)

Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: iharding(at)tpchd(dot)org

>>> Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> 05/17/02 04:08PM >>>
On Fri, 17 May 2002 10:06:32 -0700
"Ian Harding" <ianh(at)tpchd(dot)org> wrote:
> I can forward my schema and another example to the group if anyone wants.

Yes, I'd be interested in seeing that, as well as the output of
EXPLAIN ANALYZE for both the good and bad query plans.

Cheers,

Neil

--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC

Browse pgsql-general by date

  From Date Subject
Next Message Darren Ferguson 2002-05-20 18:46:17 Re: sun solaris & postgres
Previous Message Cindy 2002-05-20 17:49:48 Re: sun solaris & postgres