SYSTEM AND METHOD FOR PROVIDING SESSION AFFINITY IN A CLUSTERED DATABASE ENVIRONMENT
First Claim
1. A system for supporting session affinity in a data source and clustered database environment, comprising:
- a clustered database system, and a notification service associated with a plurality of database instances therein, wherein the notification service is used to broadcast notifications that describe state changes in the clustered database;
an application server, and a data source and connection pools associated therewith, wherein the data source and connection pools are used to manage connections to the plurality of database instances in the clustered database, andwherein the data source can use session or session-based affinity, wherein database operations are directed to a particular database instance for a period of time when the application may be performing multiple, related updates to a specific data set.
1 Assignment
0 Petitions
Accused Products
Abstract
A clustered database environment (e.g. Oracle Real Application Cluster (RAC)) includes multiple database instances that appear as one server. An application server (e.g. WebLogic Server (WLS)) can use a data source (e.g. an Oracle GridLink data source) and connection pools to connect with the clustered database. In accordance with an embodiment, a data source configuration allows for specification of a preferred affinity policy, such as a data affinity, temporal affinity, and/or session or session-based affinity policy. In accordance with an embodiment, the system includes a number of features that improve application connectivity in the clustered database environment, including a select-only case for application continuity, wherein an application-independent infrastructure, e.g. implemented within a Java Database Connectivity (JDBC) driver, enables recovery of work from an application perspective and masks system communications, hardware failures and hangs.
22 Citations
12 Claims
-
1. A system for supporting session affinity in a data source and clustered database environment, comprising:
-
a clustered database system, and a notification service associated with a plurality of database instances therein, wherein the notification service is used to broadcast notifications that describe state changes in the clustered database; an application server, and a data source and connection pools associated therewith, wherein the data source and connection pools are used to manage connections to the plurality of database instances in the clustered database, and wherein the data source can use session or session-based affinity, wherein database operations are directed to a particular database instance for a period of time when the application may be performing multiple, related updates to a specific data set. - View Dependent Claims (2, 3, 4)
-
-
5. A method for supporting session affinity in a data source and clustered database environment, comprising the steps of:
-
providing access to a clustered database system, and a notification service associated with a plurality of database instances therein, wherein the notification service is used to broadcast notifications that describe state changes in the clustered database; providing an application server, and a data source and connection pools associated therewith, wherein the data source and connection pools are used to manage connections to the plurality of database instances in the clustered database, and wherein the data source can use session or session-based affinity, wherein database operations are directed to a particular database instance for a period of time when the application may be performing multiple, related updates to a specific data set. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer readable medium, including instructions stored thereon which when read and executed by one or more computers cause the one or more computers to perform the steps comprising:
-
providing access to a clustered database system, and a notification service associated with a plurality of database instances therein, wherein the notification service is used to broadcast notifications that describe state changes in the clustered database; providing an application server, and a data source and connection pools associated therewith, wherein the data source and connection pools are used to manage connections to the plurality of database instances in the clustered database, and wherein the data source can use session or session-based affinity, wherein database operations are directed to a particular database instance for a period of time when the application may be performing multiple, related updates to a specific data set. - View Dependent Claims (10, 11, 12)
-
Specification