| От | Richard Huxton |
|---|---|
| Тема | Re: Vacuum non-clustered tables only |
| Дата | |
| Msg-id | 464BF1F0.6000004@archonet.com обсуждение исходный текст |
| Ответ на | Vacuum non-clustered tables only (Glen Parker <glenebob@nwlink.com>) |
| Ответы |
Re: Vacuum non-clustered tables only
|
| Список | pgsql-general |
Glen Parker wrote: > I think I know the answer to this, but... > > Is there a semi-easy way vacuum all tables in a database *except* those > that are clustered? > > (VACUUM [full]; CLUSTER;) is a huge waste of time and resources when you > have clustered tables. If there isn't a way to do this, can we consider > it a feature request? > > Perhaps "VACUUM unclustered" or something? A couple of thoughts: 1. You shouldn't routinely be running VACUUM FULL on a recent installation. 2. Autovacuum should effectively do this, assuming the clustered table isn't being updated. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера