MongoDB Authentication

[root@my-host-name bin]$ cat /etc/mongod.conf # MongoDB Configuration File # # General Settings journal = true fork = true quiet = true directoryperdb = true smallfiles = true # Logging verbose = true logappend = true oplogSize = 50 #logpath =…

MongoDB Diagnostic Tools/Utilities

MongoDb Inc. currently don’t have one-tool-for-any-troubleshooting-scenario. However, they have a number of tools that help with different aspects of trouble shooting. The best practice is (like in many other Monitoring/Troubleshooting apps) to have a holistic (NOC) view on overall system…

MongoDB Export cmd

Here’s is a simple MongoDB ‘mongoexport’ command syntax to backup the document/database. This command can be used to backup based on particular conditions (‘where’ clause) Go to MongoDB bin  directory and execute as below:./mongoexport –host localhost –port 10000 -d doc_name…

MongoDB vs MySQL

Here is a comparison between MongoDB and Relational database, MySQL:   Because of distributed key value store, MapReduce calculation capability and document oriented NoSQL features, MongoDB® is The database for Big Data processing.

How do I start MongoDB

If MongoDB installed successfully through RPM installation/any other process, you’ll usually see the below Mongo binaries in the bin (eg. */opt/mongodb/bin*) folder which will be useful to start the Mongo processes (mongod&mongos). [user@hostname bin]$ pwd /opt/mongodb/bin [user@hostname bin]$ ls -lthr…

Introduction to MongoDB world

MongoDB is an opensource , schema less , nosql database. It uses a form of JSON to store and manipulate its data. Datais actully stored in BSON format which is acronym of binary Json. BSON comes with some utilities on…

MongoDB ONLINE FREE COURSES

M101J: MongoDB for Java Developers Introductory Learn basic installation of MongoDB, JSON, schema design, querying, insertion of data, indexing and working with language drivers. The course project involves building a blogging platform with MongoDB. Code examples will be in Java….