I will execute a big query so i want to know what is the maximum length of a mongodb query ?
The maximum size of a document, which is what you are constructing when you create a query is 16MB. You can see that, and other limits here:
http://docs.mongodb.org/manual/reference/limits/