Sql 服务器填充因子 - 重新启动 sql 服务器服务
Sql Server Fill Factor - Restart sql server services
我将填充因子选项从 1 更改为 75。
当我 运行 显示填充因子的查询时,我看到 75
但我在网上看到我必须停止并启动 sql 服务器服务才能使此更改生效。是真的吗?
Blockquote
You must stop and restart the SQL Server service for the change to take effect. The new fill factor will be in effect when you see it in the run-value column.
Blockquote
在我的 2008r2 企业中,当我通过单击实例进行更改时,右键单击选择数据库并更改填充因子,直到我停止并启动该实例,更改才生效。
我尝试通过 TSQL 更改它:
EXEC sys.sp_configure 'show advanced options', '1'
RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure 'fill factor (%)', '30'
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure 'show advanced options', '0'
RECONFIGURE WITH OVERRIDE
GO
还需要stop/start(反弹)才能生效。
我将填充因子选项从 1 更改为 75。
当我 运行 显示填充因子的查询时,我看到 75
但我在网上看到我必须停止并启动 sql 服务器服务才能使此更改生效。是真的吗?
Blockquote You must stop and restart the SQL Server service for the change to take effect. The new fill factor will be in effect when you see it in the run-value column. Blockquote
在我的 2008r2 企业中,当我通过单击实例进行更改时,右键单击选择数据库并更改填充因子,直到我停止并启动该实例,更改才生效。
我尝试通过 TSQL 更改它:
EXEC sys.sp_configure 'show advanced options', '1'
RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure 'fill factor (%)', '30'
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure 'show advanced options', '0'
RECONFIGURE WITH OVERRIDE
GO
还需要stop/start(反弹)才能生效。