Does RAC scale horizontally for OLTP?

Does RAC scale horizontally for OLTP?

Does Oracle RAC scale horizontally for a high-transaction OLTP database? There is an ongong debate that it can only scale horizontally to a max of four to five servers without generating deadlocks and bottlenecks in the interconnect.

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

In the vast majority of cases a database that can be scaled vertically with favorable performance results can be scaled horizontally across multiple nodes with similar or better results, often more cheaply and with the additional availability benefits that RAC offers.

Assuming you have a high-speed private network as your interconnect, the cache to cache block exchanges of Cache Fusion should never saturate the channel, even with the high frequency of DML common to OLTP systems.

Of course it does not scale 100% linear, but I have seen published benchmarks of over 80% scalability when adding a sixth, eighth, tenth node and beyond to an E-Business application database. I personally have enjoyed results of near-linear scalability going from four nodes to eight with very acceptable latency numbers within the interconnect in support of a highly utilized OLTP database.

When scaling your database horizontally, just as you do vertically, you need to do testing to create a cost-based analysis in determining the benefits of how many additional nodes you need or want.

Obviously this is all generality. I am sure there are databases that exist that do not scale well with additional RAC nodes (though I could argue they probably wouldn't scale vertically with much benefit either), and I understand the scenario where deadlocks can occur with application tiers that create multiple connection pools, etc. But as a rule for consideration there is no reason you cannot continue to enjoy the scalability benefits of RAC well beyond four to five nodes for fear of bottlenecks within the interconnect.

Hope this helps,
Bill

This was first published in October 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.