Re: More Autovacuum Questions

Поиск
Список
Период
Сортировка
От Gourish Singbal
Тема Re: More Autovacuum Questions
Дата
Msg-id 674d1f8a0605161109v1292daf1j509baf29442faadc@mail.gmail.com
обсуждение исходный текст
Ответ на More Autovacuum Questions  ("Chris Hoover" <revoohc@gmail.com>)
Список pgsql-admin
 
U can install pgstattuple module which is available in the contrib directory and run it on production as
 
psql> \x
psql> select * from pgstattuple('public'.'tablename');
 
it displays the table_len, tuple_count, tuple_len, tuple_percent, dead_tuple_count, dead_tuple_len,dead_tuple_percent,free_space,free_percent for the table .
 
 
On 5/16/06, Chris Hoover <revoohc@gmail.com> wrote:
Thanks to those who answered my first question.  I am looking at implementing autovacuuming on our new production 8.1.3 systems.  I am reading the documentation on the various configuration parameters.  The autovacuum_analyze_threshold and autovacuum_vacuum_threshold talk about the number of updated and deleted tuples.  Is there anyway to calculate these numbers in a running database?

The reason I'm asking is that we are having some sporadic slowness issues with our databases, and I'm wanting to see how the database looks during these times.  I know that vacuuming some specific tables tends to fix the problem.  So, if I can see what autovacuum might see, I could set the parameters correctly to try and fix the issue.

Anyway, are these number available to me?

Thanks,
 

Chris



--
Best,
Gourish Singbal

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

Предыдущее
От: "Chris Hoover"
Дата:
Сообщение: More Autovacuum Questions
Следующее
От: Dias Costa
Дата:
Сообщение: How can i hide the unnecessary schemas from developers