Diagnosing driver installation problems

The MongoDB driver is not installing correctly Most of the problems are with the native BSON parser and there can be a multitude of reasons why it’s not installing correctly and the driver is falling back to the js implementation of the serializer. This post will hopefully help you track down what the problem is on your system. We will start looking at it from a checklist point of view. Build Essentials Linux/Unix If you don’t have the build essentials it won’t build.

The New Bulk API

The New Bulk API One of the core new features in MongoDB 2.6 is the new bulk write operations. All the drivers include a new bulk api that allows applications to leverage these new operations using a fluid style API. Let’s explore the API and how it’s implemented in the Node.js driver. The API The API have two core concepts. The ordered and the unordered bulk operation. The main difference is in the way the operations in a bulk are executed.

Mongo Driver and Mongo DB 2.6 Features

Mongo Driver and Mongo DB 2.6 Features MongoDB 2.6 introduces some new powerful features that are reflected in the 1.4 driver release. These include. Aggregation cursors Per query timeouts maxTimeMS Ordered and Unordered bulk operations A parallelCollectionScan command for fast reading of an entire collection Integrated text search in the query language Moreover the driver includes a whole slew of minor and major bug fixes and features. Some of the more noteworthy features include.

The wonderful world of GEO spatial indexes in MongoDB

The wonderful world of GEO spatial indexes in MongoDB MongoDB has native support for geospatial indexes and extensions to the query language to support a lot of different ways of querying your geo spatial documents. We will touch on a all of the available features of the MongoDB geospatial support point by point as outlined below. Query $near a point with a maximum distance around that point Set the minimum and maximum range for the 2d space letting you map any data to the space GeoNear command lets you return the distance from each point found $within query lets you set a shape for you query letting you use a circle, box or arbitrary polygon, letting you map complex geo queries such as congressional districts or post code zones.

A primer for GridFS using the Mongo DB driver

A primer for GridFS using the Mongo DB driver In the first tutorial we targeted general usage of the database. But Mongo DB is much more than this. One of the additional very useful features is to act as a file storage system. This is accomplish in Mongo by having a file collection and a chunks collection where each document in the chunks collection makes up a Block of the file.

A Basic introduction to Mongo DB

A Basic introduction to Mongo DB Mongo DB has rapidly grown to become a popular database for web applications and is a perfect fit for Node.JS applications, letting you write Javascript for the client, backend and database layer. Its schemaless nature is a better match to our constantly evolving data structures in web applications, and the integrated support for location queries is a bonus that’s hard to ignore. Throw in Replica Sets for scaling, and we’re looking at really nice platform to grow your storage needs now and in the future.