Re: Does pg_stat_get_live_tuples() matter?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Does pg_stat_get_live_tuples() matter?
Дата
Msg-id ea347682-eb9b-fad5-cf82-4abecf93954d@aklaver.com
обсуждение исходный текст
Ответ на Does pg_stat_get_live_tuples() matter?  (Sherrylyn Branchaw <sbranchaw@gmail.com>)
Ответы Re: Does pg_stat_get_live_tuples() matter?  (Sherrylyn Branchaw <sbranchaw@gmail.com>)
Список pgsql-general
On 4/9/19 9:45 AM, Sherrylyn Branchaw wrote:
> If a table has 1.8M rows in reality, yet pg_stat_get_live_tuples() 
> returns 1.8K, does it matter to the performance of the database, as long 
> as pg_class.reltuples is the right order of magnitude?

What version of Postgres?

How are you getting at the 1.8M number?

> 
> The query planner seems to use the accurate estimate, but what about the 
> autovacuum daemon? Or anything else?
> 
> In short, is pg_stat_get_live_tuples() (and the views that invoke it) 
> used by any built-in tooling, or is it just there for the user to do 
> monitoring?
> 
> Thanks,
> Sherrylyn


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Sherrylyn Branchaw
Дата:
Сообщение: Does pg_stat_get_live_tuples() matter?
Следующее
От: Sherrylyn Branchaw
Дата:
Сообщение: Re: Does pg_stat_get_live_tuples() matter?