Reputation
1,001
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 11
Newest
 Constituent
Impact
~24k people reached

Aug
17
comment How do I define the frequency of my mongo backup
Note that MongoDB Ops Manager is part of a commercial Enterprise subscription. There's also a hosted version called MongoDB Cloud Manager, which also has an associated cost for backups.
Aug
16
comment delete old 'Monitoring Agent' metrics and 'Automation Agent' Debug logs via scheduler
MongoDB Ops Manager is only available with an appropriate Enterprise support subscription or trial, so you should be entitled to file a support enquiry directly with MongoDB: mongodb.com/lp/contact/enterprise.
Aug
10
comment How should massive effect update queries and scripts be performed?
What size MongoLab instance are you using .. and what version of MongoDB server and client/driver? Assuming MongoDB 2.6 or newer, there's a Bulk Write API which is more efficient than individual inserts/updates. With only 20k documents I'm guessing the problem is more likely a resource constraint (RAM or I/O) than write lock. Can you post a link to pastebin/gist with some output from mongostat collected while your update script is running?
Aug
10
comment MongoDB document delete and fragmentation
What specific version of MongoDB are you using (and if >3.0, what storage engine)?
Aug
10
answered MongoDB WiredTiger compression stats
Aug
9
answered How do I create a Mongo config file to allow access to http on port 28017
Aug
9
answered How do I define the frequency of my mongo backup
Aug
9
awarded  Constituent
Jul
27
awarded  Caucus
Jul
27
comment MongoDB WiredTiger compression stats
Welcome to StackOverflow! This question would be better suited to DBA StackExchange as it is about database server messaging rather than a specific programming question. FYI, the WiredTiger count of pages that "failed to compress" indicates where compression didn't result in an on-disk storage saving so the pages were stored uncompressed. This is an informational counter and expected behaviour (i.e. unrelated to data integrity or a message to be concerned about).
Jul
27
answered How to get minimum value in pyMongo
Jul
21
comment Backup with mongoexport or mongodump?
It sounds like you're looking for an export rather than a backup. If you only export a subset of fields, presumably you won't be able to restore that and have a fully workable database. There are a few other options to consider: encrypt any fields with sensitive data (via application code) so that you can do a normal mongodump or filesystem snapshot backup, or write a custom export if mongoexport doesn't do what you need. Any tools or programs that read data from mongod could alter your working set if your data to export is bigger than avail RAM. Filesystem snapshots are less disruptive
Jul
18
comment Bypassing LDAP for MongoDb Users
MongoDB Enterprise is only available with a commercial support subscription or trial, so you should probably be filing an enquiry directly with MongoDB: contact form.
Jul
16
answered mongoDB: querying for a document that has an object reference
Jul
15
answered MongoDB sharding
Jul
7
answered Adding wiredtiger nodes to a non-wiredtiger replica set
Jul
6
comment Adding wiredtiger nodes to a non-wiredtiger replica set
Setting the tcp_keepalive_time has definitely fixed the problem for other users with the same issue. I don't think you have a choice of not going through the Azure balancer or some other network gear that has the keepalive issue, so it's definitely worth a try. Note: In case you didn't check my profile .. I work for MongoDB ;-).
Jul
6
comment Adding wiredtiger nodes to a non-wiredtiger replica set
tcp_keepalive_time should be lowered as to 120 as per the production notes: "The TCP keepalive on the Azure load balancer is 240 seconds by default, which can cause it to silently drop connections if the TCP keepalive on your Azure systems is greater than this value. You should set tcp_keepalive_time to 120 to ameliorate this problem."
Jul
3
comment Adding wiredtiger nodes to a non-wiredtiger replica set
What is your tcp_keep_alive setting? That's the key one for Azure (especially if you are getting network timeouts). Insufficient ulimits will generally catch you at a later point in the initial sync process.
Jul
3
comment Adding wiredtiger nodes to a non-wiredtiger replica set
Have you reviewed the production notes for Linux & Azure? In particular I would make sure you have reduced the tcp_keep_alive timing to 120 seconds and increased your ulimits from the default before doing the initial sync.