| От | Sander Steffann |
|---|---|
| Тема | Re: VACUUM not doing its job? |
| Дата | |
| Msg-id | 001201c23b41$799a8d00$64c8a8c0@balefire10ww обсуждение исходный текст |
| Ответ на | VACUUM not doing its job? ("Kristian Eide" <kreide@online.no>) |
| Список | pgsql-sql |
> This is not good as the database is in use 24/7, and without the indexes > everything comes to a screeching halt. This means I probably will have to > stop the programs using the database for the time it takes to re-create the > indexes; this is better than having to dump/restore everything however :) You can try using REINDEX instead of dropping and creating the index. It takes an exclusive lock on the table (instead of a write-lock during CREATE INDEX) so your application will have to wait during reindex, but maybe it is faster... When you use the reindexdb script in the contrib dir you can even put it in a crontab. Sander
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера