System and method of storing and analyzing information
First Claim
Patent Images
1. A method for storing and analyzing information comprising:
- receiving, at runtime, a graph database query specified in a query language;
during the runtime, converting the query to data parallel source code;
during the runtime, with a compiler layer, compiling the data parallel source code to provide executable code;
during the runtime, dynamically loading the executable code onto a plurality of computing elements;
during the runtime, executing the executable code, the executing comprising;
calling one or more methods of a graph database library, the graph database library comprising multithreaded algorithms, processes, and data structures for managing the graph database and query execution, the graph database library comprising a plurality of methods for accessing the multithreaded algorithms, processes, and data structures, one or more of the methods being called by the executable code;
calling one or more methods of a multithreaded runtime library, the multithreaded runtime library comprising a plurality of methods for implementing a global address space and thread management, the calling the one or more methods of the multithreaded runtime library comprising;
calling an API of the multithreaded runtime library to allocate memory in the global address space; and
calling an API of the multithreaded runtime library to free memory in the global address space;
calling a method of the graph database library to instantiate at least one data structure of the graph database library in the global address space, the global address space being partition between the plurality of computing elements;
with the runtime library, aggregating data requests for a computing element of the plurality of computing elements;
with the runtime library, sending the aggregated data requests to the computing element of the plurality of computing elements; and
returning query execution results in response to the graph database query.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method of storing and analyzing information is disclosed. The system includes a compiler layer to convert user queries to data parallel executable code. The system further includes a library of multithreaded algorithms, processes, and data structures. The system also includes a multithreaded runtime library for implementing compiled code at runtime. The executable code is dynamically loaded on computing elements and contains calls to the library of multithreaded algorithms, processes, and data structures and the multithreaded runtime library.
17 Citations
28 Claims
-
1. A method for storing and analyzing information comprising:
-
receiving, at runtime, a graph database query specified in a query language; during the runtime, converting the query to data parallel source code; during the runtime, with a compiler layer, compiling the data parallel source code to provide executable code; during the runtime, dynamically loading the executable code onto a plurality of computing elements; during the runtime, executing the executable code, the executing comprising; calling one or more methods of a graph database library, the graph database library comprising multithreaded algorithms, processes, and data structures for managing the graph database and query execution, the graph database library comprising a plurality of methods for accessing the multithreaded algorithms, processes, and data structures, one or more of the methods being called by the executable code; calling one or more methods of a multithreaded runtime library, the multithreaded runtime library comprising a plurality of methods for implementing a global address space and thread management, the calling the one or more methods of the multithreaded runtime library comprising; calling an API of the multithreaded runtime library to allocate memory in the global address space; and calling an API of the multithreaded runtime library to free memory in the global address space; calling a method of the graph database library to instantiate at least one data structure of the graph database library in the global address space, the global address space being partition between the plurality of computing elements; with the runtime library, aggregating data requests for a computing element of the plurality of computing elements; with the runtime library, sending the aggregated data requests to the computing element of the plurality of computing elements; and returning query execution results in response to the graph database query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of implementing a graph database with an oversubscription of threads to computing elements comprising:
-
receiving a query, at runtime, specified in a query language; during the runtime, converting the query to data parallel source code; during the runtime, compiling the data parallel source code to provide data parallel executable code; loading the data parallel executable code onto computing elements; and executing the data parallel executable code, the executing comprising; calling at least one method of a graph database library of multithreaded algorithms, processes, and data structures for managing a graph database and query execution, the calling at the least one method of the graph database library comprising calling a method to instantiate at least one of the data structures; calling at least a first method and at least a second method of a multithreaded runtime library for implementing a global address space and thread management, the at least a first method allocating memory in the global address space and the at least a second method freeing memory in the global address space, wherein the at least one of the data structures is implemented in memory allocated by the at least a first method; and returning query execution results in response to the query. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. A method of implementing a graph database with an oversubscription of threads to computing elements comprising:
-
receiving a user SPARQL query during runtime; during the runtime, converting the user SPARQL query to a C++source code; during the runtime, compiling the C++source code to produce an executable code; loading the executable code onto computing elements; executing the executable code, the executing comprising; making program calls to a graph database library of multithreaded algorithms, processes, and data structures for managing a graph database and query execution, wherein making program calls to the graph database library comprises; calling the graph database library to create at least one of an array, a table, a graph, and a dictionary using an API of the graph database library; and making program calls to a multithreaded runtime library comprising a plurality of methods for implementing a global address space and thread management wherein the multithreaded runtime library exposes to the library of multithreaded algorithms, processes, and data structures an API that permits allocating, accessing, and freeing data in the partitioned global address space, the making program calls to the multithreaded runtime library comprising; calling an API of the multithreaded runtime library to allocate memory; and calling an API of the multithreaded runtime library to free memory; sending and receiving messages to and from the computing elements using a MPI message passing layer; and returning query execution results in response to the user SPARQL query. - View Dependent Claims (20, 21, 22, 23)
-
-
24. One or more non-transitory computer-readable media comprising computer-executable instructions that, when executed, cause a computing system to perform processing to implement a graph database query processor, the processing comprising:
-
at runtime, receiving a query specified in a query language; converting the query to data parallel source code; compiling the data parallel source code to produce data parallel executable code; loading the executable code onto a plurality of computing elements; and executing the executable code, the executing comprising; making program calls to a graph database library of multithreaded algorithms, processes, and data structures for managing a graph database and query execution, the making program calls to the graph database library comprising; calling an API of the graph database library to instantiate at least one data structure; and making calls to a multithreaded runtime library comprising a plurality of methods for implementing a global address space and thread management, the making calls to the multithreaded runtime library comprising; calling an API of the multithreaded runtime library to allocate memory in the global address space; and calling an API of the multithreaded runtime library to free memory in the global address space; and returning query execution results in response to the query. - View Dependent Claims (25, 26, 27, 28)
-
Specification