1. A parallel-processing system, including memory and at least one processor, capable of dynamically creating a distributed tree for distributing data to the parallel-processing system, comprising: a plurality of child master nodes operable to: establish connections among the plurality of child master nodes, and distribute a received pre-compiled query to the plurality of child master nodes; and a plurality of parent master nodes operable to: receive the pre-compiled query from a client for distribution within the parallel-processing system, identify at least two child master nodes allocated to the parent master node for the dynamically created distribution tree, establish connections with the identified at least two child nodes to form the dynamically created distribution tree, receive from the identified at least two child master nodes polling information, determine, based on the received polling information, a percentage of master nodes in the parallel-processing system that are connected to the dynamically created distribution tree, determine whether the percentage of master nodes in the parallel-processing system connected to the dynamically created distribution tree is above a threshold percentage, and responsive to a determination that the percentage of master nodes in the parallel-processing system connected to the distribution tree is above the threshold percentage, pre-key the identified at least two child nodes by distributing the pre-compiled query to the identified at least two child master nodes, wherein the connections between the plurality of parent master nodes and the identified at least two child master nodes operate to form the dynamically created distribution tree, the identified at least two child master nodes operate to further distribute the pre-compiled query to additional master nodes through the dynamically created distribution tree, and the pre-compiled query is distributed in advance of a user providing a request to the parallel-processing system.