gpt4 book ai didi

sql - 在 SQL Server 2008 中创建新数据库时的自动关闭选项是什么?

转载 作者:行者123 更新时间:2023-12-01 12:01:43 30 4
gpt4 key购买 nike

在 SQL Server 2008 中创建新数据库时的自动关闭选项是什么?

编辑:您如何决定是打开还是关闭它?

最佳答案

来自 MSDN:

If True, the database is closed, and its resources are freed when no user connection accesses the database. If False (default), the server maintains the database in an open and ready state regardless of user activity..

编辑回答编辑问题:这完全取决于服务器是否需要额外的内存,以及打开和关闭数据库的时间成本是否值得获得的额外内存。如果您不确定,那么 false 可能是正确的选择。

关于sql - 在 SQL Server 2008 中创建新数据库时的自动关闭选项是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/706732/

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