gpt4 book ai didi

mysql - 选择 MYSQL 而不是 Mongodb

转载 作者:可可西里 更新时间:2023-11-01 09:56:37 25 4
gpt4 key购买 nike

<分区>

来自 mongoDB docs :

When would MySQL be a better fit?

A concrete example would be the booking engine behind a travel reservation system, which also typically involves complex transactions. While the core booking engine might run on MySQL, those parts of the app that engage with users – serving up content, integrating with social networks, managing sessions – would be better placed in MongoDB

在这个(甚至一点点)具体示例中我不明白的两件事:

  • 什么样的查询比较复杂,比较适合MYSQL(这样查询的具体例子会有很大帮助)?

  • 将“核心预订引擎”与“与用户互动的应用程序部分”?

我的担忧不是理论上的,因为我们在我们的应用程序中同时使用 MYSQL 和 MongoDB,更好地理解上述内容确实有助于我们为 future 的功能设计我们的数据库模型。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com