×

System and method for improving application connectivity in a clustered database environment

  • US 9,064,003 B2
  • Filed: 05/05/2014
  • Issued: 06/23/2015
  • Est. Priority Date: 06/27/2011
  • Status: Active Grant
First Claim
Patent Images

1. A system for supporting affinity in a clustered database environment, comprising:

  • one or more computers, each including one or more processors;

    a clustered database, which includes a plurality of database instances;

    a notification service associated with the clustered database, which broadcasts notifications that describe state changes within the database instances;

    an application server associated with a data source,wherein the data source includes a connection pool that manages a set of connections to the plurality of database instances, and is associated with an affinity policy that defines which, if any, type of affinity will be used by that data source and the connections therein at runtime, to access the clustered database, andwherein the data source uses the notifications of state changes received from the notification service to adaptively configure connections to the database instances, for use by applications at the application server; and

    wherein, upon receiving a connection reserve request from an application to access a selected database instance, the data sourcedetermines the affinity policy associated with the data source,determines whether there is already an affinity context associated with the application context for the request, and if not then selects a connection for use with the selected database instance,stores the instance information with the application context for use on the next connection reserve request.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×