Tag Archives: MongoDB

MongoDB

MongoDb is an Open Source database written in C++ language and developed by 10gen but now it’s called MongoDB Inc. MongoDB is the fastest growing database because it’s provided more security protection mechanisms than others and also more reliable in cloud computing environments. It is secure architecture for your deployment. MongoDB is document oriented database… Read More »

Datatypes in MongoDB

MongoDB supports many datatypes whose list is given below: String: This is 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… Read More »

Limitations of MongoDB

Limitations of MongoDB 4 MB/16 MB document size limitation depending on version. Read/write lock is currently global level. No joins across collections. No transaction support. No referential integrity supportMax document size: 16 MB (we all knew this one, right?). Max document nesting level: 100 (documents inside documents inside documents…). Namespace is limited to ~123 chars… Read More »

Databases, Schemas and Tables in MongoDB

Databases : MongoDB is a document-oriented DBMS, with JSON-like objects comprising the data model, rather than RDBMS tables. MongoDB does not support joins nor transactions. However, it features secondary indexes, an expressive query language, atomic writes on a per-document level, and fully-consistent reads. MongoDB uses BSON, a binary object format similar to, but more expressive… Read More »

GridFS in MongoDB

GridFS is the MongoDB specification for storing and retrieving large files such as images, audio files, video files, etc. It is kind of a file system to store files but its data is stored within MongoDB collections. GridFS has the capability to store files even greater than its document size limit of 16MB. GridFS divides… Read More »