| От | Craig Ringer |
|---|---|
| Тема | Re: slow pgsql tables - need to vacuum? |
| Дата | |
| Msg-id | 47F90D1B.4000306@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Re: slow pgsql tables - need to vacuum? ("Douglas McNaught" <doug@mcnaught.org>) |
| Ответы |
Re: slow pgsql tables - need to vacuum?
|
| Список | pgsql-general |
Douglas McNaught wrote: > You need to ANALYZE the tables after you load them, and make sure you > have indexes on the column you're querying (which it sounds like you > do, but they're not being used because the statistics for the table > are inaccurate). I've seen discussion here that made it sound like a REINDEX might also be required on tables with really high data churn (ie when VACUUM / VACUUM FULL are run a lot) - if you're not dropping and re-creating the indexes for better bulk load performance anyway, of course. Am I just confused, or can this sometimes be necessary? -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера