From: | markw(at)osdl(dot)org |
---|---|
To: | tgl(at)sss(dot)pgh(dot)pa(dot)us, josh(at)agliodbs(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org, jenny(at)osdl(dot)org |
Subject: | Re: Proposed Query Planner TODO items |
Date: | 2004-02-09 17:04:54 |
Message-ID: | 200402091704.i19H4wE24490@mail.osdl.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 6 Feb, To: tgl(at)sss(dot)pgh(dot)pa(dot)us wrote:
> On 5 Jan, Tom Lane wrote:
>> Josh Berkus <josh(at)agliodbs(dot)com> writes:
>>> 2) DEVELOP BETTER PLANS FOR "OR GROUP" QUERIES
>>
>>> Summary: Currently, queries with complex "or group" criteria get devolved by
>>> the planner into canonical and-or filters resulting in very poor execution on
>>> large data sets. We should find better ways of dealing with these queries,
>>> for example UNIONing.
>>
>>> Description: While helping OSDL with their derivative TPC-R benchmark, we ran
>>> into a query (#19) which took several hours to complete on PostgreSQL.
http://developer.osdl.org/markw/dbt3-pgsql/
There's a short summary of the tests I ran over the weekend, with links
to detailed retults. Comparing runs 43 (7.4) and 52 (7.5devel), it
looks like query #7 had the only significant improvement. Oprofile data
should be there too, if that'll help. Let us know if there's anything
else we can try for you.
Mark
From | Date | Subject | |
---|---|---|---|
Next Message | scott.marlowe | 2004-02-09 17:04:56 | Re: PITR Dead horse? |
Previous Message | Edwin S. Ramirez | 2004-02-09 16:59:35 | Re: Transaction aborts on syntax error. |