在同一个项目中运行多个数据库是否是好事?

编程入门 行业动态 更新时间:2024-10-23 09:34:16
本文介绍了在同一个项目中运行多个数据库是否是好事?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经读过许多数据库设计书籍,但所有人都只使用一个数据库来处理项目。 但是我想知道有一个好主意,让多个数据库处理同一个项目?

I had read many database design books, but all of them use only one database to deal with a project. But I was wondering that is that a good idea to have multiple database dealing with the same project?

推荐答案

不是真的。

在某些情况下,它是必需的或甚至是理想的,但这些是针对特定用例的。

There are certainly circumstances where it's required or even desirable, but those are for specific use cases.

一般你不想结合关系完整性(难以跨数据库强制执行)和事务完整性。必须有一个真正令人信服的理由来拆分数据集,以增加单独的数据库实例的复杂性和维护。

In general you don't want to for a combination of relational integrity (difficult to enforce across databases) and transactional integrity. There would have to be a really compelling reason to split the datasets to incur the added complexity and maintenance of a separate database instance.

更多推荐

在同一个项目中运行多个数据库是否是好事?

本文发布于:2023-10-30 04:10:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541721.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   好事   数据库   项目   在同一个

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!