Node-level sub-queries in distributed databases
First Claim
1. A method, comprising:
- receiving a database logical query comprising a logical query indicator at a distributed database management system (DBMS) within a distributed network of database management systems, where the logical query indicator encapsulates within the received database logical query at least one physical database query and the logical query indicator further comprises at least one provenance indicator that instructs distributed database management systems that process the at least one encapsulated physical database query to add a database management system identifier to query responses, and the database logical query comprises at least one database management system identifier that identifies at least one distributed DBMS to execute the encapsulated physical database query against a physical database managed by the at least one distributed DBMS;
determining that the at least one database management system identifier matches a local database management system identifier;
executing the at least one encapsulated physical database query against at least one local physical database table within the physical database managed by the at least one distributed DBMS;
forming a local query response comprising data retrieved from the at least one local physical database table;
adding the local database management system identifier to the local query response in response to the at least one provenance indicator; and
responding to the database logical query with at least the local query response.
1 Assignment
0 Petitions
Accused Products
Abstract
A database query is received that includes a logical query indicator at a distributed database node within a distributed network of databases. The logical query indicator includes at least one physical database query and at least one database node identifier that allows at least one distributed database node to identify at least one physical database to execute the physical database query against. It is determined that the at least one database node identifier matches a local node identifier. The at least one physical database query is executed against at least one local physical database table. A local query response is formed including data retrieved from the at least one local physical database table. The database query is responded to with at least the local query response. This abstract is not to be considered limiting, since other embodiments may deviate from the features described in this abstract.
66 Citations
18 Claims
-
1. A method, comprising:
-
receiving a database logical query comprising a logical query indicator at a distributed database management system (DBMS) within a distributed network of database management systems, where the logical query indicator encapsulates within the received database logical query at least one physical database query and the logical query indicator further comprises at least one provenance indicator that instructs distributed database management systems that process the at least one encapsulated physical database query to add a database management system identifier to query responses, and the database logical query comprises at least one database management system identifier that identifies at least one distributed DBMS to execute the encapsulated physical database query against a physical database managed by the at least one distributed DBMS; determining that the at least one database management system identifier matches a local database management system identifier; executing the at least one encapsulated physical database query against at least one local physical database table within the physical database managed by the at least one distributed DBMS; forming a local query response comprising data retrieved from the at least one local physical database table; adding the local database management system identifier to the local query response in response to the at least one provenance indicator; and responding to the database logical query with at least the local query response. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a memory adapted to store node-level sub-query information; and a processor programmed to; receive a database logical query comprising a logical query indicator at a distributed database management system (DBMS) within a distributed network of database management systems, where the logical query indicator encapsulates within the received database logical query at least one physical database query and the logical query indicator further comprises at least one provenance indicator that instructs distributed database management systems that process the at least one encapsulated physical database query to add a database management system identifier to query responses, and the database logical query comprises at least one database management system identifier that identifies at least one distributed DBMS to execute the encapsulated physical database query against a physical database managed by the at least one distributed DBMS; determine that the at least one database management system identifier matches a local database management system identifier; execute the at least one encapsulated physical database query against at least one local physical database table within the physical database managed by the at least one distributed DBMS; form a local query response comprising data retrieved from the at least one local physical database table; add the local database management system identifier to the local query response in response to the at least one provenance indicator; store the local query response to the memory; and respond to the database logical query with at least the local query response. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A system, comprising:
-
a memory adapted to store node-level sub-query information; and a processor programmed to; receive a database logical query comprising a logical query indicator at a distributed database management system (DBMS) within a distributed network of database management systems, where the logical query indicator encapsulates within the received database logical query at least one physical database query, and at least one provenance indicator that instructs distributed database management systems that process the at least one physical database query to add a database management system identifier to query responses, and the database logical query comprises at least one database management system identifier that identifies at least one distributed database management system to execute the encapsulated physical database query against a physical database managed by the at least one distributed DBMS; compare the at least one database management system identifier with a local database management system identifier; determine that the at least one database management system identifier matches the local database management system identifier; execute the at least one encapsulated physical database query against at least one local physical database table within the physical database managed by the at least one distributed DBMS; determine whether the at least one encapsulated physical database query comprises at least one database aggregation operation comprising at least one of a join operation, a maximum result operation, a minimum result operation, and an average result operation; perform, in response to determining that the at least one encapsulated physical database query comprises the at least one database aggregation operation comprising at least one of the join operation, the maximum result operation, the minimum result operation, and the average result operation, the database aggregation operation comprising the at least one join operation, maximum result operation, minimum result operation, and average result operation on data retrieved from the at least one local physical database table; form a local query response comprising at least one of the data retrieved from the at least one local physical database table and results of the database aggregation operation; store the local query response to the memory; and respond to the database logical query with the data received in association with at least one distributed query response aggregated with the local query response.
-
Specification