more detailed description of tup_returned and tup_fetched

Masahiro Ikeda <ikedamsh@oss.nttdata.com>

From: Masahiro Ikeda <ikedamsh@oss.nttdata.com>
To: pgsql-docs@lists.postgresql.org
Date: 2021-05-14T08:00:45Z
Lists: pgsql-docs

Attachments

Hi,

I worried the difference between "tup_returned" and "tup_fetched" in
pg_stat_database. I assumed that "tup_returned" means the number of tuples
that returned to clients. Of course, this is wrong.

So, why don't you describe in more detail? If my understanding is right, they
correspond to "seq_tup_read" and "idx_tup_fetch" in pg_stat_all_tables.

Regards,
-- 
Masahiro Ikeda
NTT DATA CORPORATION

Commits

  1. doc: Improve descriptions of tup_returned and tup_fetched in pg_stat_database