Re: Help with extracting large volumes of records across related tables
В списке pgsql-performance по дате отправления:
| От | Pierre-Frédéric Caillaud |
|---|---|
| Тема | Re: Help with extracting large volumes of records across related tables |
| Дата | |
| Msg-id | opsd9qi9udcq72hf@musicbox обсуждение исходный текст |
| Ответ на | Re: Help with extracting large volumes of records across related tables ("Damien Dougan" <damien.dougan@mobilecohesion.com>) |
| Список | pgsql-performance |
Thanks for the thanks !
Generally, when grouping stuff together, it is a good idea to have two
sorted lists, and to scan them simultaneously. I have already used this
solution several times outside of Postgres, and it worked very well (it
was with Berkeley DB and there were 3 lists to scan in order). The fact
that Python can very easily virtualize these lists using generators makes
it possible to do it without consuming too much memory.
> Pierre-Frederic, Paul,
>
> Thanks for your fast response (especially for the python code and
> performance figure) - I'll chase this up as a solution - looks most
> promising!
>
> Cheers,
>
> Damien
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера