RE: Mat View - used by?

From: Allen, Brandon <>
Date: Mon, 12 Dec 2011 18:07:08 +0000
Message-ID: <A250F0C68C23514CA9F3DF63D60EE10E094209_at_onews31>

Good suggestion from Tim - just remember that requires a Diagnostics Pack license to query those views. You could also query the statspack versions (i.e. STATS$SQL_PLAN) for free if you have statspack snapshots running. A couple other ideas:

You could turn on auditing:

  1. alter system set audit_trail=db,extended (if it's not set already; requires a restart)
  2. alter select on <mview_name>;

You could check all your source code, e.g.:

select * from dba_source where upper(text) like '%YOUR_MVIEW%';


Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

Received on Mon Dec 12 2011 - 12:07:08 CST

Original text of this message