Your cart is currently empty!
Category: mongodb
-
Khóa học miễn phí MongoDB – Data Types nhận dự án làm có lương
MongoDB – Datatypes
MongoDB supports many datatypes. Some of them are −
-
String − This is the most commonly used datatype to store the data. String in MongoDB must be UTF-8 valid.
-
Integer − This type is used to store a numerical value. Integer can be 32 bit or 64 bit depending upon your server.
-
Boolean − This type is used to store a boolean (true/ false) value.
-
Double − This type is used to store floating point values.
-
Min/ Max keys − This type is used to compare a value against the lowest and highest BSON elements.
-
Arrays − This type is used to store arrays or list or multiple values into one key.
-
Timestamp − ctimestamp. This can be handy for recording when a document has been modified or added.
-
Object − This datatype is used for embedded documents.
-
Null − This type is used to store a Null value.
-
Symbol − This datatype is used identically to a string; however, it”s generally reserved for languages that use a specific symbol type.
-
Date − This datatype is used to store the current date or time in UNIX time format. You can specify your own date time by creating object of Date and passing day, month, year into it.
-
Object ID − This datatype is used to store the document’s ID.
-
Binary data − This datatype is used to store binary data.
-
Code − This datatype is used to store JavaScript code into the document.
-
Regular expression − This datatype is used to store regular expression.
Khóa học lập trình tại Toidayhoc vừa học vừa làm dự án vừa nhận lương: Khóa học lập trình nhận lương tại trung tâm Toidayhoc
-
Khóa học miễn phí MongoDB – Advantages nhận dự án làm có lương
MongoDB – Advantages
Any relational database has a typical schema design that shows number of tables and the relationship between these tables. While in MongoDB, there is no concept of relationship.
Advantages of MongoDB over RDBMS
-
Schema less − MongoDB is a document database in which one collection holds different documents. Number of fields, content and size of the document can differ from one document to another.
-
Structure of a single object is clear.
-
No complex joins.
-
Deep query-ability. MongoDB supports dynamic queries on documents using a document-based query language that”s nearly as powerful as SQL.
-
Tuning.
-
Ease of scale-out − MongoDB is easy to scale.
-
Conversion/mapping of application objects to database objects not needed.
-
Uses internal memory for storing the (windowed) working set, enabling faster access of data.
Why Use MongoDB?
-
Document Oriented Storage − Data is stored in the form of JSON style documents.
-
Index on any attribute
-
Replication and high availability
-
Auto-Sharding
-
Rich queries
-
Fast in-place updates
-
Professional support by MongoDB
Where to Use MongoDB?
-
Big Data
-
Content Management and Delivery
-
Mobile and Social Infrastructure
-
User Data Management
-
Data Hub
Khóa học lập trình tại Toidayhoc vừa học vừa làm dự án vừa nhận lương: Khóa học lập trình nhận lương tại trung tâm Toidayhoc