System and method for processing data using a storage device including a processing circuit
A system and method for accelerating algorithms using disaggregated computational storage. In some embodiments, the system includes: a non-volatile storage device, including: non-volatile memory; and a processing circuit, wherein: the non-volatile memory of the non-volatile storage device stores a first part of an object portion; and the processing circuit of the non-volatile storage device is configured: to receive a data structure, the data structure defining a query; and to execute an operation, on the first part of the object portion, based on the query.
1 . A system, comprising:
a non-volatile storage device, comprising:
a non-volatile memory device storing data in an object portion; and
a processing circuit,
wherein
the processing circuit of the non-volatile storage device is configured:
to receive a query; and
to execute the query on the data in a first part of the object portion, the object portion corresponding to a column of a table,
wherein:
the query is represented as a data structure;
the data structure comprises a first field having a first value; and
the first value defines a first characteristic of the query.
2 . The system of claim 1 , wherein the non-volatile memory device of the non-volatile storage device stores an erasure code part associated with the first part of the object portion.
3 . The system of claim 1 , wherein the query is a query for selecting one or more data elements.
4 . The system of claim 1 , wherein:
the query is a query for selecting one or more data elements; and
the first characteristic is an operation of the query.
5 . The system of claim 1 , wherein:
the query is a query for selecting one or more data elements;
the first characteristic is an operation of the query; and
the operation includes one or more of counts, sums, averages, minimums and maximums.
6 . The system of claim 1 , wherein:
the object portion comprises a value of a first attribute;
the query is a query for selecting one or more data elements; and
the first characteristic is a data type of the value of the first attribute.
7 . The system of claim 1 , wherein:
the query is a query for selecting one or more data elements; and
the first characteristic is a compare operation of the query.
8 . The system of claim 1 , wherein:
the query is a query for selecting one or more data elements;
the first characteristic is a compare operation of the query; and
the compare operation is selected from the group consisting of equal to, greater than, greater than or equal to, less than, less than or equal to, and contains.
9 . The system of claim 1 , wherein:
the query is a query for selecting one or more data elements; and
the first characteristic is a threshold value of the query.
10 . A method, comprising:
receiving, by a processing circuit of a non-volatile storage device, a query; and
executing, by the processing circuit of the non-volatile storage device, the query, on data stored in a first part of an object portion, the object portion corresponding to a column of a table,
wherein the non-volatile storage device comprises a non-volatile memory device storing the data in the object portion,
the query is represented as a data structure;
the data structure comprises a first field having a first value; and
the first value defines a first characteristic of the query.
11 . The method of claim 10 , wherein:
the query is a query for selecting one or more data elements.
12 . The method of claim 10 , wherein:
the query is a query for selecting one or more data elements; and
the first characteristic is an operation of the query.