Hardware for performing a database operation
First Claim
1. A processing chip comprising:
- a first hardware element that is configured to;
receive a query that includes a database operation;
generate, in response to receiving the query, a scan operation command that includes, as parameters of the scan operation command, address data that is used to identify input data and one or more values that are used to compare against the input data;
a second hardware element that is configured to;
read the scan operation command;
cause the input data to be read from a location that is indicated by the address data;
perform a comparison between the input data and the one or more values;
generate a result data based on the comparison;
cause the first hardware element to be notified of the result data.
0 Assignments
0 Petitions
Accused Products
Abstract
Techniques for processing a query are provided. One or more operations that are required to process a query are performed by a coprocessor that is separate from a general purpose microprocessor that executes query processing software. The query processing software receives a query, determines one or more operations that are required to be executed to fully process the query, and issues one or more commands to one or more coprocessors that are programmed to perform one of the operations, such as a table scan operation and/or a lookup operation. The query processing software obtains results from the coprocessor(s) and performs one or more additional operations thereon to generate a final result of the query.
-
Citations
26 Claims
-
1. A processing chip comprising:
-
a first hardware element that is configured to; receive a query that includes a database operation; generate, in response to receiving the query, a scan operation command that includes, as parameters of the scan operation command, address data that is used to identify input data and one or more values that are used to compare against the input data; a second hardware element that is configured to; read the scan operation command; cause the input data to be read from a location that is indicated by the address data; perform a comparison between the input data and the one or more values; generate a result data based on the comparison; cause the first hardware element to be notified of the result data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
receiving a query that involves a database operation and one or more other operations; in response to receiving the query; processing, by a microprocessor, the one or more other operations; sending, to a coprocessor that is different than the microprocessor, a database operation command that corresponds to the database operation and that is associated with one or more values; processing, by the coprocessor, the database operation command by; performing a comparison between input data that is referenced by the query and the one or more values that are associated with the database operation command; generating result data based on the comparison; causing the result data to be stored. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification