Method and mechanism to multiplex multiple application server requests over a single database connection
First Claim
1. A method for avoiding section collision for application server requests over a single database connection between a database server and an application server, the method comprising:
- (a) receiving a first statement assigned a first command source identifier by the database server from a first application source over the single database connection, the first command source identifier uniquely identifying an application source to the first statement;
(b) receiving a second statement assigned a second command source identifier by the database server from a second application source over the single database connection, wherein the first statement is substantially identical to the second statement;
the second command source identifier uniquely identifying an application source to the second statement and,(c) executing the first statement assigned a first command source identifier separately from and in parallel with the second statement assigned the second command source without section collision.
3 Assignments
0 Petitions
Accused Products
Abstract
In a method for avoiding section collision for application server requests over a single database connection, the database server assigns query identifiers to each instance of the same cursor opened for the same processing level within an application, allowing multiple instances of the same cursor to be processed in parallel without section collision. The application server assigns a command source identifier to each statement sent over a single database connection to uniquely identify the application source of the statement. This applies for multiples of the same statement sent by different application sources within the same application, for a single statement containing multiple application sources, and for multiple statements from different applications multiplexed over a single database connection. These statements can be processed separately from and in parallel with the each other without section collision.
-
Citations
14 Claims
-
1. A method for avoiding section collision for application server requests over a single database connection between a database server and an application server, the method comprising:
-
(a) receiving a first statement assigned a first command source identifier by the database server from a first application source over the single database connection, the first command source identifier uniquely identifying an application source to the first statement; (b) receiving a second statement assigned a second command source identifier by the database server from a second application source over the single database connection, wherein the first statement is substantially identical to the second statement; the second command source identifier uniquely identifying an application source to the second statement and, (c) executing the first statement assigned a first command source identifier separately from and in parallel with the second statement assigned the second command source without section collision. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for avoiding section collision for application server requests over a single database connection, the method comprising:
-
(a) receiving a first statement to open a cursor by a database server over a single database connection between the database server and an application server; (b) creating a first instance of an open cursor in response to the first statement; (c) assigning the first instance a first query identifier, the first query identifier uniquely identifies the first instance of the open cursor; (d) receiving a second statement to open the cursor by the database server over the single database connection before the first instance of the open cursor closes; (e) creating a second instance of the open cursor in response to the second statement; and (f) assigning the second instance a second query identifier, the second query identifier uniquely identifies the second instance of the open cursor. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification