Technique for providing a universal query for multiple different databases
First Claim
1. In a computing environment, a method for querying a plurality of databases for desired data using a single database query, said method comprising the steps of:
- generating a global database query at a client which requests desired data;
transmitting the global database query over a network to a plurality of servers, each of said servers being associated with one or more databases;
for each server and database combination, determining whether the database associated with the server contains the desired data, wherein each of the servers is associated with a factory class, and the factory class for each of the servers receives the global database query and determines whether the desired data resides in the database associated with the server; and
retrieving the desired data from each of the databases that contains the desired data and transmitting the desired data over the network to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for permitting a client in a client/server computing environment to query a plurality of databases for desired data utilizing a single query sent over a network one time. The single query need not be written in the syntax for the target database, but includes the names of the database and table within the database which contains the desired data. The query is sent from the client over the network via a specified socket, and is received by servers connected to the network which are listening to the specified socket. Each server includes code which determines if the desired data is present in a database which is associated therewith. If so, the server code generates an appropriate query for its associated database, retrieves the desired data from the database and forwards the data to the client over the network. If the data is not present in the associated database, the server preferably informs the client that the data is not present in its associated database, and the client makes a record of the responses from the servers.
62 Citations
3 Claims
-
1. In a computing environment, a method for querying a plurality of databases for desired data using a single database query, said method comprising the steps of:
-
generating a global database query at a client which requests desired data;
transmitting the global database query over a network to a plurality of servers, each of said servers being associated with one or more databases;
for each server and database combination, determining whether the database associated with the server contains the desired data, wherein each of the servers is associated with a factory class, and the factory class for each of the servers receives the global database query and determines whether the desired data resides in the database associated with the server; and
retrieving the desired data from each of the databases that contains the desired data and transmitting the desired data over the network to the client. - View Dependent Claims (2, 3)
-
Specification