pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: nikhil raj <nikhilraj474@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-admin@postgresql.com
To: k.knizhnik@postgrespro.ru
Subject: Re: How to find the hits on the databases and tables in Postgres
Date: Fri, 4 May 2018 06:21:00 -0700
Message-ID: <ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com> (raw)
In-Reply-To: <CAG1ps1wUzN2san+phH=Zv_C_UpCtiRQg_ESv5moeVqGT8qT2Zg@mail.gmail.com>
References: <CAG1ps1wUzN2san+phH=Zv_C_UpCtiRQg_ESv5moeVqGT8qT2Zg@mail.gmail.com>

On 05/04/2018 04:44 AM, nikhil raj wrote:
> Hi,
> Any one can please help me out
> 
> How to monitor the Hits on database and how many hits on each user 
> tablesĀ  Through query.
> Is there any other tools for that so it can full fill my requirement for 
> it .

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

https://www.postgresql.org/docs/10/static/monitoring-stats.html#PG-STAT-DATABASE-VIEW

https://www.postgresql.org/docs/10/static/monitoring-stats.html#PG-STAT-DATABASE-VIEW

pg_stat_user_tables Same as pg_stat_all_tables, except that only user 
tables are shown.

> 
> Thanks,
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (8+ messages)  latest in thread

Message-ID: <ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com>
Permalink:  ../ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com/
Also on:    postgresql.org/message-id/ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, nikhilraj474@gmail.com, pgsql-admin@postgresql.com, k.knizhnik@postgrespro.ru
  Subject: Re: How to find the hits on the databases and tables in Postgres
  In-Reply-To: <ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com>
  References: <CAG1ps1wUzN2san+phH=Zv_C_UpCtiRQg_ESv5moeVqGT8qT2Zg@mail.gmail.com> <ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com>

* 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