Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to determin the parallel method is used
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BFFBB0.7EFCB12E
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Yes. You will see stuff that resembles gibberish in the explain plan =
if
parallel query takes over (A1, B1, things that don't refer to the =
database
objects directly) plus you will see the keyword PARALLEL. Bear in mind =
that
parallel query is more likely to happen if a table is partitioned =
and/or a
full table scan happens on one of the larger tables. =20
You will also see the parallel slave processes in the OS.=20
You can also encourage parallel query by setting the degree of a table =
or
index to be > 1. Setting degree to default can spawn a lot more =
parallel
slaves than you expect.=20
I used to have a script that would display parallel explain plans in a =
nice
neat manner, I think I got it from this list. Anyone?
HTH
Lisa
Ft. Lauderdale, FL, USA
-----Original Message-----
From: cyhu_at_eachnet.com [mailto:cyhu_at_eachnet.com]
Sent: Tuesday, August 01, 2000 7:27 AM
To: Multiple recipients of list ORACLE-L
Subject: How to determin the parallel method is used
Hi,everyone.
I configured the server to run the parallel option.
Then I run a sql with a parallel hint.
Now , I wanna know if this sql has used the parallen execution plan.
Can I see it in the sql's execution plan ( at sqlplus, set autotrace on =
).
Forgive my poor English.
Thanks in advance.
Tel(O)=A3=BA86-21-32174588*667 E-mail=A3=BAcyhu_at_eachnet.com =C8=AB=B9=FA=C3=E2=B7=D1=B7=FE=CE=F1=C8=C8=CF=DF=A3=BA800-820-5217(=CE=D2= =B0=AE=D2=D7=C8=A4) =A1=B0Eachnet.com - CHINA's LARGEST ON-LINE CONSUMER TRADING COMMUNITY =D2=D7=C8=A4=CD=F8 - = =B8=F6=C8=CB=B5=E7=D7=D3=C9=CC=CE=F1=CE=AA=D6=D0=B9=FA=C8=CB=B4=B4=D4=EC= =D5=B8=D0=C2=C9=FA=BB=EE=A1=B1
=1F.+-=1A=EA=EEjwb=9E=D8^=99=EB,j=07?6"=9D=C9nu=E6=A5=8Aw=9C=A2{Z=8Ax=A7= =81CRP=13"?=8A=ED=85=E9=DA=99?=99=A8=A5=8Ax%=8A=CBr=A2=EC=1A=9E=DBhm=EA=DE= =9A=8B=DEu=FA=E8 =99=8A.=99=AC=9A=96?zwm=85=E1??=9Af=A7u?=A2=D8^?=DF=A2=B9=9A?'?=1E=B2=E6= =ECr=B8=9B
------_=_NextPart_001_01BFFBB0.7EFCB12E
Content-Type: text/html;
charset="gb2312"
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=3Dgb2312">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: How to determin the parallel method is used</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Yes. You will see stuff that resembles =
gibberish in the explain plan if parallel query takes over (A1, B1, =
things that don't refer to the database objects directly) plus you will =
see the keyword PARALLEL. Bear in mind that parallel query is =
more likely to happen if a table is partitioned and/or a full table =
scan happens on one of the larger tables. </FONT></P>
<P><FONT SIZE=3D2>You will also see the parallel slave processes in the =
OS. </FONT>
</P>
<P><FONT SIZE=3D2>You can also encourage parallel query by setting the =
degree of a table or index to be > 1. Setting degree to =
default can spawn a lot more parallel slaves than you expect. =
</FONT></P>
<P><FONT SIZE=3D2>I used to have a script that would display parallel =
explain plans in a nice neat manner, I think I got it from this =
list. Anyone?</FONT></P>
<P><FONT SIZE=3D2>HTH</FONT>
<BR><FONT SIZE=3D2>Lisa</FONT>
<BR><FONT SIZE=3D2>Ft. Lauderdale, FL, USA</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: cyhu_at_eachnet.com [<A =
HREF=3D"mailto:cyhu_at_eachnet.com">mailto:cyhu_at_eachnet.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, August 01, 2000 7:27 AM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: How to determin the parallel method is =
used</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>Hi,everyone.</FONT>
<BR><FONT SIZE=3D2>I configured the server to run the parallel =
option.</FONT>
<BR><FONT SIZE=3D2>Then I run a sql with a parallel hint.</FONT>
<BR><FONT SIZE=3D2>Now , I wanna know if this sql has used the parallen =
execution plan.</FONT>
<BR><FONT SIZE=3D2>Can I see it in the sql's execution plan ( at =
sqlplus, set autotrace on ).</FONT>
</P>
<P><FONT SIZE=3D2>Forgive my poor English.</FONT>
<BR><FONT SIZE=3D2>Thanks in advance.</FONT>
</P>
<P><FONT SIZE=3D2>-------------------------------</FONT>
<BR><FONT SIZE=3D2>Chunyu Hu=A3=ACDBA</FONT>
<BR><FONT =
SIZE=3D2>=BA=FA=B4=BA=D3=EA=A3=AC=CA=FD=BE=DD=BF=E2=B9=DC=C0=ED=D4=B1</F=
ONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.eachnet.com" =
TARGET=3D"_blank">http://www.eachnet.com</A></FONT>
<BR><FONT SIZE=3D2>Tel(O)=A3=BA86-21-32174588*667</FONT>
<BR><FONT SIZE=3D2>E-mail=A3=BAcyhu_at_eachnet.com</FONT>
<BR><FONT =
SIZE=3D2>=C8=AB=B9=FA=C3=E2=B7=D1=B7=FE=CE=F1=C8=C8=CF=DF=A3=BA800-820-5=
217(=CE=D2=B0=AE=D2=D7=C8=A4)</FONT>
</P>
<P><FONT SIZE=3D2>=A1=B0Eachnet.com - CHINA's LARGEST ON-LINE CONSUMER =
TRADING COMMUNITY</FONT>
<BR><FONT SIZE=3D2>=D2=D7=C8=A4=CD=F8 - =
=B8=F6=C8=CB=B5=E7=D7=D3=C9=CC=CE=F1=CE=AA=D6=D0=B9=FA=C8=CB=B4=B4=D4=EC=
=D5=B8=D0=C2=C9=FA=BB=EE=A1=B1</FONT>
<BR><FONT SIZE=3D2>=02=EBa=A2=B2</FONT>
<BR><FONT =
SIZE=3D2>=1172=86=E7=9Ar=19=DE=B5?=15=ABB=8A=DC=8Dz?=AED=9E=AE=F8=9Cz?=F3=
=9D=FC=E7Nu=14=05=FC=E7=CEw=F3=9D9??'=A0=A0&=A5=89??=8F=B9=B9bp=89=ED=
z=B9=DE=B5=A7=1Cz?1=A8=A5=8Ax</FONT>
<BR><FONT =
SIZE=3D2>=8A=CBlN=84D0=E5D=CA=8B=AB=B1=E9_~??=AC=99=A8=A5=8Ax%=8A=CBlzwZ=
=9CC=1A=8AY=9E=B2=C6=A0z?=8A=CBF=BA=BB=9Fj??(=9Az-xE?;)zYb?</FONT>
<BR><FONT =
SIZE=3D2>=1F.+-=1A=EA=EEjwb=9E=D8^=99=EB,j=07?6"=9D=C9nu=E6=A5=8Aw=9C= =A2{Z=8Ax=A7=81CRP=13"?=8A=ED=85=E9=DA=99?=99=A8=A5=8Ax%=8A=CBr=A2=EC= =1A=9E=DBhm=EA=DE=9A=8B=DEu=FA=E8=99=8A.=99=AC=9A=96?zwm=85=E1??=9Af=A7u=Received on Tue Aug 01 2000 - 07:03:24 CDT