Parallel queries in RAC environment

From: James Barton <james.barton_at_markit.com>
Date: Wed, 15 Oct 2008 14:03:43 +0100
Message-ID: <726503CB9A3450488730EE6F141648B8022B98EC@ukmailbe001.markit.partners>


4-node RAC, 10.2.0.3

I have a long-running batch process. I suspect that some of the queries it contains would run faster with multiple read processes, and I'm trying to test this out.

I've hinted the relevant queries with

/*+ parallel (table_alias 6) */

and I can see that six read processed do start. The problem is that they are all on another instance than the original batch process. This results in a lot of block swapping and I actually see a slight degradation in performance. Currently I'm starting the batch process as a scheduled job, and the job class it belongs to has a service that is available on only one instance. Still, the child processes are on another instance - they don't seem to inherit the service from the parent process.

How can I force all of the child query processes to be on the same instance as the parent process?

Cheers,
James

The content of this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient and may not be disclosed, copied or distributed. If you received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 20 7260 2000, delete it and do not disclose its contents to any person. You should take full responsibility for checking this email for viruses. Markit reserves the right to monitor all e-mail communications through its network. Markit and its affiliated companies make no warranty as to the accuracy or completeness of any information contained in this message and hereby exclude any liability of any kind for the information contained herein. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of Markit. For full details about Markit, its offerings and legal terms and conditions, please see Markit's website at http://www.markit.com <http://www.markit.com/> .

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 15 2008 - 08:03:43 CDT

Original text of this message