Re: [HACKERS] Slow - grindingly slow - query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bhirt(at)mobygames(dot)com
Cc: pgsql-hackers(at)postgreSQL(dot)org, bhirt(at)loopy(dot)berkhirt(dot)com
Subject: Re: [HACKERS] Slow - grindingly slow - query
Date: 1999-11-12 14:58:14
Message-ID: 26649.942418694@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brian Hirt <bhirt(at)mobygames(dot)com> writes:
> Can't the rewrite engine recognize a simple case like the
> one above and rewrite it to use exists and not exists with the proper
> joins? Or possibly the optimizer can generate a better plan?

This is on the TODO list, and will get done someday. IMHO it's not as
urgent as a lot of the planner/optimizer's other shortcomings, because
it can usually be worked around by revising the query.

If it's bugging you enough to go fix it now, contributions are always
welcome ;-)

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 1999-11-12 15:02:45 RFC: create/alter user extension
Previous Message Jan Wieck 1999-11-12 14:57:04 Re: [HACKERS] compression in LO and other fields