[AlwaysOn] 创建SQL Server高可用性组T-SQL语法:SESSION_TIMEOUT参数

来源:这里教程网 时间:2026-03-02 11:32:50 作者:

SESSION_TIMEOUT = integer

指定会话超时时间(秒)。Specifies the session-timeout period in seconds.如果不指定此选项,默认情况下,时间段为10秒。If you do not specify this option, by default, the time period is 10 seconds. 最小值为5秒。The minimum value is 5 seconds.

重点 Important

我们建议您将超时时间保持在10秒或更长。We recommend that you keep the time-out period at 10 seconds or greater.

有关会话超时时间的详细信息,请参阅始终打开可用性组(SQL Server)概述。For more information about the session-timeout period, see Overview of Always On Availability Groups (SQL Server).

相关推荐