search

Home  >  Q&A  >  body text

数据库 - 怎么样的产品或者系统适合使用mongodb?

或者说mongodb适合怎么样的应用场景?

PHPzPHPz2829 days ago656

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-24 09:14:45

    MongoDB is a general-purpose online database. Except for some strong transaction scenarios that require application-side cooperation, it can replace the existing OLTP database in most cases. Some commonly used applications: product catalog (e-commerce), user data management, content management, metadata management, Internet of Things, monitoring or log data, mobile/social applications, big data, real-time analysis (aggregation and MR), data integration, Relational database cache, 360-degree information panel, LBS (geospatial index) and so on. These are used by relatively large users in production environments.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-24 09:14:45

    1. The data format is loose and fields are frequently added, such as product categories and user categories
    2. Log types with large data, messy formats and low value, LBS type, such as Nginx logs, mobile client user behavior logs and regional services are very useful, we are also using them now
    3. Real-time data storage during runtime under high concurrency, mongo’s writing speed is simply off the charts
    4. Big data computing requires clustering. Mongo’s automated cluster is really easy to use and easy to get started

    In general, it is more flexible. But some of them are not suitable

    1. High requirements for real-time query. For example, the count of millions of data is life-threatening. A temporary table is needed to transfer the calculation
    2. Those who have requirements for affairs
    3. Worried about data loss
    4. Things that rely on traditional databases, such as group and distinct, are not impossible to implement with mongo, but they are painful to change

    reply
    0
  • Cancelreply