Patent ID: 7114001

Claim:
A method for processing client requests at a server computer, comprising: receiving an initial portion of a client command from a client computer, wherein the client command comprises an initial portion and remaining portions of a database request; wherein the initial portion comprises a subset of a sequence of statements forming said database request; predicting what the next sequence of statements of the client command will be received based on the initial portion of the client command, prior to receiving the remaining portions of the client command from the client computer, wherein the remaining portions of the client command comprise at least one statement of said database request; executing said predicted sequence of statements of the client command; receiving the remaining portions of the client command from the client computer; determining whether the complete client command matches the predicted client command; if the complete client command matches the predicted client command, sending a result of executing the predicted client command to the client computer; predicting the client command at the client computer based on the initial portion of the client command sent to the server; determining, at the client computer, whether the complete client command matches the client's predicted command; and if not, sending the complete client command in its entirety along with a flag indicating an unsuccessful prediction from the client computer to the server computer.