| От | Chad Wagner |
|---|---|
| Тема | Re: Querying distinct values from a large table |
| Дата | |
| Msg-id | 81961ff50701300703r538cfd58o511ef68ee90a90e5@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Querying distinct values from a large table ("Luke Lonergan" <llonergan@greenplum.com>) |
| Ответы |
Re: Querying distinct values from a large table
|
| Список | pgsql-performance |
Not that it helps Igor, but we've implemented single pass sort/unique,
grouping and limit optimizations and it speeds things up to a single seqscan
over the data, from 2-5 times faster than a typical external sort.
I can't think of a way that indexing would help this situation given the
required visibility check of each tuple.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера