| От | Greg Stark |
|---|---|
| Тема | Re: PostgreSQL slow after VACUUM |
| Дата | |
| Msg-id | 87pt20x4xm.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: PostgreSQL slow after VACUUM (Arjen van der Meijden <acmmailing@vulcanus.its.tudelft.nl>) |
| Список | pgsql-general |
Arjen van der Meijden <acmmailing@vulcanus.its.tudelft.nl> writes: > My suggestion is to VACUUM (FULL) the table after you've deleted the data. > Then fill up the table and do a ANALYZE when you're done filling it. For now you might be able to improve matters by doing an ANALYZE even while it's busy doing the import. Depending on how the import is coded it may or may not have an immediate effect. VACUUM and ANALYZE (and VACUUM ANALYZE) are fairly quick and don't block access to the tables, though they can slow it down somewhat. You probably want to be running them frequently so you don't have to resort to VACUUM FULL. -- greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера