Re: MERGE: performance advices

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: MERGE: performance advices
Дата
Msg-id 16704.1220378287@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: MERGE: performance advices  ("Richard Broersma" <richard.broersma@gmail.com>)
Ответы Re: MERGE: performance advices  (Steve Clark <sclark@netwolves.com>)
Re: MERGE: performance advices  ("Richard Broersma" <richard.broersma@gmail.com>)
Список pgsql-general
"Richard Broersma" <richard.broersma@gmail.com> writes:
> There is one possible alteration that may or many not improve
> performance.  This would be to replace the EXISTS with a LEFT JOIN
> WHERE IS NOT NULL;

That changes the behavior, doesn't it?  Or is event_log_no a unique
key for Myevents?  I think what you want is to make the EXISTS an IN
instead.

            regards, tom lane

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

Предыдущее
От: Steve Clark
Дата:
Сообщение: Re: MERGE: performance advices
Следующее
От: Steve Clark
Дата:
Сообщение: Re: MERGE: performance advices