Suspending and resuming of sessions
First Claim
Patent Images
1. A method comprising:
- storing, on a node of a multi-node database server that manages a database, session state of a first database session;
wherein the first database session is a connection established for a client to the multi-node database server;
wherein each node of the multi-node database server executes a database instance;
wherein the session state is not stored at the client;
while the session state of the first database session is stored on the node of the multi-node database server and before a particular database instance that executes on the node of the multi-node database server terminates the first database session;
determining, by the particular database instance, based on at least a portion of the session state of the first database session, whether one or more collection criteria are satisfied;
only if the one or more collection criteria are satisfied, then;
generating a session image of the session state of the first database session;
storing the session image of the first database session;
terminating the first database session;
after terminating the first database session;
establishing a second database session on a particular node of the multi-node database server;
retrieving the session image; and
using the session image to restore the session state of the first database session to the second database session;
wherein the method is performed by one or more computing devices.
1 Assignment
0 Petitions
Accused Products
Abstract
A session established for an application is suspended from an instance and later resumed on the server or a different server. When a session is suspended, its state is captured and persistently stored as a session image in a data repository, and the session is terminated. When the session is resumed, a new session is established on an instance, the session image of the session to resume is retrieved from the repository and restored to the newly established session. The suspension and resumption of a session may be initiated by an application, which may request the suspension and resumption of a session.
137 Citations
32 Claims
-
1. A method comprising:
-
storing, on a node of a multi-node database server that manages a database, session state of a first database session; wherein the first database session is a connection established for a client to the multi-node database server; wherein each node of the multi-node database server executes a database instance;
wherein the session state is not stored at the client;while the session state of the first database session is stored on the node of the multi-node database server and before a particular database instance that executes on the node of the multi-node database server terminates the first database session; determining, by the particular database instance, based on at least a portion of the session state of the first database session, whether one or more collection criteria are satisfied; only if the one or more collection criteria are satisfied, then; generating a session image of the session state of the first database session; storing the session image of the first database session; terminating the first database session; after terminating the first database session; establishing a second database session on a particular node of the multi-node database server; retrieving the session image; and using the session image to restore the session state of the first database session to the second database session; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
establishing, with an application, a first database session on a node of a multi-node database server; wherein the multi-node database server manages a database; wherein the first database session includes session state; wherein the session state is not stored on a device upon which the application executes; while the session state of the first database session is stored on the node of the multi-node database server, receiving, at a particular database instance that executes on the node of the multi-node database server, from the application, a suspend request identifying the first database session; in response to receiving said suspend request, the particular database instance; determining, based on at least a portion of the session state of the first database session, whether one or more collection criteria are satisfied; terminating the first database session only after determining that the one or more collection criteria are satisfied; wherein the method is performed by one or more computing devices. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. One or more non-transitory storage media storing one or more sequences of instructions which, when executed by one or more processors, cause:
-
storing, on a node of a multi-node database server that manages a database, session state of a first database session; wherein the first database session is a connection established for a client to the multi-node database server; wherein each node of the multi-node database server executes a database instance; wherein the session state is not stored at the client; while the session state of the first database session is stored on the node of the multi-node database server and before a particular database instance that executes on the node of the multi-node database server terminates the first database session; determining, by the particular database instance, based at least a portion of the session state of the first database session, whether one or more collection criteria are satisfied; only if the one or more collection criteria are satisfied; generating a session image of the session state of the first database session; storing the session image of the first database session;
terminating the first database session;
after terminating the first database session;establishing a second database session on a particular node of the multi-node database server; retrieving the session image; and using the session image to restore the session state of the first database session to the second database session. - View Dependent Claims (18, 19, 20, 21, 22)
-
-
23. One or more non-transitory storage media storing one or more sequences of instructions which, when executed by one or more processors, cause:
-
establishing, with an application, a first database session on a node of a multi-node database server; wherein the multi-node database server manages a database; wherein the first database session includes session state; wherein the session state is not stored on a device upon which the application executes; while the session state of the first database session is stored on the node of the multi-node database server, receiving, at a database instance that executes on the node of the multi-node database server, from the application, a suspend request identifying the first database session; in response to receiving said suspend request, the database instance; determining, based on at least a portion of the session state of the first database session, whether one or more collection criteria are satisfied; terminating the first database session only after determining that the one or more collection criteria are satisfied. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32)
-
Specification