Re: schema Cleanning

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: salah jubeh <s_jubeh(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: schema Cleanning
Date: 2011-02-23 17:29:27
Message-ID: 4D6543F7.7060306@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message runner 2011-02-23 17:51:35 Re: Index names not consistent
Previous Message Guillaume Lelarge 2011-02-23 17:25:16 Re: Backup and Restore pgAdmin Win 7 (64bit ultimate)