Re: [HACKERS] Re: subquery performance and EXISTS

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: subquery performance and EXISTS
Дата
Msg-id 199912292120.QAA11403@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: subquery performance and EXISTS  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Re: subquery performance and EXISTS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom, does it still look easy to change, and if so, can you change it to
> > hash?
> 
> We could probably do it, but there is the little problem that hash joins
> only work for a very limited set of data types and operators.  This
> wouldn't be a complete solution on its own.

How hard would it be to have the EXISTS be done automatically?  The
performance problem for subqueries has bothered me for two years now.  I
don't think I know enough to fix it, though.

--  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,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mike Mascari
Дата:
Сообщение: Re: [HACKERS] Using aggregate in HAVING
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Index corruption