Open-Source - Document Oriented - Nosql Database - Distributed Database
Open-Source - Document Oriented - Nosql Database - Distributed Database
Open-Source - Document Oriented - Nosql Database - Distributed Database
• Open-source
• Document Oriented
• NoSQL Database
•
• Distributed Database
•
•
• Advantages
•
• we can have any type of data in a separate
document
•
• store a large data by distributing it to several
servers connected to the application.
•
• fast query response.
•
• Reduces need of database joins.
• Multiple copies of data is stored.
What Is NoSQL ?
•
• A Non-Relational database ( No Tables )
•
• A collection may store a number of documents
•
• A collection is like tables in RDBMS, but does
not have a schema like in RDBMS
•
• A collection may store documents those who
are not same in structure. This is possible
because MongoDB is a Schema-free database.
•
In a relational database like MySQL, a schema
defines the organization / structure of data in a
database. MongoDB does not require such a set of
formula defining structure of data. So, it is quite
possible to store documents of varying structures
in a collection. Practically, you don't need to define
a column and it's datatype unlike in RDBMS, while
working with MongoDB.
Documents
• The document is the unit of storing data in
a MongoDB database.
• document use JSON (JavaScript Object
Notation, is a lightweight, thoroughly
explorable format used to interchange data
between various applications) style for
storing data.
• A simple example of a JSON document is as
follows :
{ site : "w3resource.com" }
Valid Collection Names :
• Scalability is a characteristic of a
system that describes its
capability to perform under an
increased workload.