MongoDB Overview / Install


MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.

Database

Database is a physical container for collections. Each database gets its own set of files on the file system. A single MongoDB server typically has multiple databases.

Collection

Collection is a group of MongoDB documents. It is the equivalent of an RDBMS table. A collection exists within a single database. Collections do not enforce a schema. Documents within a collection can have different fields. Typically, all documents in a collection are of similar or related purpose.

Document

A document is a set of key-value pairs. Documents have dynamic schema. Dynamic schema means that documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection's documents may hold different types of data.
The following table shows the relationship of RDBMS terminology with MongoDB.



Installation 
 Download community version for Redhat Linux x64
[root@kpxxdbrm02ord mongodb]# tar xvf mongodb-linux-x86_64-rhel70-3.6.1.tgz
mongodb-linux-x86_64-rhel70-3.6.1/README
mongodb-linux-x86_64-rhel70-3.6.1/THIRD-PARTY-NOTICES
mongodb-linux-x86_64-rhel70-3.6.1/MPL-2
mongodb-linux-x86_64-rhel70-3.6.1/GNU-AGPL-3.0
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongodump
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongorestore
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongoexport
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongoimport
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongostat
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongotop
mongodb-linux-x86_64-rhel70-3.6.1/bin/bsondump
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongofiles
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongoreplay
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongoperf
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongod
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongos
mongodb-linux-x86_64-rhel70-3.6.1/bin/mongo
mongodb-linux-x86_64-rhel70-3.6.1/bin/install_compass
create /data/db directory which is the default directory for mongodb , 
Also it can be change on the prod server configuration as required.
 
start mongodb process using ./mongod  and connect to the client using ./mongo
 
       






















































































Comments

Popular posts from this blog

SQL SERVER – Event ID 107- Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.

SQL Server Builds Information

Using DBCA silent install and disabling automatic memory management