Mongodb sharded cluster – basics

To scale any databases beyond a limit it data has to be sharded ( Distributed ). MongoDB as a document store has inbuilt sharding. 1. Sharding: Sharding is a method for distributing data across multiple machines. MongoDB uses sharding to support deployments with very large data sets and high throughput on read and write operations. … Continue reading Mongodb sharded cluster – basics

Advertisements

MongoDB Process List In MySQL Way

MongoDB Processlist: As a DBA from MySQL background. I always wanted to quickly visualise what process / queries running inside my MongoDB server just like i do “show processlist” in MySQL. db.currentOp(): https://docs.mongodb.com/manual/reference/method/db.currentOp/ MongoDB command “db.currentOp()” can be used for this purpose. But the command returns a lengthy JSON which is hard to quickly grasp … Continue reading MongoDB Process List In MySQL Way

MongoDB Index Usage Analysis

At MYDBOPS we have ventured into MongoDB recently. We have been exploring it deeply from Jan-2017. In most cases we see MongoDB and MySQL exists together as a part of DB Infra. We have been engaged as part of open source migration for a biggest retail in US.It involves MongoDB and MySQL as a datastore. … Continue reading MongoDB Index Usage Analysis