| От | Vik Fearing |
|---|---|
| Тема | Re: ALTER TABLE and vacuum |
| Дата | |
| Msg-id | 57553BF2.3000002@2ndquadrant.fr обсуждение исходный текст |
| Ответ на | ALTER TABLE and vacuum (Rick Widmer <pgsql@rickwidmer.com>) |
| Список | pgsql-general |
On 06/06/16 10:55, Rick Widmer wrote: > Do I need to vacuum after an alter table command? If the specific command you do rewrites the table, you absolutely should vacuum in order to restore the visibility map. Otherwise, it not necessary. > Does it matter if there is a default or if we accept NULLs for the new > field? Yes, that makes a difference. If you add a column that defaults to NULL, the table will not be rewritten. -- Vik Fearing +33 6 46 75 15 36 http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера