Return-Path: <root@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h45HVBI12339
 for <oracle-l@orafaq.net>; Mon, 5 May 2003 12:31:11 -0500
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h45HVAA12334
 for <oracle-l@orafaq.net>; Mon, 5 May 2003 12:31:10 -0500
Received: from fatcity.com (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id IAA68044;
 Mon, 5 May 2003 08:06:24 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 0058F654; Mon, 05 May 2003 06:36:48 -0800
Message-ID: <F001.0058F654.20030505063648@fatcity.com>
Date: Mon, 05 May 2003 06:36:48 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Paula_Stankus@doh.state.fl.us
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Paula_Stankus@doh.state.fl.us
Subject: RE: query rewrite?
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----_=_NextPart_001_01C3130B.73B251A0"
------_=_NextPart_001_01C3130B.73B251A0
Content-Type: text/plain;
 charset="iso-8859-1"

Or tracing that particular session.

Question:

I assumed that query rewrite was within the same session.  Does Oracle spawn
a separate session when using query rewrite?????

Oracle OCP DBA


-----Original Message-----
Sent: Monday, May 05, 2003 9:52 AM
To: Multiple recipients of list ORACLE-L


How about an Explain Plan? Or tracing with Event 10046? 

- Kirti

-----Original Message-----
Sent: Monday, May 05, 2003 12:32 AM
To: Multiple recipients of list ORACLE-L



Hi,

  Is there any way to see the query statement after the query statement
is rewritten by Oracle with materialized views?

Many thanks in advance.

Chuan
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Chuan Zhang
  INET: Chuan.Zhang@transact.com.au


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Deshpande, Kirti
  INET: kirti.deshpande@verizon.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

------_=_NextPart_001_01C3130B.73B251A0
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: query rewrite?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Or tracing that particular session.</FONT>
</P>

<P><FONT SIZE=3D2>Question:</FONT>
</P>

<P><FONT SIZE=3D2>I assumed that query rewrite was within the same =
session.&nbsp; Does Oracle spawn a separate session when using query =
rewrite?????</FONT></P>

<P><FONT SIZE=3D2>Oracle OCP DBA</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Deshpande, Kirti [<A =
HREF=3D"mailto:kirti.deshpande@verizon.com">mailto:kirti.deshpande@veriz=
on.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, May 05, 2003 9:52 AM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: RE: query rewrite?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>How about an Explain Plan? Or tracing with Event =
10046? </FONT>
</P>

<P><FONT SIZE=3D2>- Kirti</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, May 05, 2003 12:32 AM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; Is there any way to see the query statement =
after the query statement</FONT>
<BR><FONT SIZE=3D2>is rewritten by Oracle with materialized =
views?</FONT>
</P>

<P><FONT SIZE=3D2>Many thanks in advance.</FONT>
</P>

<P><FONT SIZE=3D2>Chuan</FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Please see the official ORACLE-L FAQ: <A =
HREF=3D"http://www.orafaq.net" =
TARGET=3D"_blank">http://www.orafaq.net</A></FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Author: Chuan Zhang</FONT>
<BR><FONT SIZE=3D2>&nbsp; INET: Chuan.Zhang@transact.com.au</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Please see the official ORACLE-L FAQ: <A =
HREF=3D"http://www.orafaq.net" =
TARGET=3D"_blank">http://www.orafaq.net</A></FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Author: Deshpande, Kirti</FONT>
<BR><FONT SIZE=3D2>&nbsp; INET: kirti.deshpande@verizon.com</FONT>
</P>

<P><FONT SIZE=3D2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- =
858-538-5051 <A HREF=3D"http://www.fatcity.com" =
TARGET=3D"_blank">http://www.fatcity.com</A></FONT>
<BR><FONT SIZE=3D2>San Diego, =
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mailing list =
and web hosting services</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
------</FONT>
<BR><FONT SIZE=3D2>To REMOVE yourself from this mailing list, send an =
E-Mail message</FONT>
<BR><FONT SIZE=3D2>to: ListGuru@fatcity.com (note EXACT spelling of =
'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2>the message BODY, include a line containing: UNSUB =
ORACLE-L</FONT>
<BR><FONT SIZE=3D2>(or the name of mailing list you want to be removed =
from).&nbsp; You may</FONT>
<BR><FONT SIZE=3D2>also send the HELP command for other information =
(like subscribing).</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3130B.73B251A0--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: Paula_Stankus@doh.state.fl.us

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

