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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Verify Parallel Query is working?

RE: Verify Parallel Query is working?

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Thu, 29 Mar 2001 19:40:01 -0800
Message-ID: <F001.002DC954.20010329190022@fatcity.com>

No, you do need to have multiple CPUs for using PQ.

Try the hint as below:

        SELECT /*+ FULL(TEST) PARALLEL (TEST, 3) */ COUNT(*)
        FROM TEST;

The number 3 above is the degree of parallelism. HTH..

> -----Original Message-----
> From: Jim Walski [SMTP:jwalski3_at_classicplan.com]
> Sent: Thursday, March 29, 2001 7:56 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Verify Parallel Query is working?
>
> Hello,
>
> I am trying to play on a test machine with the Parallel Query Option. I
> cannot seem to get a query to perform a parallel full table scan.
>
> I have searched on metalink and I believe I have all the proper init.ora
> parameters set:
>
> NT 4.0, Oracle 8.1.7 Enterprise Edition.
>
> parallel_threads_per_cpu = 2
> parallel_min_servers = 0
> parallel_max_servers = 5
>
> The test machine only has 1 CPU, does the parallel query even work if the
> machine only has 1 CPU? I realize you need more than 1 cpu for it to be
> very beneficial, however, I am not really concerned with the performance,
> but I would just like to see a query use the parallel option.
>
> To Test:
>
> I built a 1,000,000 row table and I am using the following query:
>
> SELECT /*+ FULL(TEST) PARALLEL */ COUNT(*)
> FROM TEST
>
> When I do an explain plan, I cannot seem to get any parallel execution.
>
> Is there something I am missing or must you have > 1 CPU? Is 1,000,000
> rows
> too small?
>
> Thanks, Jim
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Jim Walski
> INET: jwalski3_at_classicplan.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_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).

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

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_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).
Received on Thu Mar 29 2001 - 21:40:01 CST

Original text of this message

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