Re: Query times change by orders of magnitude as DB ages
В списке pgsql-performance по дате отправления:
| От | Richard Neill |
|---|---|
| Тема | Re: Query times change by orders of magnitude as DB ages |
| Дата | |
| Msg-id | 4B0D1EC2.9050203@hermes.cam.ac.uk обсуждение |
| Ответ на | Re: Query times change by orders of magnitude as DB ages (Matthew Wakeling <matthew@flymine.org>) |
| Список | pgsql-performance |
Matthew Wakeling wrote: > On Sun, 22 Nov 2009, Richard Neill wrote: >> Worse still, doing a cluster of most of the tables and vacuum full >> analyze > > Why are you doing a vacuum full? That command is not meant to be used > except in the most unusual of circumstances, as it causes bloat to indexes. We'd left it too long, and the DB was reaching 90% of disk space. I didn't realise that vacuum full was ever actively bad, only sometimes unneeded. I do now - thanks for the tip. > > If you have run a cluster command, then running vacuum full will make > the table and index layout worse, not better. > So, having managed to bloat the indexes in this way, what can I do to fix it? Will a regular vacuum do the job? Richard
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера