sql之在 SQL Server 2008 中创建新数据库时的自动关闭选项是什么
zengkefu
阅读:46
2024-12-31 21:38:35
评论:0
在 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 可能是正确的选择。
声明
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。