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

Posted on 2012-03-18
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
  • 3
  • 3
  • 2
  • +2

Expert Comment

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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 500 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 +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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Use of Exception to end a Loop 3 54
oracle numeric condition check 4 37
Oracle cursor lifecycle inside procedure. 2 29
UTL_FILE invalid file operation 5 46
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

730 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