Apparatus and method for passing statements to foreign databases by using a virtual package
First Claim
1. A method for processing a plurality of requests, comprising the steps of:
- receiving the requests by a database server, each of the requests including a respective statement that can be performed by a foreign database server and a reference to the foreign database server, each respective statement including at least one operation necessary for execution that cannot be performed by the database server;
collecting the statements included in the requests into a single call request for the foreign database server;
sending the single call request to the foreign database server; and
receiving results from the foreign database server generated in response to the single call request.
4 Assignments
0 Petitions
Accused Products
Abstract
An apparatus and method for accessing foreign processes in a heterogeneous database environment includes a local database server having heterogeneous services to selectively send foreign operations to the appropriate foreign processes in a controllable manner. A client application sending a statement to the local database server is checked by the local server to determine if the statement includes a reference to a foreign database system. The heterogeneous services selectively outputs a the foreign request to an agent process in communication with the foreign database system via an Application Programming Interface (API), where a foreign database driver corresponding to the foreign database maps the request from the API to the format of the foreign database. The local database server selectively allocates memory space for expected results from the foreign database, and completes execution of the statement upon receiving the expected results from the agent process. Hence, the agent process efficiently manages client statements having expressions to be processed by a foreign database system.
194 Citations
20 Claims
-
1. A method for processing a plurality of requests, comprising the steps of:
-
receiving the requests by a database server, each of the requests including a respective statement that can be performed by a foreign database server and a reference to the foreign database server, each respective statement including at least one operation necessary for execution that cannot be performed by the database server; collecting the statements included in the requests into a single call request for the foreign database server; sending the single call request to the foreign database server; and receiving results from the foreign database server generated in response to the single call request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer readable medium having stored thereon sequences of instructions for responding to a plurality of requests, the sequences of instructions including instructions for performing the steps of:
-
receiving the requests by a database server, each of the requests including a respective statement that can be performed by a foreign database server and a reference to the foreign database server, each respective statement includes at least one operation necessary for execution that cannot be performed by the local database server; collecting the statements included in the requests into a single call request for the foreign database server; and sending the single call request to the foreign database server receiving results from the foreign database server generated in response to the single call request. - View Dependent Claims (12, 13)
-
-
14. A computer system configured to respond to a plurality of requests, comprising:
-
a local server process configured for; receiving the requests, each of the requests including a respective statement that can be performed by a foreign database server and a reference to the database server, each respective statement including at least one operation necessary for execution that cannot be performed by the local server process; and determining the operations necessary for execution of the respective statements; and an agent process configured for; collecting the statements included in the requests into a single call request for the foreign database server; and sending the single call request to the foreign database server based on the corresponding reference in the statement; wherein the local server process is further configured for receiving results from the foreign process generated in response to the single call request. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification