RE: Mat View - used by?

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "tim@xxxxxxxxx" <tim@xxxxxxxxx>, "anthony.ballo@xxxxxxxxxxx" <anthony.ballo@xxxxxxxxxxx>, "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 12 Dec 2011 18:07:08 +0000

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%';

Regards,
Brandon




________________________________

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.
--
//www.freelists.org/webpage/oracle-l


Other related posts: