1. A method for optimizing a database query, the method comprising, in a first system having a first dataspace: generating a query plan for the database query; and initiating remote statistics collection associated with the database query on a second system having a second dataspace, wherein the second dataspace includes a current copy of at least a portion of the first dataspace on the first system, and wherein the remote statistics collection uses the second dataspace.