Frequently Asked Questions¶
- FAQ: MongoDB Fundamentals
- What platforms does MongoDB support?
- Is MongoDB offered as a hosted service?
- How does a collection differ from a table?
- How do I create a database and a collection?
- How do I define or alter the collection schema?
- Does MongoDB support SQL?
- Does MongoDB support transactions?
- Does MongoDB handle caching?
- How does MongoDB address SQL or Query injection?
- FAQ: Indexes
- FAQ: Concurrency
- What type of locking does MongoDB use?
- How granular are locks in MongoDB?
- How do I see the status of locks on my
mongod
instances? - Does a read or write operation ever yield the lock?
- Which operations lock the database?
- Which administrative commands lock the database?
- Does a MongoDB operation ever lock more than one database?
- How does sharding affect concurrency?
- How does concurrency affect a replica set primary?
- How does concurrency affect secondaries?
- Does MongoDB support transactions?
- What isolation guarantees does MongoDB provide?
- Can reads see changes that have not been committed to disk?
- FAQ: Sharding with MongoDB
- Is sharding appropriate for a new deployment?
- Can I change the shard key after sharding a collection?
- Why are my documents not distributed across the shards?
- How does
mongos
detect changes in the sharded cluster configuration? - What does
writebacklisten
in the log mean? - How does
mongos
use connections?
- FAQ: Replication and Replica Sets
- What kinds of replication does MongoDB support?
- Does replication work over the Internet and WAN connections?
- Can MongoDB replicate over a “noisy” connection?
- Why use journaling if replication already provides data redundancy?
- What information do arbiters exchange with the rest of the replica set?
- Is it normal for replica set members to use different amounts of disk space?
- Can I rename a replica set?
- FAQ: MongoDB Storage
- FAQ: MongoDB Diagnostics
- Where can I find information about a
mongod
process that stopped running unexpectedly? - Does TCP
keepalive
time affect MongoDB Deployments? - Why does MongoDB log so many “Connection Accepted” events?
- What tools are available for monitoring MongoDB?
- Memory Diagnostics for the MMAPv1 Storage Engine
- Memory Diagnostics for the WiredTiger Storage Engine
- Sharded Cluster Diagnostics
- Where can I find information about a