Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to tell if you are sharding?

Received: by 10.224.111.140 with SMTP id s12mr7483673qap.5.1353284663511;
        Sun, 18 Nov 2012 16:24:23 -0800 (PST)
X-BeenThere: mongodb-user@googlegroups.com
Received: by 10.49.1.5 with SMTP id 5ls1264365qei.18.gmail; Sun, 18 Nov 2012
 16:24:00 -0800 (PST)
Received: by 10.58.85.106 with SMTP id g10mr2618764vez.2.1353284640156;
        Sun, 18 Nov 2012 16:24:00 -0800 (PST)
Received: by 10.58.85.106 with SMTP id g10mr2618763vez.2.1353284640138;
        Sun, 18 Nov 2012 16:24:00 -0800 (PST)
Return-Path: <nestorle...@gmail.com>
Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178])
        by gmr-mx.google.com with ESMTPS id h20si65055vdg.3.2012.11.18.16.24.00
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sun, 18 Nov 2012 16:24:00 -0800 (PST)
Received-SPF: pass (google.com: domain of nestorle...@gmail.com designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of nestorle...@gmail.com designates 209.85.220.178 as permitted sender) smtp.mail=nestorle...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-vc0-f178.google.com with SMTP id gb30so5831609vcb.23
        for <mongodb-user@googlegroups.com>; Sun, 18 Nov 2012 16:24:00 -0800 (PST)
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=nrPJIfKYyO5/CGu7grrhlI2mYQnGk9ybJzToiVOQGvU=;
        b=nWAZbPqpIn8XPTRy3ZqB5QZaFWiVty8gRQnX14ewBZugUBpWkWjL6mauTENCO2hoGF
         zzzb9l3OY0amqSSI65zkZ2I0MEh6IIJc2GZGEXuJNZsGxzTZybmxGhfEED4mdjq0mhs0
         QKs/5u5r4M4sTxjfl/eReV6SKywtCK1+eaeYg/Jyt9NMTy1qMffu6mKPibXKqzN54X0B
         eYTsyj3x5bu0QIl+TY4b2Y3CxX/hAvVYYupJQCnnkanHP8YFKL/g6ZxVMVkBWNDrQvnQ
         r6OuH7yeYOv9TfQr2poUFZ3xaxykQ/QybdkBh051tY+3nG2ltUxawwhbvdiW6EagYCNy
         1NlA==
MIME-Version: 1.0
Received: by 10.52.144.72 with SMTP id sk8mr15204743vdb.35.1353284640019; Sun,
 18 Nov 2012 16:24:00 -0800 (PST)
Received: by 10.58.211.134 with HTTP; Sun, 18 Nov 2012 16:23:59 -0800 (PST)
In-Reply-To: <ff181319-32e1-4e30-ab5b-dadb3bb73d68@googlegroups.com>
References: <b9cb3fd9-f46d-4ea9-8284-1d2508ed0e42@googlegroups.com>
	<5af7858b-d8ff-48cd-876e-b4b2d7251758@googlegroups.com>
	<ff181319-32e1-4e30-ab5b-dadb3bb73d68@googlegroups.com>
Date: Sun, 18 Nov 2012 18:23:59 -0600
Message-ID: <CAMR4oP8FDFNsfp7Zi6zSMHfNFZa9pBbxwXQEbLsbz8Zqd08...@mail.gmail.com>
Subject: Re: [mongodb-user] Re: How to tell if you are sharding?
From: Nestor Ledon <nestorle...@gmail.com>
To: mongodb-user@googlegroups.com
Content-Type: multipart/alternative; boundary=bcaec52d58733f949204cece225a

--bcaec52d58733f949204cece225a
Content-Type: text/plain; charset=ISO-8859-1

Thank you for your reply. I was definitely getting them mixed up.


On Fri, Nov 16, 2012 at 5:06 PM, gregor <gre...@10gen.com> wrote:

> I think you are mixing up capped collections and shard maxSize
> http://docs.mongodb.org/manual/reference/commands/#addShard
> If you specified 1000 as maxSize that's 1000MB.
> A better way to force chunks to balance (sharding) is to limit chunkSize
> (say set it to 1MB) - just do this for test purposes though.
>
> You can check sharding status by connecting to mongos and running
> sh.status()
>
>
> On Friday, November 16, 2012 8:10:08 PM UTC, Nestor Ledon wrote:
>>
>> -_- scratch that. Caed collections aren't shard-able.
>>
>> On Friday, November 16, 2012 1:44:33 PM UTC-6, Nestor Ledon wrote:
>>>
>>> How would I know my collection is being sharded?
>>>
>>> I capped Shard1 at 1000 in an attempt to force it to shard, but running
>>> "show colections" on Shard2 yields nothing.
>>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> 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
> See also the IRC channel -- freenode.net#mongodb
>

--bcaec52d58733f949204cece225a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thank you for your reply. I was=A0definitely=A0getting them mixed up.<div c=
lass=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Fri, Nov 16, 201=
2 at 5:06 PM, gregor <span dir=3D"ltr">&lt;<a href=3D"mailto:gre...@10gen.c=
om" target=3D"_blank">gre...@10gen.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I think you are mixing up capped collections=
 and shard maxSize<div><a href=3D"http://docs.mongodb.org/manual/reference/=
commands/#addShard" target=3D"_blank">http://docs.mongodb.org/manual/refere=
nce/commands/#addShard</a></div>
<div>If you specified 1000 as maxSize that&#39;s 1000MB.=A0</div><div>A bet=
ter way to force chunks to balance (sharding) is to limit chunkSize (say se=
t it to 1MB) - just do this for test purposes though.=A0</div><div><br></di=
v>
<div>You can check sharding status by connecting to mongos and running</div=
><div>sh.status()</div><div><br><br>On Friday, November 16, 2012 8:10:08 PM=
 UTC, Nestor Ledon wrote:<blockquote class=3D"gmail_quote" style=3D"margin:=
0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
-_- scratch that. Caed collections aren&#39;t shard-able.<br><br>On Friday,=
 November 16, 2012 1:44:33 PM UTC-6, Nestor Ledon wrote:<blockquote class=
=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
How would I know my collection is being sharded?<div><br></div><div>I cappe=
d Shard1 at 1000 in an attempt to force it to shard, but running &quot;show=
 colections&quot; on Shard2 yields nothing.<span class=3D"HOEnZb"><font col=
or=3D"#888888"><br>
</font></span></div></blockquote></blockquote></div><span class=3D"HOEnZb">=
<font color=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google<br>
Groups &quot;mongodb-user&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:mongodb-user@googleg=
roups.com" target=3D"_blank">mongodb-user@googlegroups.com</a><br>
To unsubscribe from this group, send email to<br>
<a href=3D"mailto:mongodb-user%2Bunsubscribe@googlegroups.com" target=3D"_b=
lank">mongodb-user+unsubscribe@googlegroups.com</a><br>
See also the IRC channel -- <a href=3D"http://freenode.net#mongodb" target=
=3D"_blank">freenode.net#mongodb</a><br>
</font></span></blockquote></div><br></div>

--bcaec52d58733f949204cece225a--