This document provides an overview of MongoDB, including what it is, its purpose and history. It compares MongoDB to MySQL and describes some of the key differences in their data structures and querying capabilities. It also provides instructions on installing and using MongoDB, with examples of creating databases and collections, inserting documents, and performing queries.
Presentation Material for NoSQL Indonesia "October MeetUp".
This slide talks about basic schema design and some examples in applications already on production.
MongoDB is a scalable high-performance open-source document-orientated database which is built for speed, rich document based queries for easy readability, full index support for high performance, replication and failover for high availability, auto sharding for easy scalability and map/reduce for aggregation.
Presentation Material for NoSQL Indonesia "October MeetUp".
This slide talks about basic schema design and some examples in applications already on production.
MongoDB is a scalable high-performance open-source document-orientated database which is built for speed, rich document based queries for easy readability, full index support for high performance, replication and failover for high availability, auto sharding for easy scalability and map/reduce for aggregation.
There is no greater joy than gradually dicovering who you are. This document hopes to help people break out of their shells and start the journey of self discovery.
MongoDB (from humongous) is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. Released under a combination of the GNU Affero General Public License and the Apache License, MongoDB is free and open-source software.
MongoDB is the most famous and loved NoSQL database. It has many features that are easy to handle when compared to conventional RDBMS. These slides contain the basics of MongoDB.
This paper trying to focus on main features, advantages and applications of non-relational database namely Mongo DB and thus justifying why MongoDB is more suitable than relational databases in big data applications. The database used here for comparison with MongoDB is MySQL. The main features of MongoDB are flexibility, scalability, auto sharding and replication. MongoDB is used in big data and real time web applications since it is a leading database technology.
MongoDB is an open-source document database, and the leading NoSQL database. Written in C++.
MongoDB has official drivers for a variety of popular programming languages and development environments. There are also a large number of unofficial or community-supported drivers for other programming languages and frameworks.
This is an introduction about the MongoDB. It includes basic MongoQueries. Not a advance level of presentation but provide nice information for the starters
2. What is MongoDB
MongoDB is an open-source document database
Purpose to build MongoDB
Scalability
Performance
High Availability
History of MongoDB
MongoDB began in 2007 Thanks: http://www.javatpoint.com
3. Terminology and Concepts
MySQL MongoDB
1. MongoDB is an open-source database developed by
MongoDB, Inc.
2. MongoDB stores data in JSON-like documents that
can vary in structure.
3. MongoDB uses dynamic schemas, meaning that
you can create records without first defining the
structure, such as the fields or the types of their
values.
1. MySQL is a popular open-source relational database
management system (RDBMS).
2. MySQL stores data in tables and uses structured
query language (SQL) for database access.
3. In MySQL, related information may be stored in
separate tables, but associated through the use of
joins.
Sources: https://www.mongodb.com/compare/mongodb-mysql
5. Are MongoDB and MySQL used together?
Many e-commerce applications use a combination of MongoDB and MySQL.
The product catalog, which includes multiple products with different attributes, is a good fit for MongoDB’s
flexible data model.
On the other hand, the checkout system, which requires complex transactions, would likely be built on
MySQL or another relational technology.
9. Create a Database
There is no create database command in MongoDB. Actually, MongoDB do not
provide any command to create database.
use myNewDB
db.myNewCollection1.insert( { x: 1 } )
11. Document Database
A record in MongoDB is a document, which is a data structure composed of field and value pairs.
MongoDB documents are similar to JSON(JavaScript Object Notation) objects.
Sources: https://www.mongodb.com/compare/mongodb-mysql
12. Databases and Collections
MongoDB stores in collections; the collections in databases. Collections are analogous to tables in
relational databases.
Sources: https://www.mongodb.com/compare/mongodb-mysql00
19. Comparison Query Operators
$eq Matches values that are equal to a specified value.
$gt Matches values that are greater than a specified value.
$gte Matches values that are greater than or equal to a specified value.
$lt Matches values that are less than a specified value.
$lte Matches values that are less than or equal to a specified value.
$ne Matches all values that are not equal to a specified value.
MongoDB tutorial provides basic and advanced concepts of SQL. Our MongoDB tutorial is designed for beginners and professionals.
MongoDB is a No SQL database. It is an open-source, cross-platform, document-oriented database written in C++.
Our MongoDB tutorial includes all topics of MongoDB database such as insert documents, update documents, delete documents, query documents, projection, sort() and limit() methods, create collection, drop collection etc. There are also given MongoDB interview questions to help you better understand the MongoDB database.
MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling.
In simple words you can say that - Mongo DB is a document oriented database. It is an open source product, developed and supported by a company named 10gen.
MongoDB is available under General Public license for free and it is also available under Commercial license from the manufacture.
The manufacturing company 10 gen has given the definition of Mongo DB:
"Mongo DB is scalable, open source, high performance, document oriented database." - 10 gen
MongoDB was designed to work with commodity servers. Now it is used by company of all sizes, across all industry.
Purpose to build MongoDB
This may be a very genuine question that - "what was the need of MongoDB although there were many databases in action?"
This is a very simple answer:
All the modern applications require big data, fast features development, flexible deployment and the older database systems not enough competent, so the MongoDB was obviously needed.
Main purpose to build MongoDB:
Scalability
Performance
High Availability
Scaling from single server deployments to large, complex multi-site architectures.
Key points of MongoDB
Develop Faster
Deploy Easier
Scale Bigger