CSA07 如何调整SQL Server基本配置参数.ppt
上传人:qw****27 上传时间:2024-09-12 格式:PPT 页数:31 大小:152KB 金币:15 举报 版权申诉
预览加载中,请您耐心等待几秒...

CSA07 如何调整SQL Server基本配置参数.ppt

CSA07如何调整SQLServer基本配置参数.ppt

预览

免费试读已结束,剩余 21 页请下载文档后查看

15 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

本章要点7.1调整SQLServer配置参数的目的7.2.2什么时候需要调整配置参数7.2.3配置参数的类型静态参数动态参数7.2.4sysconfigures表和syscurconfigs表7.3配置文件7.3.4SQLServer启动时如何指定配置文件7.3.5配置文件的备份文件7.3.9配置文件的样本[ConfigurationOptions][GeneralInformation][Backup/Recovery]recoveryintervalinminutes=DEFAULTprintrecoveryinformation=DEFAULTtaperetentionindays=DEFAULT[CacheManager]numberofoamtrips=DEFAULTnumberofindextrips=DEFAULTprocedurecachepercent=10memoryalignmentboundary=DEFAULT7.4sp_configure命令sp_configure显示所有配置参数的值sp_configure‘parameter’显示缺省、当前、最近修改的值,以及该参数所占内存sp_configure‘parameter’,value设置参数sp_configure‘parameter’,0,default将参数设置为缺省值sp_configure‘groupname’显示一组值sp_configure"configurationfile",0,"sub_command","file_name”带configurationfile参数的sp_configure命令7.4.3使用sp_configure配置或显示SQLServer参数语法:sp_configure[config_name[,config_value]]sp_configure显示配置参数值方法一举例:sp_configureGroup:ConfigurationOptionsGroup:Backup/RecoveryParameterNameDefaultMemoryUsedConfigValueRunValue------------------------------------------------------------------------------------------------allowremoteaccess1011printrecoveryinformation0000recoveryintervalinminutes5055taperetentionindays0000Group:CacheManagerParameterNameDefaultMemoryUsedConfigValueRunValue--------------------------------------------------------------------------------------------memoryalignmentboundary2048020482048numberofindextrips0000numberofoamtrips0000procedurecachepercent20142102020totaldatacachesize054782054782totalmemory7500819204096040960........方法二举例:sp_configurenumberofuserconnectionsParameterNameDefaultMemoryUsedConfigValueRunValue-------------------------------------------------------------------------------------numberofuserconnections2527122525方法三举例:sp_configurephysicalMemoryGroup:PhysicalMemoryParameterNameDefaultMemoryUsedConfigValueRunValue-----------------------------------------------------------------------------------------additionalnetworkmemory0000locksharedmemory0000sharedmemorystartingaddress00