Practical limit for the number of databases in SQL Server?(SQL Server 中数据库数量的实际限制?)
问题描述
在其中一个 stackoverflow 播客(我认为是 #18)中,Jeff 和 Joel 正在谈论多租户数据库与单租户数据库.Joel 提到FogBugz on Demand"针对每个客户架构使用了一个数据库,我想知道是否还有一个点需要多个数据库服务器来分配负载?
In one of the stackoverflow podcasts (#18 I think) Jeff and Joel were talking about multi vs single tenant databases. Joel mentioned that "FogBugz on Demand" used a database per customer architecture and I was wondering if there is a point beyond which you'll need to have multiple database servers to distribute the load?
推荐答案
从技术上讲,SQL Server 中每个实例的数据库数限制是 32,767,但我怀疑您是否可以使用具有 2,000 个以上数据库的 SQL Server 实例,那时点服务器可能没有响应.
Technically the limit of databases per instance in SQL Server is 32,767, but I doubt that you could use a SQL Server instance that has more than 2,000 databases, at that point the server would probably be not responsive.
如果所有数据库都自动关闭且未被使用,您可能拥有近 30,000 个数据库.您可以在此处找到有关容量限制的更多信息:
You may be able to have close to 30,000 databases if they were all auto-closed and not being used. you can find more information about capacity limits here:
SQL Server 的最大容量规范
这篇关于SQL Server 中数据库数量的实际限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:SQL Server 中数据库数量的实际限制?
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- SQL 临时表问题 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
