1. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a plurality of network interfaces coupled to a plurality of networks; and a query optimizer residing in the memory and executed by the at least one processor, the query optimizer taking network choice into consideration when executing a database query by considering characteristics of the plurality of networks in selecting at least one of the plurality of networks for executing the query.