



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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年学历类自考专业(护理)外科护理学(二)-内科护理学(一)参考题库含答案解析(5套)
- 月子养生健康知识培训课件
- 网幅广告基础知识培训课件
- 2025年学历类自考专业(建筑工程)混凝土结构设计-土木工程制图参考题库含答案解析(5套)
- 2025年学历类自考专业(建筑工程)建筑施工(一)-建筑结构试验参考题库含答案解析(5套)
- 2025年学历类自考专业(建筑工程)工程地质及土力学-钢结构参考题库含答案解析(5套)
- 中医学藏象学说课件
- 连锁酒店相关行业项目操作方案
- AQ/T 7014-2018 新型干法水泥生产安全规程(正式版)
- 《智能产线设计与仿真》课程标准
- 全案设计高级感合同
- 安徽省蚌埠市禹会区田家炳中学2023-2024学年九年级上学期期中考试数学试卷
- 2024-2029年高速示波器行业市场现状供需分析及市场深度研究发展前景及规划投资研究报告
- 人教版八年级下册数学期末40道压轴题训练(解析版)
- 北京版小学英语1至6年级词汇(带音标)
- 中国律师学 课件 陈卫东 第10-17章 律师收费制度-律师非诉讼业务(二)
- 盐酸右美托咪定鼻喷雾剂-临床用药解读
评论
0/150
提交评论