Re: double vacuum in initdb

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: double vacuum in initdb
Дата
Msg-id 2070015456.2013171.1418316278764.JavaMail.yahoo@jws10071.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Re: double vacuum in initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: double vacuum in initdb  (Robert Haas <robertmhaas@gmail.com>)
Re: double vacuum in initdb  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> I think we could go to
> PG_CMD_PUTS("ANALYZE;\nVACUUM FULL FREEZE;\n");
>
> without any degradation of the intended results.
>
> Another idea would be to drop the FULL part and make this
>
> PG_CMD_PUTS("ANALYZE;\nVACUUM FREEZE;\n");

We want to finish with VACUUM FREEZE without the FULL, unless we
don't care about missing visibility maps and free space maps.

[ initdb and start the cluster ]

server started
kgrittn@Kevin-Desktop:~/pg/master$ find Debug/data -type f | xargs ls -l >~/ls1

kgrittn@Kevin-Desktop:~/pg/master$ psql -c "vacuum freeze;" postgres
VACUUM
kgrittn@Kevin-Desktop:~/pg/master$ find Debug/data -type f | xargs ls -l >~/ls2

kgrittn@Kevin-Desktop:~/pg/master$ psql -c "vacuum full freeze;" postgres
VACUUM
kgrittn@Kevin-Desktop:~/pg/master$ find Debug/data -type f | xargs ls -l >~/ls3
kgrittn@Kevin-Desktop:~/pg/master$ grep _fsm <~/ls1 | wc -l
116
kgrittn@Kevin-Desktop:~/pg/master$ grep _fsm <~/ls2 | wc -l
119
kgrittn@Kevin-Desktop:~/pg/master$ grep _fsm <~/ls3 | wc -l
80
kgrittn@Kevin-Desktop:~/pg/master$ grep _vm <~/ls1 | wc -l
116
kgrittn@Kevin-Desktop:~/pg/master$ grep _vm <~/ls2 | wc -l
117
kgrittn@Kevin-Desktop:~/pg/master$ grep _vm <~/ls3 | wc -l
77

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [REVIEW] Re: Compression of full-page-writes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 9.5 release scheduling (was Re: logical column ordering)