Archive: MongoDB RSS feed for this section

Telemetry Series: Page Faults

A key component of optimizing application performance is tuning the performance of the database that supports it. Each post in our Telemetry series discusses an important metric used by developers and database administrators to tune the database and describes how MongoLab users can leverage Telemetry, MongoLab’s monitoring interface, to effectively review and take action on […]

Full Article

A Primer on Geospatial Data and MongoDB

MongoDB offers new geospatial features in versions 2.4 and 2.6.  The core of these features is the introduction of GeoJSON, an open-source format for rich geospatial types that go beyond what MongoDB has supported in previous versions. This post is a primer for developers new to geospatial data in MongoDB. We aim to familiarize you […]

Full Article

Easily find & kill MongoDB operations from MongoLab’s UI

A few months ago, we wrote a blog post on finding and terminating long-running operations in MongoDB. To help make it even easier for MongoLab users* to quickly identify the cause behind database unresponsiveness, we’ve integrated the currentOp() and killOp() methods into our management portal. (more…)

Full Article

Tutorial: Scaling Meteor with MongoDB oplog tailing

Updated October 18, 2016: Made version 2.6+ compatibility section default Updated September 12, 2014: Added section on compatibility with 2.6 Ever since Meteor 0.7.0 first introduced oplog tailing, we’ve had a lot of users asking us about using the MongoDB oplog with their Meteor applications. As a result, we thought a step-by-step tutorial would help folks get started. […]

Full Article

Reporting back from MongoDB World 2014, NYC, Planet JSON

Closely approaching the one year mark of when I first joined MongoLab (and the MongoDB community), I had the pleasure of attending the inaugural MongoDB World conference put together by the incredible MongoDB team. Second only to the excitement around major MongoDB feature announcements was the collective disbelief that this was MongoDB’s first multi-day conference […]

Full Article

MongoDB driver tips & tricks: PHP

A large proportion of support requests to MongoLab are questions about how to properly configure and use a particular MongoDB driver. This blog post is the third of a series where we are covering each of the major MongoDB drivers in depth. The driver we’ll be covering here is the PHP driver, developed and maintained […]

Full Article

MongoDB driver tips & tricks: Node.js Mongoose ODM

Updated 9/21/15: This blog post is now outdated. We recommend upgrading your driver to the latest version of Mongoose. If you have any questions or difficulties, email us at support@mongolab.com. Many of the support requests we get at MongoLab are questions about how to properly configure and use particular MongoDB drivers and client libraries. This […]

Full Article

MongoDB driver tips & tricks: Mongoid 3

Update 9/21/2015: Mongoid 5, which runs on top of the MongoDB Ruby driver, has been released. We highly recommend upgrading to the latest driver – this article is now outdated. Please reach out to support@mongolab.com if you have any questions. Update 8/18/2014: Added section about refresh_interval, removed Mongoid 4 references Many of the support requests […]

Full Article

Finding and terminating long-running operations in MongoDB

When your MongoDB becomes unresponsive, it’s imperative that you can quickly identify the cause. Although there can be many reasons for unresponsiveness, we sometimes find that particularly long-running and/or blocking operations (either initiated by a human or an application) are the culprit. Some examples of common operations that can bog down the database are: operations […]

Full Article

Managing disk space in MongoDB

In our previous post on MongoDB storage structure and dbStats metrics, we covered how MongoDB stores data and the differences between the dataSize, storageSize and fileSize metrics. We can now apply this knowledge to evaluate strategies for re-using MongoDB disk space. When documents or collections are deleted, empty record blocks within data files arise. MongoDB […]

Full Article