Use Cases
24.1 Fit Scene
? Archiving and event logging
? archiving and Logging
? Document and Content Management systems-as a document-oriented (JSON) database, MongoDB ' s flexible schemas is a good fi T for this.
Document and memory management system-as a document-oriented database, MongoDB's flexible structure is right for this
? ECommerce. Several sites is using MongoDB as the core of their ecommerce infrastructure (often in combination with a RDBMS for the Final order Processing and accounting).
E-commerce, using MongoDB as an e-commerce site infrastructure (typically a federated relational database for processing order processes and financial processes)
? Gaming. High performance small read/writes is a good fit for MongoDB; Also for certain games geospatial indexes can be helpful.
The game. High-performance read/write is suitable for MongoDB, and for some games, the index of geographic information is very useful
? High volume problems. Problems where a traditional DBMS might is too expensive for the data in question. In many cases developers would traditionally write custom code to a filesystem instead using flat files or other Methodolo Gies.
High capacity problem. This problem is expensive for relational databases, and in many cases, developers typically write to file systems
? Mobile. Specifically, the server-side infrastructure of mobile systems. Geospatial key here.
Mobile communication. In particular, the infrastructure of mobile communication services, such as geospatial information
? Operational data store of a Web site MongoDB is very good at real-time inserts, updates, and queries. Scalability and replication are provided which is necessary functions for large web sites ' real-time data stores. Specific Web use case examples:
Operating the website, MongoDB is great for real-time insert updates and queries. Scalability and replication provide protection for the storage of real-time data from large Web sites.
? Content Management Memory management
? Comment storage, management, voting comment store, manage and vote
? user registration, profile, session data user registration, Introduction, session information
? Projects using Iterative/agile development methodologies. Mongo ' s BSON data format makes it very easy-to-store and retrieve data in a Document-style/"schemaless" format. Addition of new properties to existing objects are easy and does not generally require blocking "ALTER TABLE" style Operati Ons.
The project uses an iterative or extreme development approach. MongoDB's Bson data format makes it easy to store and receive data.
? Real-time Stats/analytics
? Real-time state analysis
24.2 not suitable for scenes
? Systems with a heavy emphasis on complex transactions such as banking systems and accounting. These systems typically require multi-object transactions, which MongoDB doesn ' t support. It's worth noting that, unlike many "NoSQL" solutions, MongoDB does support atomic operations on single documents. As documents can be rich entities; For many the use cases, the is sufficient.
A system that requires complex transaction support, such as a banking system, a borrowing system, etc. These systems require a multi-object transaction, but MongoDB does not support it. It is worth noting that, unlike other NoSQL solutions, MongoDB supports atomic manipulation of single documents. Because documents can become entities, this is enough for many scenarios.
? Traditional Non-realtime Data warehousing. Traditional relational data warehouses and variants (columnar relational) is well suited in certain business Intelligenc E problems–especially If you need SQL (see below) to use client tools (e.g. MicroStrategy) with the database. For cases where the analytics was realtime, the data very complicated to model in Relationa, or where the data volume is H Uge, MongoDB May is a fit.
? Traditional non-real-time data warehouse. Traditional or variant relational data warehouses are well-suited for some business intelligence issues. Especially when you need to use client tools to manipulate database SQL. MongoDB is very real-time when real-time analysis is needed, and the data model of relational database is complex, or data capacity is large.
? Problems requiring SQL.
? A problem that requires SQL resolution.
"MongoDB" Application scenario