| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | nikhil raj <nikhilraj474(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)com, k(dot)knizhnik(at)postgrespro(dot)ru |
| Subject: | Re: How to find the hits on the databases and tables in Postgres |
| Date: | 2018-05-04 13:21:00 |
| Message-ID: | ac6119da-fe24-89ec-6683-3ade0b8ac46f@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2018-05-04 13:32:08 | Re: Query planner riddle (array-related?) |
| Previous Message | Adrian Heath | 2018-05-04 11:45:00 | Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) |