Re: schema Cleanning - Mailing list pgsql-general

From Guillaume Lelarge
Subject Re: schema Cleanning
Date
Msg-id 4D6543F7.7060306@lelarge.info
Whole thread Raw
In response to Re: schema Cleanning  (salah jubeh <s_jubeh@yahoo.com>)
List pgsql-general
Le 23/02/2011 09:10, salah jubeh a écrit :
> [...]
> This is a simple way to check if there is no activity on the table,
>
> SELECT relname,seq_tup_read,idx_tup_fetch  FROM pg_stat_user_tables
> WHERE (idx_tup_fetch + seq_tup_read)= 0;
>
>
> Is there is any way to make similar checks on views
>

No, there's no stats on views.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Backup and Restore pgAdmin Win 7 (64bit ultimate)
Next
From: runner
Date:
Subject: Re: Index names not consistent