In MongoDB each member of a replica set has a state so in this blog we can see about replica set member states & its explanation. MongoDB replica set has three types of states. Core states. Other states. Error states. Core states : In Core states has three members and all are eligible to voteContinue reading “MongoDB replica set Member states”
Author Archives: arunkumarblog
MongoDB v4.2 Update Operators – Part II
Already we have seen that the Field Update Operators in previous blog. In this blog we can seen about Array and Bitwise Operators and it’s explanation. Array Update Operators : 1.) $ : To update the first element that matches the query condition. Syntax : { “<array.$>” : value } Explanation : The Array fieldContinue reading “MongoDB v4.2 Update Operators – Part II”
MongoDB v4.2 Update Operators – Part I
In this blog we can seen what are update operators were present in MongoDB and it’s explanation. Field Update Operators. Array Update Operators. Bitwise Update Operator. Modifier are available for use in update operations eg. db.collection.update() db.collection.findAndModfiy() Field Update Operators : 1. ) $currentDate : Set the value of a field to the current date.Continue reading “MongoDB v4.2 Update Operators – Part I”
Wildcard Index in MongoDB 4.2
In this blog we can see about Wildcard Index which is introduced in MongoDB 4.2 version. MongoDB 4.2 introduced Wildcard Indexes for supporting queries unknown or arbitrary fields. Wildcard Index filter that can automatically match any fields,sub documents or an array in a collection. Wildcard Index supports most of all queries. It will reduce executionContinue reading “Wildcard Index in MongoDB 4.2”
Avoid OOM killer While taking MongoDump
In this blog we can see about how to avoid OOM (Out Of Memory) killer while taking MongoDump, So I have analysed and provided proper solutions. Explain about MongoDump :- MongoDump tool is part of the MongoDB tools package. It is a utility for creating a binary export of the contents of a database. ItContinue reading “Avoid OOM killer While taking MongoDump”