pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vinny <vinny@xs4all.nl>
To: Metatrader EA <metatraderea@gmail.com>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-performance-owner@postgresql.org
Subject: Re: DO I miss something ?
Date: Fri, 18 Nov 2016 15:04:46 +0100
Message-ID: <96622dd7e044b70c019de4987a68129d@xs4all.nl> (raw)
In-Reply-To: <CAJNXAk3=Tsqh4myxjonyA3ov9OeM_KB4CReRA1On7YAzJUpV_g@mail.gmail.com>
References: <CAJNXAk3=Tsqh4myxjonyA3ov9OeM_KB4CReRA1On7YAzJUpV_g@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

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



view thread (2+ messages)

Message-ID: <96622dd7e044b70c019de4987a68129d@xs4all.nl>
Permalink:  ../96622dd7e044b70c019de4987a68129d@xs4all.nl/
Also on:    postgresql.org/message-id/96622dd7e044b70c019de4987a68129d@xs4all.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: vinny@xs4all.nl, metatraderea@gmail.com, pgsql-performance-owner@postgresql.org
  Subject: Re: DO I miss something ?
  In-Reply-To: <96622dd7e044b70c019de4987a68129d@xs4all.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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