MongoDB – Create Backup

Database backup is one of the most important process for any database or system administrator. A database backup is the copy of data from the database that helps to reuse the database in case of any loss events happens. Basic Syntax The basic syntax of mongodump command is shown below: mongodump –host [host-name] –username [username] –password [password] –port [port-number] –db [database-name] –out [backup-directory] A brief explanation of…

MongoDB – Sharding

For most organizations, the main reason for using a NoSQL database is the ability to deal with the storage and compute demands of storing and querying large amounts of data. MongoDB Sharding is the method by which MongoDB handles large amounts of data. It can be seen as the process in which large datasets are…

MongoDB – Replication

 Replication defends a database from a single server’s loss. Replication also helps you to recover from the failure of hardware and interruptions of service. You may dedicate one to disaster recovery, reporting, or backup, with additional copies of the data The process of synchronizing data through several servers is replication. With several copies of data…

MongoDB – Aggregation

Aggregations operations process data records and return computed results. Aggregation operations group values from multiple documents together, and can perform a variety of operations on… Aggregation operations perform data record processing and return computed results. Aggregation operations combine values from multiple documents into a single result and can perform a variety of operations on the…

MongoDB – Indexing

Indexes help the resolution of queries effectively. MongoDB must scan every document in a set without indexes, in necessary to pick those documents that fit the query statement. This scan is extremely inefficient and allows a wide data volume to be processed by MongoDB. Indexes help the resolution of queries effectively. MongoDB must scan every…