Re: RES: How to improve postgres performace

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RES: How to improve postgres performace
Дата
Msg-id 23919.1113845568@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RES: How to improve postgres performace  ("Rodrigo Moreno" <rodrigo.miguel@terra.com.br>)
Ответы RES: RES: How to improve postgres performace  ("Rodrigo Moreno" <rodrigo.miguel@terra.com.br>)
Список pgsql-performance
"Rodrigo Moreno" <rodrigo.miguel@terra.com.br> writes:
> The current values for:
> max_fsm_pages = 1048576
> max_fsm_relations = 1000
> this is enough ?

That max_fsm_pages value is enough to cover 8Gb, so it should work OK
for a database disk footprint up to 10 or so Gb.  I don't know how many
tables in your installation so I can't say if max_fsm_relations is high
enough, but you can check that by looking at the tail end of the output
of VACUUM VERBOSE.  (Or just count 'em ;-))

Offhand these look reasonable, though, so if you are seeing database
bloat over time it probably means you need to tweak your autovacuum
settings.  I'm not much of an autovacuum expert, but maybe someone
else can help you there.

You might want to keep track of physical file sizes over a period of
time and try to determine exactly where the bloat is happening.

            regards, tom lane

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

Предыдущее
От: Jacques Caron
Дата:
Сообщение: Re: How to improve db performance with $7K?
Следующее
От: Alan Stange
Дата:
Сообщение: Re: How to improve db performance with $7K?