Skip to content

Learning MongoDb database. Differences between SQL and noSQL databases. Database design, Normalisation, Query Optimization and more

License

Notifications You must be signed in to change notification settings

unobatbayar/mongo-db

Repository files navigation

mongo-db

Learning Mongo-DB.

Built by unobatbayar to learn MongoDB for Semi-structured Data and Advanced Data Modelling ECS650U at Queen Mary University of London.

MongoDB

A free and open-source cross-platform document-oriented database

-- Local --

Install MongoDB

  brew install mongodb

Run

  mongo 

(The directory and installation has already been made for my personal computer, and I'm using a macbook pro. However, if you would like to do it for your use please refer to: https://docs.mongodb.com/manual/installation/)

-- Cloud --

MongoDB Atlas requires no payments and can be used instantly upon creating an account -> https://cloud.mongodb.com Create an username and password with Read/Write permission and use them in below code to connect directly. Make sure you add your current IP address, otherwise it will be rejected.

Run

  mongo "mongodb://airline-shard-00-00-tq7q4.mongodb.net:27017,airline-shard-00-01-tq7q4.mongodb.net:27017,airline-shard-00-02-tq7q4.mongodb.net:27017/test?replicaSet=Airline-shard-0" --ssl --authenticationDatabase admin --username <USERNAME> --password <PASSWORD>

Give feedback, ideas and more:
Twitter URL

About

Learning MongoDb database. Differences between SQL and noSQL databases. Database design, Normalisation, Query Optimization and more

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages