Skip to main content

MongoDB

MongoDB is a document oriented Database and it is written in C++.Because of its cross platform it is widely used in industries.At the same time its performance,scalability and availability also high.
MongoDb is a NoSQL database.

Advantages of MongoDB
1.Number of fields and size can differ from documents.
2.Deep query ability
3.No complex joins.......
Where it is used
1.App relational database
2.Data hub
3.Huge data management.
4.Social infrastructure.


After install the MongoDB in your laptop.You can carry out your tasks as you want.
So our next question is where we have our works in laptops?Our works will be in terminal(ubuntu),command prompt(windows).Yes when pay our view towards terminal face works.

In terminal there are two main steps to do our mongoDB works
1.sudo mongod
2.sudo mongo
actually here we start the server and client side respectively.So why we used sudo here.sudo means it detect the whole laptop and find out and start ,no need to start the work on terminal from exact position.

Now we ready to do our works.
1)So now we have to create a database.
2)To see the database in my laptops











3)To find out at what database currently i do my work

4)To delete the database which i have created
(before this we find out the current position so we can drop the database as follows it means it drop the current DB if you want to drop any other, than current you can switched in to it as use databasename and enter db to find location and drop)



5)To create a collection in to the database.



6)To drop my collection
<db.songsdetails.drop()
7)To see my all my collection
<show collections
continue...

















































































Comments

Popular posts from this blog

  Node.js What is Node.js? Node.js used as back-end (server-side) language in the development. As usual client/user deal with the front end of the applications.There are much process behind that , we call it as back-end.There, we used several languages like Node.js, php and java as server side languages and MongoDB or MySQL as data base. Node.js is an open-source ,cross-platform javascript runtime environment and library for running web applications outside the client's browser.It is a server-side platform built on Google Chrome's javascript engine(V8 Engine).Node.js was developed by Ryan Dahi in 2009 and its latest version is v14.13.0. Node.js applications are written in javascript and can be run within the Node.js runtime on OS X,Microsoft Windows and Linux.                      Node.js = Runtime Environment + JavaScript Library. Reference ( Simplilearn youtube channel, Node.js documentation)

Toast master

Commonly Toastmaster means that a person who take the certain event in proceedings.But it was intiated by US youths to improve their communication skills.Main purpose of this is to improve their communication,leadership and forwardness.Toastmasters uses a club based structure having 20 to 40 members.Mostly meetings are held in the evening.Toastmaster carry out the meeting and call the person to intro.Anually world champion of public speaking is held on august.Since it was intiated by youths in a small level,now it was followed by million of people. Here toast master asked to introduced themself.Table topic master,Round robin master,Timer,Ah counter,Grammarian,Evaluator introduced themself.

API

API stands for Application Programming interface.API is an interface used by programs to interact with application,which mean that API allow the applications  to communicate with each other. Really API is not a database or server,API is the code that give the access point for the server.