| От | Tom Lane |
|---|---|
| Тема | Re: Vacuum writes on empty system |
| Дата | |
| Msg-id | 13342.1096655627@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Vacuum writes on empty system ("onion" <onion@taxi.com>) |
| Список | pgsql-hackers |
"onion" <onion@taxi.com> writes:
> I just loaded up 9GB of data (32 tables) into a brand new system (Postgres
> 7.4.5 on Linux 2.4 with 1GB ram, IDE). I immediately ran "vacuum analyze"
> but Postgres seems to be writing a lot to disk even though none of the
> tables have incurred any UPDATES or DELETES yet and there are no other
> connections or process running. Is it normal for vacuum to be writing to
> disk even when there is nothing to clean up?
Your assumption that there is nothing for VACUUM to do is mistaken.
It's probably setting the known-committed hint bits in all the tuple
headers of the newly loaded data.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера