Database system and a method of data retrieval from the system
First Claim
1. A database system built by distributing one or more databases and one or more first servers which search the databases for real data on a network, said first servers comprising first metadata saving means for saving metadata which pertain to real data stored in said one or more databases, wherein the database is a relational database, said system comprising:
- a metadata database for collecting and managing metadata saved in said first metadata savings means;
metadata retrieval means for extracting metadata which matches a request from a user terminal connected to the network by searching said metadata database in response to said request;
real data retrieval means for directly retrieving real data corresponding to the extracted metadata from said one or more databases, wherein said real data retrieval means bypasses said metadata retrieval means when directly retrieving said real data, wherein said metadata contains at least information indicating a location of the database or the first server, and contents of real data in the database;
table extraction means for extracting one table including columns that store data to be retrieved from a plurality of tables in the database;
column exclusion means for excluding columns of the table extracted by said table extraction means and columns on other tables which store the same data contents as data contents of the columns on the extracted table from columns to be extracted in subsequent processing; and
table joining means for joining the tables extracted in turn by said table extraction means when the processing of said table extraction means and the processing of said column exclusion means have been repeated until all the columns including data to be retrieved are analyzed, and the real data is retrieved from the tables joined by said table join means.
2 Assignments
0 Petitions
Accused Products
Abstract
Since metadata pertaining to real data stored in at least one database (DB) are collected and managed at a single meta DB server, and metadata that match a retrieval request are extracted by search of the meta DB server, even when a plurality of DBs and DB servers for managing DBs are present on a network, all metadata that match the retrieval request can be extracted independently of which DBs metadata pertain to. Hence, all data that match a retrieval request can be obtained from a single server independently of the actual locations of the distributed DBs and DB servers.
179 Citations
19 Claims
-
1. A database system built by distributing one or more databases and one or more first servers which search the databases for real data on a network, said first servers comprising first metadata saving means for saving metadata which pertain to real data stored in said one or more databases, wherein the database is a relational database, said system comprising:
-
a metadata database for collecting and managing metadata saved in said first metadata savings means;
metadata retrieval means for extracting metadata which matches a request from a user terminal connected to the network by searching said metadata database in response to said request;
real data retrieval means for directly retrieving real data corresponding to the extracted metadata from said one or more databases, wherein said real data retrieval means bypasses said metadata retrieval means when directly retrieving said real data, wherein said metadata contains at least information indicating a location of the database or the first server, and contents of real data in the database;
table extraction means for extracting one table including columns that store data to be retrieved from a plurality of tables in the database;
column exclusion means for excluding columns of the table extracted by said table extraction means and columns on other tables which store the same data contents as data contents of the columns on the extracted table from columns to be extracted in subsequent processing; and
table joining means for joining the tables extracted in turn by said table extraction means when the processing of said table extraction means and the processing of said column exclusion means have been repeated until all the columns including data to be retrieved are analyzed, and the real data is retrieved from the tables joined by said table join means. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
means for inputting a retrieval request of the metadata;
means for inputting a retrieval condition upon retrieving real data on the database using a retrieval result of the metadata supplied from said metadata retrieval means; and
means for transferring the input retrieval condition to the first server indicated by the extracted metadata as a retrieval request.
-
-
6. A system according to claim 5, wherein said means for inputting a retrieval condition is an operational screen provided by said second servers.
-
7. A system according to claim 5, wherein the first server comprises means for converting the retrieval request to the database transferred from the user terminal into a format concordant with the database to be accessed.
-
8. A system according to claim 1, wherein said metadata has a structure divided into a plurality of layers.
-
9. A method of retrieving real data by a user from a network having a at least one distributed database having at least one database server associated therewith, the method comprising:
-
creating composite metadata relating to real data in all of the at least one distributed database;
storing the created composite metadata in a metadata database;
issuing an inquiry from the user to a server containing the metadata database;
searching the metadata database based upon the inquiry;
transmitting a search result from the server to the user;
bypassing the server containing the metadata database and issuing a real data retrieval request from the user to said at least one database server based upon the search result;
searching the at least one distributed database;
transmitting a retrieval result of real data to the user from said at least one distributed database; and
updating the created composite metadata, wherein said updating includes checking for expiration of an update interval associated with said at least one database server. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification