Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Unexpected Parallel Query Execution

Re: Unexpected Parallel Query Execution

From: Christian Antognini <christian.antognini_at_trivadis.com>
Date: Fri, 30 Jul 2004 09:04:26 +0200
Message-ID: <4109f2fd$1@post.usenet.com>

Hi Matt

> Is there anyway that parallel query slaves would be used for a query
> when every table in the dayabase has a degree of 1 and no parallel
> hints have been used in the SQL.
>
> SQL> select distinct degree from dba_tables;
>
> DEGREE
> -------------------------------
> 1

I see only two possibilities:
1) DEGREE is set for some indexes
2) the statement ALTER SESSION FORCE PARALLEL {DML|DDL|QUERY} is used

Otherwise, are you really 100% sure that nobody has used a hint?

> The following output from v$session shows that parallel query was
> being used which ended up consuming the total server CPU capcacity:
>
> 3472 SYSTEM 20 26544 ORACLE.EXE (P000)
> 3492 SYSTEM 12 440 ORACLE.EXE (P001)
> 3476 SYSTEM 24 17751 ORACLE.EXE (P002)
> 3420 SYSTEM 22 37652 ORACLE.EXE (P003)
> 2396 SYSTEM 26 15038 ORACLE.EXE (P004)
> 3452 SYSADM COMMON\B89263 25 13709 SQLPLUSW.EXE
To have more information on the operation that was parallelized you can run the following query:

select name, value from v$sysstat where name like '%parallelized'

Chris

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Received on Fri Jul 30 2004 - 02:04:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US