1. A system for processing at least one query to at least one electronic database, the system comprising: a query server for receiving a query and compiling at least one executable from query language based source code, the at least one executable having at least a first portion and a second portion, the first portion configured to generate a portion of initial query results and the second portion configured to execute one or more operations on a set of initial query results; a first type of processing matrix adapted to perform a database operation on hierarchical data; a second type of processing matrix adapted to perform an indexing database operation; a third type of processing matrix adapted to perform a database operation on large amounts of data; a query agent being adapted to select a type of processing matrix, from at least the first type of processing matrix, the second type of processing matrix, and the third type of processing matrix, to process the query based on at least one database operation to be performed to process the query, wherein each type of processing matrix comprises a master node and a plurality of slave nodes; the master node of the selected type of processing matrix being adapted to receive the at least one executable and comprising: at least one storage device; and a processor; and the plurality of slave nodes of the selected type of processing matrix operably connected to the master node, each of the plurality of slave nodes receiving at least the same first portion of the at least one executable from the master node, each slave node comprising: disk storage for receiving and storing a distinct portion of the database wherein the entire database is distributed among the plurality of slave nodes in distinct portions; and a processor for executing the first portion of the at least one executable on the distinct portion of the database to generate a portion of initial query results; wherein the plurality of slave nodes executes the first portion of the at least one executable substantially in parallel to generate the set of initial query results; wherein the second portion of the at least one executable is executed on the initial query results to generate resultant query results, which are stored at the master node; and wherein the plurality of slave nodes are used to process the query.