Re: Mongo DB hanging on executing a long query

23 views
Skip to first unread message

Asya Kamsky

unread,
Dec 12, 2012, 1:12:47 AM12/12/12
to mongod...@googlegroups.com
Exactly how big is the query and how are you constructing it?   Are you using a driver?  Which one?

The other question would be what does it mean "mongoDB hangs" - how do you determine that it's hanging and not still processing your command?

Asya

On Saturday, November 17, 2012 6:02:06 AM UTC+11, Akshaya Sharma wrote:
Hi,

Is there a limit on the length of the query that can be executed in a single shot? I have a query that includes many pipeline operators like $unwind, $project & $group, used multiple times to create an equivalent of a SQL/Oracle nested GroupBy and aliases. But after the query reaches a particular string length...MongoDB hangs and I have to restart the instance. What can be done about this?

Thanks
Reply all
Reply to author
Forward
0 new messages