RELATIONAL DATABASE TREE ENGINE IMPLEMENTING MAP-REDUCE QUERY HANDLING
First Claim
1. A method of processing a database query comprising:
- receiving a SQL database query at a database query handling server managing access to a database;
parsing the SQL database query to identify one or more tables and columns identified by the SQL database query;
determining a query plan based on the parsed database query; and
at a database engine, based on the query plan, and the identified tables and columns;
identifying a set of data nodes implicated by the database and the identified tables and columns;
determining a set of map-reduce operations and levels at which each of the set of map-reduce operations are to execute; and
passing the query plan, the set of data nodes, and the map-reduce operations to a map-reduce query execution framework.
5 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems for processing a database query are disclosed. An example method includes receiving a SQL database query at a database query handling server, and parsing the SQL database query to identify a database and one or more tables and columns identified by the SQL database query. The method also includes determining a query plan based on the parsed database query. At a database engine, and based on the query plan and the identified database, tables and columns, the method further includes identifying a set of data nodes implicated by the identified database, tables and columns, determining a set of reduce operations and levels at which each of the set of map-reduce operations are to execute, and passing the query plan, the set of data nodes, and the map-reduce operations to a map-reduce query execution framework. The map-reduce query framework returns records as query results to the client system.
-
Citations
23 Claims
-
1. A method of processing a database query comprising:
-
receiving a SQL database query at a database query handling server managing access to a database; parsing the SQL database query to identify one or more tables and columns identified by the SQL database query; determining a query plan based on the parsed database query; and at a database engine, based on the query plan, and the identified tables and columns; identifying a set of data nodes implicated by the database and the identified tables and columns; determining a set of map-reduce operations and levels at which each of the set of map-reduce operations are to execute; and passing the query plan, the set of data nodes, and the map-reduce operations to a map-reduce query execution framework. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer storage medium comprising computer-executable instructions which, when executed on a computing system, cause the computing system to perform a method of processing a data query, the method comprising:
-
receiving a SQL database query; parsing the SQL database query to identify a database and one or more tables and columns identified by the SQL database query; determining a query plan based on the parsed database query; and based on the query plan and the identified database, tables and columns; identifying a set of data nodes implicated by the identified database, tables and columns; determining a set of map-reduce operations and levels at which each of the set of map-reduce operations are to execute; and passing the query plan, the set of data nodes, and the map-reduce operations to a map-reduce query execution framework. - View Dependent Claims (15, 16)
-
-
17. A database query handling system comprising:
-
a plurality of data nodes; a database query handling server communicatively connected to each of the plurality of data nodes, the database query handling server comprising; a parser component executing on a database query handling server, the parser component configured to parse a SQL database query to identify a database and one or more tables and columns identified by the SQL database query; a query planner component executing on the database query handling server, the query planner component receiving the SQL database query, the database, and the one or more tables and columns, the query planner component configured to determine a set of operations and an execution sequence of the set of operations used to perform the SQL database query; a database engine executing on the database query handling server, the database engine configured to, based on the query plan and the identified database, tables and columns, identify a set of data nodes implicated by the identified tables and columns from among the plurality of data nodes, and determine a set of map-reduce operations and nodes at which the map-reduce operations are to be executed. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification