Re: to find table stats for last update time.

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Shabala Deshpande <de(dot)shabala(at)gmail(dot)com>
Cc: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: to find table stats for last update time.
Date: 2010-01-05 15:05:19
Message-ID: 407d949e1001050705l255caa9as95e913bd9b3706b6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Jan 5, 2010 at 9:37 AM, Shabala Deshpande <de(dot)shabala(at)gmail(dot)com> wrote:
> I was trying to figure out if i could use any system tables info... but
> seems i have to take the tiggers way out...

Keep in mind that this creates a point of contention and will
serialize all updates against the table. If this is a busy table with
many updates per second it could reduce performance.

--
greg

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2010-01-05 15:12:07 Re: Help to dump tables in a database and restore in another database
Previous Message A. Kretschmer 2010-01-05 14:53:50 Re: Using a variable in sql in a function