Re: Redundant database objects.

From: Alexander Pyhalov <alp(at)rsu(dot)ru>
To: Andrew Bartley <ambartley(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Redundant database objects.
Date: 2010-07-13 05:38:14
Message-ID: 4C3BFBC6.6030305@rsu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello.
When we moved old projects from postgresql 7.x to 8.4, I just looked at
modification time for files in base/<dboid>/<toid> . So, I could
determine, that some databases were inactive (precisely,not updated) for
about a year and move them to archive...
Andrew Bartley wrote:

> Is there an effective way to identify these objects using the stats
> tables? Something like a last accessed/used or some such column?
>
> Any suggestions welcomed.
>
> Thanks
>
> Andrew Bartley
> Aimstats Pty Ltd
>

--
С уважением,
Александр Пыхалов,
системный администратор ЮГИНФО ЮФУ.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tamanna madaan 2010-07-13 05:54:37 Re: "attempted to lock invisible tuple" error while update
Previous Message A. Kretschmer 2010-07-13 05:18:07 Re: Why can't I see the definition of my relations