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: Parallel Query work on 1 CPU machine?

Re: Parallel Query work on 1 CPU machine?

From: TMAN <shadow_man_600_at_yahoo.com>
Date: Wed, 04 Apr 2001 09:30:36 -0500
Message-ID: <3ACB300C.7839C447@yahoo.com>

You may want to try using parallel_min_servers =1 or even 2 . Then check at the OS level to make sure there are 2 processes running , they should look something like "ora_p002_prod1db" in unix, not sure about NT. Also for your hint you might try "/*+ PARALLEL (table, DEGREE) */" where degree is the number of pieces the query is broken into, in your case try maybe 2 to start with. If you don't specify a degree then the hint uses the default degree of parallelism dictated by the table, which could be why the hint isn't spawning any PQS.

Just a few thoughts.

Thom Crider

Tom Weng wrote:

> I will be interesting to know the answer as well, actually, is there a
> guideline /system specification especially in hardware-wide from Oracle for
> the platform Oracle support(NT/SUN/AIX..)
> to configure parallel execution?
>
> Can somebody provide where to look for this kind of document/.pdf? I tried
> OTN but no luck!
>
> Tom
>
> "Maria Walski" <mwalski_at_classicplan.com> wrote in message
> news:331x6.313$tG2.97887_at_dfiatx1-snr1.gtei.net...
> > 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.
> >
> > I also tried
> > SELECT /*+ FULL(TEST) PARALLEL(3) */ COUNT(*)
> > FROM TEST
> >
> > Is there something I am missing or must you have > 1 CPU? Is 1,000,000
 rows
> > too small?
> >
> > Thanks, Jim
> >
> >
> >
> >
> >
> >
> >
> >
  Received on Wed Apr 04 2001 - 09:30:36 CDT

Original text of this message

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