Re: Performance problem with a table with 38928077 record
В списке pgsql-performance по дате отправления:
| От | Shaun Thomas |
|---|---|
| Тема | Re: Performance problem with a table with 38928077 record |
| Дата | |
| Msg-id | 4EA9BF84.3000203@peak6.com обсуждение исходный текст |
| Ответ на | Re: Performance problem with a table with 38928077 record (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Performance problem with a table with 38928077 record
|
| Список | pgsql-performance |
On 10/27/2011 02:13 PM, Robert Haas wrote: > If I had to guess, I'd bet that the second one is trying to spool the > resultset in memory someplace and that's driving the machine into > swap. That would be my guess too. SELECT * on a 40-million row table is a *lot* different than getting the count, which throws away the rows once it verifies they're valid. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера