



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1)优化引擎修改最大在线引擎数参数值“max online engines” 1sp_configure max online engines,4修改启动引擎数参数值“number of engines at startup” 2 sp_configure number of engines at startup,42)优化共享内存修改允许分配最大的共享内存参数值allocate max shared memory3sp_configure allocate max shared memory,1修改最大内存参数值max memory,该值大小一般为服务器(没有其它应用)内存的80%。4sp_configure max memory,820000 (说明:单位为2K的页)3)优化网络连接、设备数量等参数修改用户连接数参数值number of user connections5sp_configure number of user connections,200修改设备数参数值number of devices6 sp_configure number of devices,20修改锁数量参数值number of locks7 sp_configure number of locks,500004)优化tempdb添加tempdb数据库设备8 disk init name=tempdb, physname=/*/tempdb.dat, vdevno=8,size=256000修改数据库tempdb增加tempdb设备9alter database tempdb on tempdb=400从各段中删除master主设备10sp_dropsegment default,tempdb,mastersp_dropsegment system,tempdb,mastersp_dropsegment logsegment,tempdb,master5)优化高速缓存修改过程缓存大小sp_configure procedure cache size,51200为tempdb数据库创建命名高速数据缓存并绑定,同时增加16K的缓冲池sp_cacheconfig tempdb_cache,256Msp_bindcache tempdb_cache,tempdbsp_poolconfig tempdb_cache,128M,16K修改缺省数据高速缓存default data cache大小 sp_cacheconfig default data cache,500M行级锁sp_configure lock scheme,1,datarowsgo索引数sp_configure number of open indexes,5000go 对象数sp_configure number of open objects,5000go6)观察内存分配置状况dbcc traceon(3604)godbcc memusagegodbcc traceoff(3604)go重启数据库服务器两次.6.设置数据库选项Isql Usa Secmtuse mastergo sp_dboption ecmtdb,select into/bulkcopy/pllsort,truegocheckpointgosp_dboption ecmtdb,trunc log on chkpt,true(设置数据库自动截断日志或者在sybase central 得数据库属性对话框得选项页中选择“在检查点上截断日志”项。)gocheckpointgo6.检查应用库Isql Usa Secmtdbcc checkdb(ecmtdb)go执行约几分钟.7.重整索引第一步:先在ecmtdb中生成重整索引的语句select update index statistics + name from sysobjects where type like %U% and name not like z% and name not like y% order by name得到以下的语句: update index statistics FLOWTYPE_10000 update index statistics MID_10000 update index statistics MID_CIRCUIT update index statistics MID_CUSTOMER update index statistics MID_NE update index statistics MID_ROOM update index statistics SMS_10000 update index statistics TAnNumberSeg update index statistics TDataCirDetail update index statistics TDataDevType update index statistics TDeviceType update index statistics TSwi2An update index statistics TSwi2Pas update index statistics TSwiRelType update index statistics TSwitch2User update index statistics TTransCir2Others update index statistics TTransCirRoute 第二步:在ecmtdb中一起执行上面生成的语句update index statistics FLOWTYPE_10000 update index statistics MID_10000 update index statistics MID_CIRCUIT update index statistics MID_CUSTOMER update index statistics MID_NE update index statistics MID_ROOM update index statistics SMS_10000 update index statist
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025湖北襄阳市中医医院(襄阳市中医药研究所)招聘急需专业技术人才55人模拟试卷附答案详解
- 2025江苏南通市崇川区卫生系统面向毕业生招聘备案制高层次卫生人才15人考前自测高频考点模拟试题及答案详解(新)
- 2025合肥市口腔医院招聘工作人员81人模拟试卷及一套参考答案详解
- 百合的种植技术
- 2025年绍兴市上虞区中医医院医共体公开招聘编外人员46人考前自测高频考点模拟试题及答案详解(各地真题)
- 2025湖南省永州市双牌县引进急需紧缺人才(医卫岗25人)考前自测高频考点模拟试题及答案详解(名校卷)
- 2025广东云浮市罗定市市场监督管理局招用青年见习人员2人考前自测高频考点模拟试题(含答案详解)
- 2025年中国户外面罩行业市场分析及投资价值评估前景预测报告
- 2025春季内蒙古包头市九原区机关事业单位引进高层次和紧缺急需人才27人考前自测高频考点模拟试题及答案详解(历年真题)
- 2025年甘肃陇南事业单位预计将于5月中旬发布考前自测高频考点模拟试题及参考答案详解一套
- 快消品运营总监职责要点
- 中职语文(拓展模块)中国科学技术史序言
- 子宫肌瘤教学查房
- 云南省昆明市2023-2024学年高一下学期7月期末质量检测英语试卷(含答案)
- DB2303T 021-2024柞蚕脓病防治技术规程
- 煤矿事故汇报程序
- 成人术后疼痛管理
- 师范生实习安全教育
- 高等数学(经济类)第5版课件:数列的极限
- 2025年上海市高考英语热点复习:六选四句子还原之说明文(上)
- 老年病人误吸预防及护理
评论
0/150
提交评论