How to enable authentication and authorization in mongoDB is little bit tricky. There are different options available , and when different options and you have to choose one of them is little bit tricky. So , choose one of them, either plain config file or YAML supported file or any another one.
Continue reading Configuration of mongoDB Replicaset
How to write a shell script so that you can spawn different mongod process on different post in single system and add replica set of mongodb. This is very easy to do and write in linux shell script instead of writing one by on linux terminal.
Continue reading Linux shell script to instantiate different mongod process
Security is the primary concerned for all level of stakeholder in the software industry, wherther you are developer, lead, project manager, business user, CXO level.
Continue reading MongoDB Security Questions Answers
If you are mongoDB admin you are interested to get some infomation regarding admin things in one place. I tried to collect few of the admin command and syntax in one place , you know all the syntax and command name is very difficult to collect in one place becuase requirment set for all the admin are different. This page is about the cheat sheet of mongoDB for mongoDB Admin pespective. A mongoDB admin use to do some job or activities in his/her life on day-to-day basis. In the day-to-day life usually few of the commands not remember on that particular time few may remember. For a mongoDB Admin the important is knowledge, I think not important of remembering of syntax and command. Help for syntax and command can be pull from different sources like google, notes.
Well, you must have so many questions in you mind when you heard about anything which has more impact in the software industry. What is Btre ?
where it can be used? How to use this BTree? B-Tree is an extension of Binray Search Tree (BST). B-Tree of order m satisfy following properties.
Continue reading What is B-Tree?
There could be a chances of few question must be in your mind, like why we need role based access control? Why you required either role based or user based access privilege. The answer is simple and best way to described is :
Well, here Role is same role which you think for any database. There is no difference from traditional database. you can grant previledges to a perticular user on some perticular database. here , terminology ‘namespace’ and ‘database’ are same so please don’t confuse with these two terminologies.
Continue reading Roles in mongoDB
mongod.conf is a configuration file in
mongoDB which is being used to read by mongodb server while startup. So, when you run
service mongod start command on linux termincal , mongodb read this property from
/etc/mongod.conf by mongoDB server.
Continue reading mongod.conf yaml file format example
Although there are different way of getting index size and data size in mongDB. I’m trying to explain the different way of doing this.
Continue reading How to get Index and data size in mongoDB?