Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 40D251337BEF for ; Wed, 16 Mar 2011 04:59:07 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93308-06 for ; Wed, 16 Mar 2011 07:58:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id C37281337B6E for ; Wed, 16 Mar 2011 04:58:58 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PzldB-0002VI-Rd for pgsql-admin@postgresql.org; Wed, 16 Mar 2011 00:58:57 -0700 Date: Wed, 16 Mar 2011 00:58:57 -0700 (PDT) From: leslie samuel To: pgsql-admin@postgresql.org Message-ID: <1300262337849-3767851.post@n5.nabble.com> Subject: pg_stat_all_tables column value reseting problem. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201103/187 X-Sequence-Number: 37059 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-tp3767851p3767851.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.