QUERY HANDLING IN DATABASES WITH REPLICATED DATA
First Claim
Patent Images
1. A database access method comprising:
- (1) obtaining a database query referring to data which is stored in each of a plurality of databases, the plurality of databases comprising one or more first databases and one or more second databases, wherein at least one attribute of the data is stored in columnar form in each second database but not in any first database;
(2) determining if the query is to be executed on one or more of the first databases or one or more of the second databases;
(3) providing the query to the one or more of the first databases or the one or more of the second databases as determined in operation (2).
8 Assignments
0 Petitions
Accused Products
Abstract
The same data is stored in at least two different database management systems (DBMS'"'"'s), including a columnar DBMS (320.2) and a non-columnar (e.g. row-oriented) DBMS (320.1). The columnar DBMS may provide fast responses to queries involving aggregation, and such queries can be routed to the columnar DBMS. A query may be routed to the non-columnar DBMS if for example the query execution involves only small DBMS tables on the non-columnar DBMS. In some situations, an execution time estimate can be obtained from each DBMS, and the query is routed to the DBMS providing the shortest estimate.
-
Citations
21 Claims
-
1. A database access method comprising:
-
(1) obtaining a database query referring to data which is stored in each of a plurality of databases, the plurality of databases comprising one or more first databases and one or more second databases, wherein at least one attribute of the data is stored in columnar form in each second database but not in any first database; (2) determining if the query is to be executed on one or more of the first databases or one or more of the second databases; (3) providing the query to the one or more of the first databases or the one or more of the second databases as determined in operation (2). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15)
-
-
13. A database management system comprising:
-
one or more first DBMS'"'"'s; and one or more second DBMS'"'"'s for storing data stored by the first DBMS'"'"'s, with at least one attribute of the data stored in columnar form on at least one second DBMS but not on any first DBMS; wherein the database management system comprises a query router for routing a query to one of the first and second DBMS'"'"'s. - View Dependent Claims (16)
-
-
17. A database management system for accessing one or more first DBMS'"'"'s, the database management system comprising one or more second DBMS'"'"'s for reading data from one or more of the first DBMS'"'"'s which store at least one data attribute in a non-columnar form, and for storing the data attribute in a columnar form in one or more databases managed by the one or more second DBMS'"'"'s;
wherein the database management system comprises circuitry and/or software for determining if a query is to be executed on the one or more of the first DBMS'"'"'s or one or more of the second DBMS'"'"'s, and for either executing the query on one or more of the second DBMS'"'"'s or providing the query to one or more of the first DBMS'"'"'s as determined in the determining operation. - View Dependent Claims (18, 19, 20, 21)
Specification