407 reputation
28
bio website askasya.com
location San Francisco, CA
age
visits member for 2 years, 9 months
seen Jan 30 at 4:37

Principal Solutions Architect for MongoDB Inc.

Answering questions and discussing MongoDB use cases on MongoDB Users Group at https://groups.google.com/forum/#!forum/mongodb-user

Posting "stupid MongoDB tricks" on http://www.kamsky.org/stupid-tricks-with-mongodb.html

Answering most interesting questions in details on http://askasya.com


Jan
10
comment Mongodb replication behind a gateway
why would it be relevant which one is the primary? any of them should be able to be primary.
Jan
5
comment Chunk Size is shown as 1 KB in mongo db logs even it is set to 300 MB
so you did change the chunk size - to what? and why? anyway this is a bad forum for such a complex issue - stackexchange is for simple Q&A and this question isn't simple and requires a lot more information to properly diagnose.
Jan
3
comment Help - Error : Could not connect to master of shard replica set
looks like possible intermittent network issues. does it resolve itself?
Jan
2
comment Chunk Size is shown as 1 KB in mongo db logs even it is set to 300 MB
in any case, you're conflating a number of different problems/symptoms, some of which are benign and some of which are warnings rather than errors. you don't say how this is "bringing your shard set up down"...
Jan
2
comment Chunk Size is shown as 1 KB in mongo db logs even it is set to 300 MB
did you stop the mongos on 192.168.22.106? What version is this? Same version in every single component of the cluster? Can you show the full command that got the entry from setting - you're checking the config DB through mongos? How did you change this value?
Dec
23
comment Disable TTL thread in MongoDB
it works on any mongod whether it's a shard or standalone or replica node. not on mongos though as mongos doesn't run the TTL thread.
Dec
5
awarded  Explainer
Dec
5
awarded  Yearling
Dec
5
awarded  Editor
Dec
5
revised Mongos - Query error
formatting of code/error
Dec
5
answered Mongos - Query error
Dec
5
suggested approved edit on Mongos - Query error
Dec
5
answered Disable TTL thread in MongoDB
Dec
5
answered Copy Remote Database MongoDB
Dec
5
comment Copy Remote Database MongoDB
I answered your question on MongoDB-user Google group which is probably a more appropriate place for the question anyway.
Sep
24
awarded  Autobiographer
Sep
13
comment Mongodb extremely slow with bulk inserts and showing erratic behavior
why don't you post this on mongodb-user google group - this isn't a simple question/answer - there is a lot of information that would help here. Without more details about what your application is doing, what the indexes are, how the space is allocated, what sort of storage, OS settings, etc. it would mostly be guessing. Btw, why are you sending 20K documents - they will be split into 1K batches by driver anyway, why not have more threads sending 1K batches - also make sure that you use "unordered" bulk inserts.
Sep
1
answered How to determine database read/write ratio on MongoDB MMS?
Aug
30
comment How to determine database read/write ratio on MongoDB MMS?
are you mainly asking about a single node (primary of replica set) or about a sharded cluster?
May
13
comment High Global Lock % on Mongodb
Also index miss does not mean that the record was not in an index, it means that index was not in RAM.