Patent ID: 7266543

Claim:
A computer-implemented method for directing a server to send a database query to a database management system that manages a database, the method comprising: receiving a database request; parsing the database request into a plurality of operation requests for performing operations on the database; separately grouping the operation requests into at least a first group and a second group, wherein the first group contains a sequence of serial operations of a first particular type, and wherein the second group contains a sequence of serial operations of a second particular type that is distinct from the first particular type; wherein the first group includes read operations; wherein the second group includes write operations, so that responses to the read operations do not await the completion of the write operations; establishing a dedicated first connection for the operations of the first group; establishing a dedicated second connection for the operations of the second group; forwarding the operation requests of the first group over the first connection to the database; maintaining and reusing the first connection until all the operations of the first group have been forwarded to the database; forwarding the operation requests of the second group over the second connection to the database; and maintaining and reusing the second connection until all the operations of the second group have been forwarded to the database, sequentially, sorted by type, so that the read operations are pooled in series and assigned to the first connection, and the write operations are pooled in series and assigned to the second connection.