1. A computer apparatus comprising: a plurality of compute nodes each having a memory and at least one processor; a database residing in the memory; a plurality of networks connecting the plurality of nodes; a network monitor that monitors the plurality of networks and stores network data in a network file; a query file with historical information regarding executed queries which includes information selected from the following: network used, elapsed time, node list, and priority; and a query governor that selects a network from the plurality of networks for the query to access the database from the plurality of networks based on the network data in the network file and the historical information regarding executed queries in the query file.