Database management system and method
First Claim
Patent Images
1. A database management system comprising:
- a query interface for receiving a query;
a query plan generator for generating a query plan from said received query; and
a query executor for executing said received query in accordance with said generated query plan, wherein said query executor;
executes a database processing for a database in accordance with said query plan;
in said database processing, generates a new task each time each data is accessed, in accordance with a plurality set of data contained in said database, a task from which said new task originates processing data following said data accessed;
issues a data read request for reading data from said database in the generated new task, acquires said data from said database, and executes said database processing for said acquired data;
executes said database processing for each of a plurality of generated new tasks, and thereafter eliminates each of said new tasks; and
executes in parallel at least two tasks of said plurality of generated new tasks.
2 Assignments
0 Petitions
Accused Products
Abstract
A database management system has a query interface for receiving a query and a query executor for executing the received query. The query executor dynamically generates a task, and executes a plurality of tasks in parallel. In execution of each task, each time data is required to be read from a database, the query executor generates a task for acquiring the data, and in execution of the generated task, issues a data read request for reading the data from the database, to thereby shorten a time taken to execute each task.
55 Citations
20 Claims
-
1. A database management system comprising:
-
a query interface for receiving a query;
a query plan generator for generating a query plan from said received query; and
a query executor for executing said received query in accordance with said generated query plan, wherein said query executor;
executes a database processing for a database in accordance with said query plan;
in said database processing, generates a new task each time each data is accessed, in accordance with a plurality set of data contained in said database, a task from which said new task originates processing data following said data accessed;
issues a data read request for reading data from said database in the generated new task, acquires said data from said database, and executes said database processing for said acquired data;
executes said database processing for each of a plurality of generated new tasks, and thereafter eliminates each of said new tasks; and
executes in parallel at least two tasks of said plurality of generated new tasks. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A database management method for a database management system connected to a database via a network, comprising:
-
a step of receiving a query;
a step of generating a query plan from said received query;
a step of executing a database processing in accordance with said query plan;
a step of, in said database processing, generating a new task each time each data is accessed, in accordance with a plurality set of data contained in said database, a task from which said new task originates processing data following said data accessed;
a step of issuing a data read request for reading data from said database in the generated new task, acquiring said data from said database, and executing said database processing for said acquired data;
a step of executing said database processing for each of a plurality of generated new tasks, and thereafter eliminating each of said new tasks; and
a step of executing in parallel at least two tasks of said plurality of generated new tasks. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer system comprising:
-
a query interface for receiving a query;
a query plan generator for generating a query plan from said received query; and
a query executor for executing said received query in accordance with said generated query plan, wherein said query executor;
executes a database processing for a database in accordance with said query plan;
in said database processing, generates a new task each time each data is accessed, in accordance with a plurality set of data contained in said database, a task from which said new task originates processing data following said data accessed;
issues a data read request for reading data from said database in the generated new task, acquires said data from said database, and executes said database processing for said acquired data;
executes said database processing for each of a plurality of generated new tasks, and thereafter eliminates each of said new tasks;
suspends to generate a new task if the number of presently existing tasks reaches a predetermined number, and generates a new task if the number of presently existing tasks becomes smaller than said predetermined number; and
executes in parallel at least two tasks of said plurality of generated new tasks. - View Dependent Claims (18, 19, 20)
-
Specification