Articles in mongodb 2.6

Optimizing MongoDB Queries with Elasticsearch

There is a school of thought that says one database should be able to cover all your database needs. Tsk. When we hear the question "So, which should I choose for my application, MongoDB or Elasticsearch?" our default answer, for so many database que…

Continue reading »

Full Text Search with MongoDB & Node.js

Today we are going to look at a full text search in MongoDB and how you can use it from Node.js. Before we go any further, you'll need a MongoDB 2.6 system. MongoHQ users will also need to be running on a paid account, either an Elastic Deployment or…

Continue reading »

MongoDB & Indexing: Best Practices Redux

Back in May last year, we talked about a set of best practices for indexing and MongoDB, focusing on performance. Since then MongoDB 2.6 has arrived and it's a good time to update that list. One index per query MongoDB can only use one index in any o…

Continue reading »

Aggregation in MongoDB 2.6: Things Worth Knowing

TL;DR: The powerful aggregation framework in MongoDB is even more powerful in MongoDB 2.6 The MongoDB 2.6 release improved aggregation framework (one of MongoDB's best features) considerably. We often hear from customers who are unaware of the aggreg…

Continue reading »

MongoDB 2.6 Shell & Tools: Things Worth Knowing

Earlier this year, as part of a series on the Mongo Shell, we introduced readers to the .mongorc.js file. This file, which lives in a user's home directory, is automatically executed when the mongo shell is run, making it a great place to customise y…

Continue reading »

MongoDB 2.6 Indexing Improvements: Things worth knowing

TL;DR: Background indexing now works with replica set secondaries. MongoDB has, over recent versions, improved its ability to index stored data on the primary server, bringing in background indexing for a single index in 2.2 and multiple background i…

Continue reading »

Feature Highlight: maxTimeMS in MongoDB 2.6

It's probably happened to you before -- you have an idea in your head and you want to run an operation against your database to show you the data that will answer your question or find the result you want to act on. You conjure the query. You type o…

Continue reading »

Better Bulking for MongoDB 2.6 & Beyond

TL;DR: Be careful using the new Bulk API There are two new features in MongoDB 2.6 that offer potentially huge performance improvements - the new write protocol and the Bulk operations support in Mongo.shell (and other drivers). The two features are…

Continue reading »

Elastic Deployments, Now with MongoDB 2.6

We're excited to announce today support for MongoDB 2.6. MongoDB 2.6 is one of the largest releases MongoDB, Inc. has ever issued -- aptly calling it "a quantum leap forward" that builds upon five years of making developers happy. How cool is that? W…

Continue reading »

MongoDB 2.6 Development Branch Available (Free)

In our weekend hacking project, we experimented with MongoDB 2.5.2 new features. We figured other members of the MongoDB community would also want to test the development branch. Of course, our next step was to build a sandbox environment with MongoD…

Continue reading »