pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DO I miss something ?
2+ messages / 2 participants
[nested] [flat]

* DO I miss something ?
@ 2016-11-18 13:52  Metatrader EA <metatraderea@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Metatrader EA @ 2016-11-18 13:52 UTC (permalink / raw)
  To: pgsql-performance

Hi,

Do I miss something?
Shouldn't I have some rows from this query ?

Why is it empty?



SELECT relname, idx_tup_fetch + seq_tup_read as TotalReads from
pg_stat_all_tables
 WHERE idx_tup_fetch + seq_tup_read != 0
 order by TotalReads desc
 LIMIT 10;
 relname | totalreads
---------+------------
(0 rows)

//Bill

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DO I miss something ?
@ 2016-11-18 14:04  vinny <vinny@xs4all.nl>
  parent: Metatrader EA <metatraderea@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: vinny @ 2016-11-18 14:04 UTC (permalink / raw)
  To: Metatrader EA <metatraderea@gmail.com>; +Cc: pgsql-performance; pgsql-performance-owner@postgresql.org

On 2016-11-18 14:52, Metatrader EA wrote:
> Hi,
> 
> Do I miss something?
> Shouldn't I have some rows from this query ?
> 
> Why is it empty?
> 
> SELECT relname, idx_tup_fetch + seq_tup_read as TotalReads from
> pg_stat_all_tables
>  WHERE idx_tup_fetch + seq_tup_read != 0
>  order by TotalReads desc
>  LIMIT 10;
>  relname | totalreads
> ---------+------------
> (0 rows)
> 
> //Bill


Is statistics collection enabled in the config?

See: https://www.postgresql.org/docs/9.5/static/monitoring-stats.html


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-11-18 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18 13:52 DO I miss something ? Metatrader EA <metatraderea@gmail.com>
2016-11-18 14:04 ` vinny <vinny@xs4all.nl>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox