| От | Robert Gravsjö |
|---|---|
| Тема | Re: Pre-calculate hash join |
| Дата | |
| Msg-id | 4B4CA123.6090309@blogg.se обсуждение исходный текст |
| Ответ на | Re: Pre-calculate hash join (Dimitri Fontaine <dfontaine@hi-media.com>) |
| Список | pgsql-general |
Dimitri Fontaine skrev 2010-01-12 12.01: > warren@warrenandrachel.com writes: > >> When joining two large tables [common in warehousing], a hash join is >> commonly selected. Calculating hash values for the merge phase is CPU >> intensive. Is there any way to pre-calculate value hashes to save that >> time? Would it even grant any performance to skip the build phase of >> the hash join? > > Maybe maintaining a materialized view then using it in the queries would > be sufficient to solve your problem? > Depending on your case creating a temporary table in the beginning of the session might save you a lot of time if multiple similar queries is done. Regards, roppert
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера