DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: How can i check if a materialized view is used by a query

  1. #1
    Join Date
    Apr 2002
    Location
    Germany.Laudenbach
    Posts
    448

    Wink

    Oracle 8.1.7.3.50
    Os : Z/OS

    Thanks in advice

    Orca


  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    look the explain plan?

  3. #3
    Join Date
    Apr 2002
    Location
    Germany.Laudenbach
    Posts
    448
    Thanks!
    Orca

  4. #4
    Join Date
    Jul 2000
    Location
    Amsterdam
    Posts
    234

    Cool

    Hi,

    There is a package dbms_summary with the proc RECOMMEND_SUMMARIES and RECOMMEND_SUMMARIES_W.

    They will do the trick.

    Tycho


  5. #5
    Join Date
    Apr 2002
    Location
    Germany.Laudenbach
    Posts
    448
    Hi
    I want to modify my question a bit;

    There a MVIEWS defined, everything is enabled for using them.
    Many Applications run against the base-tables of the Mview.

    Is there a possibilty to count the 'MView-Hits' ( SQL was rewritten, data accessed by the view ? )

    Orca

  6. #6
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    not in 8i as far as I know, in 9i you could enable fine grain auditing but that's all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width