A system and methods for parallel processing of queries to one or more databases
are described herein. One or more databases may be distributed among a subset of
slave nodes of a global-results processing matrix. A query to the database may
be generated using a query-based high-level programming language. The query-based
source code then may be converted to intermediary source code in a common programming
language and then compiled into a dynamic link library (DLL) or other type of executable.
The DLL is then distributed among the slave nodes of the processing matrix, whereupon
the slave nodes execute related portions of the DLL substantially in parallel to
generate initial query results. The initial query results may then be provided
to master node of the global-results processing matrix for additional processing,
whereby the master node is adapted to execute one or more associated portions of
the DLL on the initial query results.