MongoDB developers and DBAs work with physical clusters, machines, instances, storage systems, disks, etc. All MongoDB users, developers, and their applications work with logical entities: databases, collections, documents, fields, shards, users, data types. There are a lot of similarities with Couchbase since both are document (JSON) oriented databases. Let’s compare and contrast the two with respect to database objects. Here’s the first part of this series comparing the architecture. MongoDB Organization A full list of MongoDB schema objects is listed here and here . A database instance can have many databases; A database can have many collections; Each collection can have many indexes. Each collection can be sharded based into multiple chunks on multiple nodes of a cluster using hash-sharding strategy or index sharding strategy. The MongoDB indexes are local to their data. Therefore, the indexes use the same strategy as ...
Comments
Post a Comment