Received: by 10.236.165.99 with SMTP id d63mr978047yhl.7.1336580970910; Wed, 09 May 2012 09:29:30 -0700 (PDT) X-BeenThere: mongodb-user@googlegroups.com Received: by 10.236.82.206 with SMTP id o54ls4365064yhe.0.gmail; Wed, 09 May 2012 09:29:19 -0700 (PDT) Received: by 10.236.73.131 with SMTP id v3mr1949059yhd.6.1336580959501; Wed, 09 May 2012 09:29:19 -0700 (PDT) Received: by 10.236.73.131 with SMTP id v3mr1949056yhd.6.1336580959484; Wed, 09 May 2012 09:29:19 -0700 (PDT) Return-Path: Received: from mail-gg0-f177.google.com (mail-gg0-f177.google.com [209.85.161.177]) by gmr-mx.google.com with ESMTPS id b73si3278255yhh.4.2012.05.09.09.29.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 09:29:19 -0700 (PDT) Received-SPF: pass (google.com: domain of sarna...@gmail.com designates 209.85.161.177 as permitted sender) client-ip=209.85.161.177; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of sarna...@gmail.com designates 209.85.161.177 as permitted sender) smtp.mail=sarna...@gmail.com; dkim=pass header...@gmail.com Received: by ggcs5 with SMTP id s5so383122ggc.22 for ; Wed, 09 May 2012 09:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JmOozD79p4s44lsaq2SubbGhppJfkdWebsqwoASIFVY=; b=n8ua4SzesVSxRxotgn+OYAzrRbyRPQOu9TMj7x2sBKOejFGr3Y4xlpcjeXaP4GR62C Bzj8+AWYLV6J6vdUuPhcMYDMwxUICNCZcXYuUr+8r79TNgy8HBKgHhkLrWYIPrcplVUA 1W9RINxgVOoJfsji0YHSEDXEL+J350w/O2IMxSmPbr5ttVN7OXbBUiyARimPMomStOGf FhVK6nnrUu6njWQbMHTUCFu0TuVJAddUyHrLau63GhMvZ8iKHfQrzbgyM1R0YHizYpz8 S3EdGNQdMq2VEsUCxdnnMj9FyBiNp1nJrEZ4MyAHtYOOh32TLSxOYpuo6zCVHABcnaVD 4xQA== MIME-Version: 1.0 Received: by 10.60.21.234 with SMTP id y10mr1197049oee.0.1336580959229; Wed, 09 May 2012 09:29:19 -0700 (PDT) Received: by 10.60.10.67 with HTTP; Wed, 9 May 2012 09:29:19 -0700 (PDT) In-Reply-To: <24744668.1568.1336579476104.JavaMail.geo-discussion-forums@pbud15> References: <24744668.1568.1336579476104.JavaMail.geo-discussion-forums@pbud15> Date: Wed, 9 May 2012 21:59:19 +0530 Message-ID: Subject: Re: [mongodb-user] Re: QueryFlag.NoTimeout practice From: Sarnam To: mongodb-user@googlegroups.com Content-Type: multipart/alternative; boundary=e89a8fb1edc849d5e504bf9d01da --e89a8fb1edc849d5e504bf9d01da Content-Type: text/plain; charset=ISO-8859-1 Thanks craiggwilson for reply. I am facing mongocursor timeout issue. Sometimes it happens that query is fetching 14000 documents but when elaborating MongoCursor through loop it does not show all records. When i see db.serverStatus(), number of cursors timed out shown. correct me if i am wrong means am i thinking it in right way or is there any other issue ? Kindly suggest me why its not showing all documents. Thanks Sarnam Singh On Wed, May 9, 2012 at 9:34 PM, craiggwilson wrote: > Can you elaborate on why you are asking the question? We have chosen > sensible defaults so you shouldn't need to touch these unless you are > experiencing some issue or need to do something very specific. > > On Wednesday, May 9, 2012 7:33:16 AM UTC-7, Sarnam wrote: >> >> Hi, >> I am new to MongoDB. So i want to know that is it good practice to use >> : >> MongoCursor.SetFlag(QueryFlag.**NoTimeOut). >> >> Also tell me about recommended flag means which flags need to be used >> with mongocursor for good programming practice or for better performance in >> term of scalability & response. >> >> Thanks >> Sarnam Singh >> > -- > You received this message because you are subscribed to the Google Groups > "mongodb-user" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/mongodb-user/-/h4T-LMHwtTUJ. > To post to this group, send email to mongodb-user@googlegroups.com. > To unsubscribe from this group, send email to > mongodb-user+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/mongodb-user?hl=en. > --e89a8fb1edc849d5e504bf9d01da Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks craiggwilson for reply.
=A0I am facing = mongocursor timeout issue. Sometimes it happens that query is fetching 1400= 0 documents but when elaborating MongoCursor through loop it does not show = all records. When i see db.serverStatus(), number of cursors timed out show= n.
=A0=A0=A0=A0=A0 correct me if i am wrong means am i thinking it in right wa= y or is there any other issue ?
Kindly suggest me why its not showing al= l documents.

Thanks
Sarnam Singh


On Wed, May 9, 2012 at 9:34 PM, craiggwilson <craiggwilson@gmai= l.com> wrote:
Can you elaborate on why you are asking= the question? =A0We have chosen sensible defaults so you shouldn't nee= d to touch these unless you are experiencing some issue or need to do somet= hing very specific.

On Wednesday, May 9, 2012 7:33:16 AM UTC-7, Sarn= am wrote:
Hi,
=A0=A0 I am new to = MongoDB. So i want to know that is it good practice to use :
MongoCursor.SetFlag(QueryFlag.NoTimeOut).

Also tell me about = recommended flag means which flags need to be used with mongocursor for goo= d programming practice or for better performance in term of scalability &am= p; response.

Thanks
Sarnam Singh

--
You received this message because you are subscribed to the Google Groups &= quot;mongodb-user" group.
To view this discussion on the web visit https://groups.goog= le.com/d/msg/mongodb-user/-/h4T-LMHwtTUJ.
=20 To post to this group, send email to mongodb-user@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user+unsubscrib= e@googlegroups.com.
For more options, visit this group at http://groups.google.com/group= /mongodb-user?hl=3Den.

--e89a8fb1edc849d5e504bf9d01da--