The Mongo Shell – Part 5

Leave a comment

Rest of the document is written assuming that MongoDB is already installed in the system. If not, please go to the link given https://docs.mongodb.org/manual/installation/ for reference. The terminal commands will be differ for operating systems, but mongo shell commands are same.Open command prompt and enter mongod to start the mongo server.On successful installation, it will show port number 27017 below.Keep current command prompt open, and open another command prompt. Enter mongo on new

Learn More

Connecting to MongoDB – Part 4

Leave a comment

How to connect to MongoDB using the Shell or Command Prompt.So, there is really two possibilities here. You’re working from a Linux-type shell. And by the way even Macintosh uses a bash shell or you’re using a Windows Command Prompt. The only differences are this. If you’re using the Windows Command Prompt, make sure you are running the Command Prompt as administrator. If you’re using a Linux Shell, make sure you proceed your initial commands, your actual Linux commands with the keyword sudo, so

Learn More

MongoDB The data model design – Part 3

Leave a comment

One of the key issues to address, prior to setting up your MongoDB database, is which type of structure to use. MongoDB gives you two primary approaches. You can embed all of the data into a single document; or you can separate data out into separate documents, and use references to connect these documents. There isn’t a single choice. Now, what you see on the screen is that embedded approach. There is not a single choice you should always make. Which choice you have depends on the application

Learn More

MongoDB’s key features – Part 2

Leave a comment

Introducing MongoDBMongoDB is a really versatile NoSQL data solution. There are some key features that really help it to stand out. First and foremost is its high performance. MongoDB is very fast and efficient at responding to queries, and this high performance is very desirable in a lot of environments. It also has high availability. Now, the way it accomplishes this is that MongoDB inherently supports replication and sharding. Certainly, you can install MongoDB on just a single standalone

Learn More

MongoDB Series – Part1

Leave a comment

Introducing MongoDB

MongoDB is an open source document database. What does that mean? Well, a document database is a specific type of database that’s based on a document, as a typical data type. Everything you need to know about a p…

Learn More