RE: Parallel Threads
Date: Wed, 11 Mar 2009 10:43:30 -0400
Yes I have parallel_adaptive_multi user set to true. And v$sysstat shows 1 operation downgraded by 50-75% and one downgraded by 25-50% and 45 not downgraded. Is there a way to tell which statements were downgraded?
From: Andrew Kerber [mailto:andrew.kerber_at_gmail.com]
Sent: Wednesday, March 11, 2009 10:33 AM
Subject: Re: Parallel Threads
Do you have parallel_adaptive_multi_user turned on?
As far as I know, that is the only way parallel operations will get degraded.
Try this (remove the g if not in a cluster):
SELECT inst_id, name, value FROM gv$sysstat WHERE name LIKE 'Parallel%';
On Wed, Mar 11, 2009 at 8:35 AM, Kenneth Naim <kennaim_at_gmail.com> wrote:
How can I tell how many parallel threads were spawned by a parallel query after the query completed. I have a query that normally takes a couple hours but ran for 24 hours over the weekend. My theory is that the 40 parallel threads were reduced by the optimizer for some reason so I'd like to know how many threads it used.
-- Andrew W. Kerber 'If at first you dont succeed, dont take up skydiving.' -- http://www.freelists.org/webpage/oracle-lReceived on Wed Mar 11 2009 - 09:43:30 CDT