Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
ORA 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
ORA 01722 invalid number
 
V$SQL_REDIRECTION and x$kkssrd

V$SQL_REDIRECTION and x$kkssrd

2006-07-04       - By Gints Plivna

 Back
Reply:     1     2     3  

Hello!

I'm playing around materialized views a bit and the general question
is - can i somehow find out whether a query was rewritten or not from
v$ views. I can of course query v$sql_plan for mat_view rewrite or
exact materialized view names but this view is rather soon aged out.

Then I found a very promising view V$SQL_REDIRECTION with a column
reason that according to oracle docs and view_definition can take
value also 'QUERY REWRITE'. I was very frustrated to find that in my
9.2.0.5 there wasn't any rows and in my 10.2.0.1 there were only rows
with reason 'READ ONLY'. Of course it was quite normal because the
underlying x$kkssrd haven't any rows at all in 9.2 and only rows with
reason=0 in 10.2.
And now the question is - why x$kkssrd isn't populated? Probably I am
looking in a wrong direction and V$SQL_REDIRECTION is intended for
some other purposes?

Gints Plivna

P.S. Jonathan if you read it and the general question seems deja vu
for you, you are right :)
--
http://www.freelists.org/webpage/oracle-l