Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles



 Oracle Training
 Oracle News

 Oracle Forum
 Class Catalog


 Our Staff
 Our Prices
 Help Wanted!

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 UNIX
 Oracle UNIX
 Linux
 Oracle Linux
 Monitoring
 Remote help

 Remote plans
 Remote
services
 Oracle C++
 Oracle Java
 Apache
 JDeveloper
 App Server

 Applications
 Oracle Forms
 Oracle Portal
 11i Upgrades
 SQL Server
 Oracle Concepts
 HTML-DB Tips
 Software Help

 Remote Help  
 Development  

 Implementation


 Financials Training
 Oracle 11i
 Oracle Apps 11i
 Oracle Workflow
 Oracle AR 11i Class
 Oracle AP 11i class
 Oracle GL 11i class
 Oracle HR 11i class
 Oracle FA 11i class
 11i Project Mgt
 11i procurement
 11i collections


 Oracle Posters
 Oracle Books

 Oracle Tuning Book
 Oracle RAC Book
 Oracle Security
 Easy Oracle Books
 Oracle Scripts
 SQL Server DBA
 SQL Design Patterns
 WISE
 Excel-DB   


 BC Oracle News


 Rednecks!
 Dress code
 Arabian Stallion

 Burleson Arabians
 Guide Horses
 Don Burleson Blog
 Golf & Travel


 Privacy Policy
 

 

 

 
 

Oracle 10g release 2 load balancing features

Oracle Tips by Burleson Consulting


Oracle 10g release 2 has some exciting new features for the shared pool and load balancing.  As a review, Oracle provides a least-highly-loaded algorithm to load balance incoming transactions among the various components of an Oracle application server environment with the Oracle Web cache, and this is being expanded.  We now see these load balancing features within Oracle 10g release 2:
 

  • Web server load balancing - The web cache component includes Apache extension to load-balance transactions to the least-highly-loaded Oracle HTTP server (OHS).
     
  • RAC instance load balancing - Staring in Oracle 10g release 2, Oracle JDBC and ODP.NET provide connection pool load balancing facilities through integration with the new “load balancing advisory” tool.  This replaces the more-cumbersome listener-based load balancing technique.

·        Automated Storage Load balancing - Oracle’s Automatic Storage Management (SAM) now enables a single storage pool to be shared by multiple databases for optimal load balancing.  Shared disk storage resources can alternatively be assigned to individual databases and easily moved from one database to another as processing requirements change.

·        Data Guard Load Balancing – Oracle Dataguard allows for load balancing between standby databases.

·        Listener Load Balancing - If advanced features such as load balancing and automatic failover are desired, there are optional sections of the listener.ora file that must be present

Like the Oracle advisories for the shared pool and data buffer caches (an extension of the v$db_cache_advice view), the 10g load balancing advisory monitors each instance in a RAC environment and post “feedback events” (using FAN, the fast Application Notification facility).  These feedback events are used by the connection pool (in Oracle HTTP server, via JDBC and OPP.NET to route new transactions to the least highly-loaded of the RAC servers.

In the Oracle whitepaper “Oracle Database 10g Release 2: A Revolution in Database Technology” whitepaper we see that Oracle monitors the relative “workload” (using a round-robin technique) on each Grid instance and posts the data to the Automatic Workload Repository, where it is picked-up by the application server:

Database workloads change over time as well as the cluster configuration can change.  It is important to create and allocate database connections based on the most up to date information.

Oracle Database 10g Release2 Real Application Clusters provides a load balancing advisory.  RAC constantly monitors the workload being executed for each service by each instance providing the service.

This information is published to the Automatic Workload Repository and published to the application using FAN events.  The FAN event includes the current service level provided and a recommendation of what percentage of connections to be directed to each instance.

The integrated Oracle Clients use these events to provide intelligent load balancing of application requests.  Most connection pools use a random or round-robin algorithm to select an idle connection from the pool when the application does a get connection.  Using FAN events from the load balancing advisory, the connection pool will select the connection currently providing the best service.

With the increasing interesting Oracle 10g Grid computing these tools are increasingly important to relieve the inherent complexity of Oracle 10g RAC and Grid.  For more information on Oracle 10g RAC and Grid load balancing, see the book “Oracle 10g Grid & RAC” by Mike Ault and Madhu Tumma:

http://www.rampant-books.com/book_2004_1_10g_grid.htm

If you like Oracle tuning, you may enjoy the new book "Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


    Need an Oracle Health Check?
  • Do you have bad performance after an upgrade?
     
  • Need to certify that your database follows best practices?

BC Oracle performance gurus can quickly certify every aspect of your Oracle database and provide a complete verification that your database is fully optimized.

 

 

 

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
SearchOracle web site
 
Oracle performance Tuning 10g reference poster
 
Oracle performance tuning webcast
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals. 
Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.
 
 


Burleson Consulting

The Oracle of database support


 

Copyright © 1996 -  2007 by Burleson Enterprises, Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.


Hit Counter