Node-level sub-queries in distributed databases
First Claim
1. A computer program product, comprising:
- a non-transitory computer readable storage memory having computer readable program code embodied therewith, where the computer readable program code when executed on a computer causes the computer 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; and
respond 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.
-
Citations
9 Claims
-
1. A computer program product, comprising:
a non-transitory computer readable storage memory having computer readable program code embodied therewith, where the computer readable program code when executed on a computer causes the computer 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; and respond to the database logical query with at least the local query response. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
Specification