MONGODB | MONGODB DATABASE DOWNLOAD | COMMANDS AND VERSIONS

MONGODB 



MONGODB | MONGODB DATABASE DOWNLOAD | COMMANDS



Developed By- MongoDB Inc.

Initial Release Date- 11/02/2009.

Written In- C++,javascript,Go,Python.


          MongoDB is an open source database management system. that uses a document-oriented database model which is document oriented and which supports various forms of data. the MongoDB architecture is made up of collections and documents. MongoDB was first developed by MongoDB Inc.

MongoDB is a cross-platform and open-source document-oriented database. It is a highly scalable, flexible, and distributed NoSQL database.

        the File storage in MongoDB can be used as file system which makes use of the above functions and acting in a distributed manner through sharding.


      the Replication in mangoDB is provides high availability via replica sets which consists of two or more copies of the original data. MongoDB doesn’t have any methods to create a database. It automatically creates a database when you save values into the defined collection for the first time


        The MongoDB NoSQL database can be extensively used for Big Data and Hadoop applications for working with humongous amounts of NoSQL data that is a major portion of Big Data. MongoDB and SQL are all database systems, but what sets them apart is their efficiency in today’s world

versions -


  • mangoDB 1.2x  release date -   11/02/2009                                           
  • mangoDB 1.4  release date -     03/2010                                                
  • mangoDB 1.6  release date -     09/2010                                             
  • mangoDB 1.8  release date -    03/2011                                                    
  • mangoDB 2.0 release date -     09/2011                                            
  • mangoDB 2.2  release date -     08/2012                                             
  • mangoDB 2.4  release date -      17/03/2013                                                   
  • mangoDB 2.6  release date -     05/05/2014                                           
  • mangoDB 3.0  release date -     17/03/2015                     
  • mangoDB 3.2  release date -     12/01/2016                             
  • mangoDB 3.4  release date -     20/12/2016                                                 
  • mangoDB 3.6  release date -     26/12/2017                                                 
  • mangoDB 4.0  release date -    29/08/2018                                            
  • mangoDB 4.2  release date -   13/08/2019  


MONGODB COMMANDS -

db.runCommand(): To run a command against the current database

 db.adminCommand():To run an administrative command against the admin database

aggregate: Performs aggregation tasks such as group using the aggregation framework.

count: Counts the number of documents in a collection or a view.

distinct: Displays the distinct values found for a specified key in a collection or a view.

mapReduce: Performs map-reduce aggregation for large data sets.

logout: Terminates the current authenticated session.

createUser: Creates a new user.

dropAllUsersFromDatabase: Deletes all users associated with a database.

dropUser: Removes a single user.

grantRolesToUser: Grants a role and its privileges to a user.

revokeRolesFromUser: Removes a role from a user.

updateUser: Updates a user’s data.

usersInfo:   Returns information about the specified users.

abortTransaction: Abort transaction.

startSession: Starts a new session.

commitTransaction :  Commit transaction.

endSessions: Expire sessions before the sessions’ timeout period.

killAllSessions: Kill all sessions.

refreshSessions: Refresh idle sessions.

Post a Comment

0 Comments