English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Any relational database has a typical architectural design that shows the number of tables and their relationships. In MongoDB, there is no concept of relationships.
Less schema − MongoDB is a document database where a collection contains different documents. The number of fields between documents, content, and document size may vary.
The structure of a single object is clear.
No complex joins.
In-depth query capabilities. MongoDB supports dynamic querying of documents using a document-based query language that is almost as powerful as SQL.
Performance diagnosis, optimization.
Easy to scale− MongoDB is easy to scale.
No need to convert application objects/Mapped to database objects.
Use internal storage (windowed) working set to access data faster.
Document-oriented storage − Class JSON documents as storage, no fixed table schema-free);
Full-text indexing support
Multiple replicas and high availability
Automatic sharding
Support for multiple types of queries
Fast in-place update
map/reduce support
gridfs: support for clusters of files with various sizes
Big data
Content management and delivery
Mobile and social infrastructure
User data management
Data center
In relational databases (RDBMS), tables are used as storage elements, while in MongoDB, tables are used as collections.
在RDBMS中,我们有多个模式,在每个模式中,我们创建表来存储数据,而MongoDB是一个面向文档的数据库,其中的数据以BSON格式(类似于JSON格式)写入。
In RDBMS haben wir mehrere Schemata, in denen wir Tabellen erstellen, um Daten zu speichern, während MongoDB eine dokumentenorientierte Datenbank ist, in der Daten im BSON-Format (ähnlich JSON-Format) geschrieben werden.10MongoDB ist fast so schnell wie traditionelle Datenbanksysteme
)Eine Datenbank kann mehrere Tabellen unterstützen; in MongoDB wird das Konzept der Tabelle durch die Sammlung (collection) ersetzt;1)Einige Ähnlichkeiten und Unterschiede mit MySQL
)Eine Datenbank kann mehrere Tabellen unterstützen; in MongoDB wird das Konzept der Tabelle durch die Sammlung (collection) ersetzt;2)Ein Service kann mehrere Datenbanken unterstützen;
)Eine Datenbank kann mehrere Tabellen unterstützen; in MongoDB wird das Konzept der Tabelle durch die Sammlung (collection) ersetzt;3)MySQL ist eine relationale Datenbank, d.h. RDBMS, während MongoDB ein schema-frei ist-kostenlos, es ähnelt mehr einem Key-Value-Speichersystem (kv), aber anders als kv kann es auch wie das Schema von MySQL Daten in Dokumenten ändern und interne Daten indizieren; mongodb-Dokumente werden im BSON-Format (Binary JSON) gespeichert, d.h. ein binäres Austauschformat, ähnlich wie Google Protocol Buffer.