Re: Date range for pg_stat_all_tables?

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Ronit Allen *EXTERN*" <ronit(dot)allen(at)gmail(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Date range for pg_stat_all_tables?
Date: 2012-11-16 09:56:08
Message-ID: D960CB61B694CF459DCFB4B0128514C208B87B80@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ronit Allen wrote:
> On 9.1 with postgresql.conf left at defaults, what period of time does
a query on pg_stat_all_tables
> cover?
>
> Let's say my database has been running for exactly one year.
>
> I then issue SELECT relname, n_tup_ins FROM pg_stat_all_tables;
>
> Do the results show me inserts for the last 7 days? 30 days? all
time?..

All time.

> I don't see the answer to this in
http://www.postgresql.org/docs/9.1/static/monitoring-stats.html (or
> maybe it is there and I am not understanding).

I don't see it documented there, except maybe by omission.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Aaron Bono 2012-11-17 14:22:08 Re: Postgre Eating Up Too Much RAM
Previous Message Dinesh Bhandary 2012-11-16 01:19:58 binary version of Openssl-1.0.0e on Solaris 10 (64 bit Sparc)