Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How many instances should be there in RAC to get best performance

Posted on 2012-03-18
Medium Priority
Last Modified: 2012-04-19
We have 4 instances RAC on and ASM.

In order to get the best performance I have below questions.

1. In theory how many instances can be added in RAC (11g)?
2. Practically how many instances can give best performance?
 Note: I think after certain number of instances the performance will be flat, means no more performance benefit after a certain level.

Is there any already proved method with statistics to decide the same?
Question by:YBSolutions
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2

Expert Comment

by:Victor Tarasov
ID: 37734612
Oracle says that Rac enhances fault tolerance option, rather than performance. It may be faster query performance due to parallel execution, but this may become a bottleneck IO.
So it is necessary to analyze each system and give personalized recommendations.

Expert Comment

ID: 37735360
RAC is not for performance but scalability and fault tolerance.  

With 9i and 10.1 it was between 4 and 128 depending upon the clusterware
with 10.2 it is 100

Scalability meaning that let's say you have a business where you sell something and your business is growing by leaps and bounds.  so what you do is

1.  Get and customize a great application for your current business needs (2 nodes in a RAC).

2.  Then in couple of years your business has shot through the roof and your RAC can't handle the transactional volume.  Since you bought RAC all you need to do is to Buy another machine and add it to the RAC (from 2 nodes to 3)

and thus in another couple of years you can add another machine and so forth.

Performance in RAC is limited to the interconnect speeds due to Global cache residing in all active nodes.
LVL 48

Expert Comment

ID: 37736707
RAC is not for performance or scalability (this is feature of the application and DB structure).

RAC is for Load Balancing over cheap commodity server machines - this means high load can be divided into many instances installed on cheap servers.

Fault tolerance? No! The DB is centralized. No matter how many instances are running in the RAC if the only DB files collection experience diffuculties (corrupted device for instance) there is not easy way to solve the problem.

Yes - the maximum number of the nodes in one cluster could be 100, but this also means Oracle licences.

About the performance question:

You have to study the RAC wait events:


Another good tool is AWR reports of the RAC instances.

In AWR pay attention to the following:



3. CPU usage
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.


Author Comment

ID: 37792992
Dear schwertner,

Are you sure that 'RAC is not for performance or scalability' ?
If so, please think again and explain in details, may be I didn't get it correctly.
LVL 48

Accepted Solution

schwertner earned 1500 total points
ID: 37797469
My dear friend YBSolution,

last fall I read the Oracle electronic course "RAC 11g administration". I was greatly surprised when Oracle itself explains that scalability could be easily comprimised by bad application DB design. And Oracle give example:
- 4 RAC instances
- centralized DB (RAC uses 1 (one) single database.
- All applications on the 4 nodes use same table to hold data or to register new actions. Due the locks on commonly used tables and rows there is zero scalability, no matter how many nodes you add to the RAC

If course my attempt to explain the Oracle text is miserable. The original text is 15-20 pages long. But this was a great chapter. Oracle explains in details the difference between performance and scalability .... I am sure you can find electronic copy of this Oracle course somewhere in the net or on the OTN.

Next very interesting thing was that disk cylinders that are peripheral are 4-10 times faster then cylynders close to axes of the disk drive. So ASM has option to place the active tablespaces in the peripheral cylynders ... but only if it knows where they are, because logical volumes mask the real physical location of the disk.

Facing the complexity of RAC and ASM i fear that RAC is marketing trick of Oracle. Adding this complexity the RAC is very hard to be administered, there are so much bugs, that Oracle recomends when patching RAC to create ... clonning of the installation. Could you seriosly accept such advice?

RAC was intensivily made in the times of the dotcom financial catastrophe in the begin of the 21 century. The companies haven't money for expensive SMP (Symetric Multiprocessor Computers)  computers. So the idea of Oracle was to downgrade to cheap servers. But the complexity of a RAC is high, the administration - hard task. The worst thing is that the application (if there are many instances of the application or the application uses frequently common resources) has to be specially written to make advantages from RAC.

Author Comment

ID: 37803231
Hi Dear,

May I get the URL for the article you read?
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37803260
>>May I get the URL for the article you read?

It is not an article.  From the post: "Oracle electronic course "

I believe you will find it is an Oracle course:
LVL 48

Expert Comment

ID: 37806558
Everybody knows these facts.

For instance look here:

A Competitive Review of Oracle Real Application Clusters

download.microsoft.com/download/6/9/d/.../whynotoraclerac.docxYou +1'd this publicly. Undo

Furthermore, Oracle RAC best practice says that it cannot make a non-scalable application scale,
and suggests using data partitioning to minimize the traffic ...


In google look for "A Competitive Review of Oracle Real Application Clusters"

Author Comment

ID: 37865733
I got the below error while trying to access the URL

Your query didn’t match any course descriptions. Please try again.

Anyways, my question is answered.
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37865752
I pull up:
Oracle Database 11g: RAC Administration

  Oracle University provides ILT and LVC students a downloadable eKit containing the training materials for this course.

 Oracle University eKit now viewable on the iPad

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question