全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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山东德州禹城市招聘城市社区工作者100人备考题库含答案详解(综合题)
- 2025拱墅区总工会公开招聘工会社会工作者4人备考题库及答案详解(夺冠)
- 2025年锦州北镇市面向社会公开招聘社区专职工作人员35人备考题库参考答案详解
- 2026国家开发银行秋季校园招聘备考题库带答案详解(完整版)
- 2026年度秋季中国工商银行山西分行校园招聘400人备考题库及答案详解(各地真题)
- 2025辽宁沈阳市于洪区招聘社区工作者36人备考题库含答案详解(夺分金卷)
- 2025重庆璧泉街道社区卫生服务中心招聘护理岗1人备考题库及一套答案详解
- 2025浙江宁波市北仑区现代服务业集团辅助岗(第二批)招聘拟录用人员笔试历年参考题库附带答案详解
- 2025河南洛阳炼化宏达实业有限责任公司招聘2人笔试历年参考题库附带答案详解
- 2025江西赣州市宁都县源盛公用事业投资发展有限公司招聘员工及笔试历年参考题库附带答案详解
- 催收公司信息安全培训课件
- 心理因素对创新行为的影响
- 高校物业安全培训内容课件
- 知道智慧树运筹学(东北电力大学)满分测试答案
- 十八项医疗核心制度、医疗纠纷预防和处理条例考试试题(附答案)
- 土壤肥料学课件-第九章
- 睡眠中心进修汇报
- 公安纪律作风授课课件
- 福建福州首邑产业投资集团有限公司招聘笔试题库2025
- 纪委经费管理办法
- 一带一路文化认同研究-洞察及研究
评论
0/150
提交评论