pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: leslie samuel <leslie.bks@gmail.com>
To: pgsql-admin@postgresql.org
Subject: pg_stat_all_tables column value reseting problem.
Date: Wed, 16 Mar 2011 00:58:57 -0700 (PDT)
Message-ID: <1300262337849-3767851.post@n5.nabble.com> (raw)

Dear friends,

    I would like to know the particular table's insert,update and delete
record history.
I have done some googling and got to know about pg_stat_all_tables  and
pg_stat_user_tables. These tables having this below field , which has the
tables insert,update and delete history,

    n_tup_ins        | bigint  | 
    n_tup_upd       | bigint  | 
    n_tup_del        | bigint  | 

But some time It was getting reset.. I don't know which scenario It is
happening.

Done the blow testing:
     
      => inserting,updating and deleting some record in a particular table
      => checked this pg_stat_all_tables  entry, It has displayed perfect
count of the history.
      => restarted the server for check the these
(n_tup_ins,n_tup_upd,n_tup_del) entries.
            but values weren't reseted, history remains.
      => Two days after I have checked this pg_stat_all_tables entry again,
but proper records wasn't there. Value of n_tup_ins,n_tup_upd and n_tup_del
was 0. I don't know why it has happened.

Please let me know the reason and which scenario it will get reset.
Whether I have to do any configuration related changes ?

Note:

     I am using PostgreSQL 8.3.7.
            



--
View this message in context: http://postgresql.1045698.n5.nabble.com/pg-stat-all-tables-column-value-reseting-problem-tp3767851p3...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.



view thread (6+ messages)  latest in thread

Message-ID: <1300262337849-3767851.post@n5.nabble.com>
Permalink:  ../1300262337849-3767851.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1300262337849-3767851.post@n5.nabble.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: leslie.bks@gmail.com
  Subject: Re: pg_stat_all_tables column value reseting problem.
  In-Reply-To: <1300262337849-3767851.post@n5.nabble.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