全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 索状爆破器材制造工持续改进知识考核试卷含答案
- 纺纱工核心能力知识考核试卷含答案
- 电子设备波峰焊装接工岗中业务能力考核试卷含答案
- 医疗核心制度试题及答案
- 开学工作专项督导检查自查报告
- 违章与安全生产警示讲解
- 普通职高生就业前景分析
- 2026年山西交通职业技术学院高职单招笔试英语历年参考题库含答案解析
- 2026年宿迁职业技术学院高职单招笔试语文历年参考题库含答案解析
- 2026年安徽审计职业学院高职单招笔试物理历年参考题库含答案解析
- 2026年四川省政府采购评审专家考试试题及答案
- 26新六年级道德与法治上册知识点总结完整版可打印
- 26新五(上)语文课后生字词情景默写
- 关于学生思想政治教育问题的调研报告2026(3篇)
- 九年级物理上册《改变世界的热机》单元复习教学设计(教科版2024)
- 楞次定律+说课-2026-2027学年高二下学期物理人教版选择性必修第二册
- 日光性角化病的筛查与管理
- 特种设备使用单位落实安全主体责任细则培训
- 自考药学导论试题及答案
- 2025湖北农业发展集团有限公司春季招聘115人笔试参考题库附带答案详解
- 糖尿病合并妊娠个案护理
评论
0/150
提交评论