Mongo DB

How MongoDB Journaling Works

Mongo DB

MongoDB uses write ahead logging to an on-disk journal to guarantee write operation durability and to provide crash resiliency. Before applying a change to the data files, MongoDB writes the change operation to the journal. If MongoDB should terminate or encounter an error before it can write the changes from the journal to the data files, MongoDB can re-apply the ... Read More »

Install MongoDB on Ubuntu

Mongo DB

This tutorial helps to install MongoDB on Ubuntu systems. The tutorial uses .deb packages to install. The MongoDB package repository contains five packages: mongodb-org This package is a metapackage that will automatically install the four component packages listed below. mongodb-org-server This package contains the mongod daemon and associated configuration and init scripts. mongodb-org-mongos This package contains the mongos daemon. mongodb-org-shell ... Read More »