max_fsm_relations question

Поиск
Список
Период
Сортировка
От Kynn Jones
Тема max_fsm_relations question
Дата
Msg-id c2350ba40808051016o63d70d78l112f7b42015f871@mail.gmail.com
обсуждение исходный текст
Ответы Re: max_fsm_relations question  (Bill Moran <wmoran@collaborativefusion.com>)
Список pgsql-general
Hi.  I have a database that is created and populated by a Perl script.  (FWIW, the size of this database is about 12GB, according to pg_database_size()).

If, right after the database is built, I connect to it and manually run VACUUM ANALYZE, I get the warning

NOTICE:  max_fsm_relations(1000) equals the number of relations checked
HINT:  You have at least 1000 relations.  Consider increasing the configuration parameter "max_fsm_relations".

I find this puzzling because the database has only 120 relations.

Is there a way I can structure the populating of the database to get rid of this message?  E.g. would it help to have the script run VACUUM after it populates each new table?

Thanks!

Kynn

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum Vs Vacuum Full
Следующее
От: Bill Moran
Дата:
Сообщение: Re: max_fsm_relations question