| От | Josh Berkus |
|---|---|
| Тема | Re: external sort performance |
| Дата | |
| Msg-id | 4EC5AACD.9010802@agliodbs.com обсуждение исходный текст |
| Ответ на | Re: external sort performance (Jon Nelson <jnelson+pgsql@jamponi.net>) |
| Список | pgsql-performance |
> The first log statement is expected. The second log statement, however, isn't. > The total table size is (as noted earlier) about 5GB and, in fact, fit > into one nice hash table (approx 15GB in size). > Is the sorting that is necessary for index creation unable to use a > hash table? (This is a standard btree index). How big is the source table? You're not sorting the *result* table, you're sorting the source table if you're summarizing it. If the original source data is only 5GB, I'd check your code for a cartesian join. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера