Re: more detailed description of tup_returned and tup_fetched

Поиск
Список
Период
Сортировка
От Masahiro Ikeda
Тема Re: more detailed description of tup_returned and tup_fetched
Дата
Msg-id e50ffb9e-153f-cb1a-3e59-7edee60941cc@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: more detailed description of tup_returned and tup_fetched  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: more detailed description of tup_returned and tup_fetched  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-docs

On 2021/05/20 17:00, Fujii Masao wrote:
> On 2021/05/20 9:46, Masahiro Ikeda wrote:
>> On 2021/05/18 20:10, Fujii Masao wrote:
>>>>> pg_stat_database.tup_fetched:
>>>>> Number of index entries returned by scans on indexes in this database
>>>> Is this the sum of pg_stat_all_indexes.idx_tup_read? This is accounted to
>>>> pg_stat_database.tup_returned.
>>>
>>> I was thinking that pg_stat_database.tup_fetched is the same as
>>> the sum of pg_stat_all_tables.idx_tup_fetch. Because they both
>>> are incremented by bitmap index scans, but pg_stat_all_indexes.idx_tup_read
>>> is not.
>>
>> Yes. So, "Number of index entries returned by scans on indexes in this
>> database" is incorrect, and "Number of live rows fetched by index scans in
>> this database" is correct?
> 
> Yes, I think so!

Thanks!
I updated the patch for summarizing this thread.

Regards,
-- 
Masahiro Ikeda
NTT DATA CORPORATION

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: more detailed description of tup_returned and tup_fetched
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: pg_monitor role description