| От | Heikki Linnakangas |
|---|---|
| Тема | Re: Performing antijoin in postgres |
| Дата | |
| Msg-id | 46D7DBDD.6040603@enterprisedb.com обсуждение исходный текст |
| Ответ на | Performing antijoin in postgres (Suresh_ <suiyengar@yahoo.com>) |
| Список | pgsql-hackers |
Suresh_ wrote: > I want to add an antijoin operator to PostgreSql. Basically I want to store > the result (tupletableslot) of one join and then compare it with > another..How do I store these results and how do I compare them ? I would suggest implementing it at a higher level, rewriting a query like "A ANTIJOIN B" to "A EXCEPT (A JOIN B)". That allows the planner to use whatever methods it has to perform the EXCEPT and the JOIN operations. At the moment there's only one method: sort the inputs and do a merge, but it's conceivable that you could implement EXCEPT using hashing, for example. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера