




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Sybase12.5日志满问题的解决日志满分为两种情况:1.非master(用户库或者其他系统库sybsystemprocs)库的日志满,导致用户库不能访问;2.系统库master日志满,导致服务都不能正常启动。针对以上情况要分别对待处理。1.非master库日志满的处理:重庆数据库后台sybsystemprocs库日志报满:09:00000:01631:2011/11/13 06:45:36.16 server Error: 3475, Severity: 21, State: 709:00000:01631:2011/11/13 06:45:36.16 server There is no space available in SYSLOGS to log a record for which space has been reserved. This process will retry at intervals of one minute.11:00000:04104:2011/11/13 06:20:11.87 server Space available in the log segment has fallen critically low in database sybsystemprocs. All future modifications to this database will be suspended until the log is successfully dumped and space becomes available.00:00000:02407:2011/11/13 06:20:11.89 server Error: 2812, Severity: 16, State: 500:00000:02407:2011/11/13 06:20:11.89 server Stored procedure sp_thresholdaction not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).或某个用户库etoh2_cq的日志空间满报:00:00000:00001:2008/12/02 17:28:07.38 serverError: 1105, Severity: 17, State: 300:00000:00001:2008/12/02 17:28:07.38 serverCant allocate space for object syslogs in database etoh2_cq because logsegment segment is full/has no free extents. If you ran out of space in syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase size of the segment.00:00000:00001:2008/12/02 17:28:07.38 serverError: 3475, Severity: 21, State: 700:00000:00001:2008/12/02 17:28:07.38 serverThere is no space available in SYSLOGS for process 1 to log a record for which space has been reserved. This process will retry at intervals of one minute. The internal error number is -4.处理方法步骤:1、马上增加日志设备,并把设备分配给数据库。alter database name log on 设备名=200;-设备名泛指日志设备,如果设备文件还没在磁盘上初始化,则先需要disk init初始化设备文件,-如果是系统库,可以考虑先不加设备。go2、把数据库置于-32768状态,再把日志清除。- -32768这个状态值根据实际情况作出调整.-各状态值的含义详见我的blog:Sybase ASE12.5数据库状态值的含义。-/xujinyang/article/details/6968650sp_configure allow update,1goupdate master.sysdatabases set status=-32768 where name=数据库名goshutdown with nowait-(注意:可能会延长启动SYBASE数据库时间,若确认没有用户在用,请使用shutdown with wait)go-在sybase install目录下startserver -f RUN_etoh-启动完成isql -Usa -P -Sservername1dump tran database_namewith no_log2go3update master.sysdatabases set status=0 where name=数据库名4go5sp_configure allow update,06go7shutdown with nowait8go重启SYBASE后,日志满报错数据库正常了。2.master库日志满,已经导致数据库服务都不正常启动情况下日志如下:Recovering database master00:00000:00001:2004/03/12 10:05:27.70 server Redo pass of recovery has processed 10 committed and 0 aborted transactions.00:00000:00001:2004/03/12 10:05:27.81 server No such message: 110500:00000:00001:2004/03/12 10:05:27.81 server There is no space available in SYSLOGS for process 1 to log a record for which space has been reserved. This process will retry at intervals of one minute. The internal error number is -4.处理方法步骤:1、在启动文件中加-T3607 -m,然后用sa进dump tran master with no_log或alter database master on 设备名=xxxM 即可 -设备名泛指master库设备如还遇到以下问题:启动报:Error: 3475, Severity: 21, State: 700:00000:00006:2004/03/12 10:38:55.71 server There is no space available in SYSLOGS for process 6 to log a record for which space has been reserved. This process will retry at intervals of one minute. The internal error number is -4.用sa登陆进不去:报:Cant allocate space for object syslogs in database master becauselogsegment segment is full/has no free extents. If you ran out of space insyslogs, dump the transaction log. Otherwise, use ALTER DATABASE orsp_extendsegment to increase size of the segment.Msg 3475, Level 21, State 7:There is no space available in SYSLOGS for process 6 to log a record for whichspace has been reserved. This process will retry at intervals of one minute. Theinternal error number is -4.CT-LIBRARY error:ct_connect(): user api layer: internal Client Library error: Read from the server has timed out.2、 再加 -T699(Turn off transaction logging for the entire SQL dataserver)这次sa可进执行alter database master on ma
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 部编人教版四年级语文下册《综合性学习 轻叩诗歌大门》示范课教学课件
- 科学技术考试题及答案
- 邮储银行2025菏泽市结构化面试15问及话术
- 建设银行2025随州市秋招笔试EPI能力测试题专练及答案
- 农业银行2025酒泉市秋招面试典型题目及参考答案
- 农业银行2025海口市笔试英文行测高频题含答案
- 工商银行2025孝感市秋招英文面试题库及高分回答
- 2025年3D打印的定制化医疗产品发展
- 建设银行2025凉山彝族自治州秋招笔试性格测试题专练及答案
- 交通银行2025济南市秋招笔试价值观测评题专练及答案
- 2024年广东普通专升本《公共英语》完整版真题
- 2024年四川省大学生国家安全知识竞赛参考试题库(含答案)
- 企业财务风险分析及防范-以永辉超市股份有限公司为例
- 2022中国学生营养日零食选择科普讲座课件
- 安全生产行政执法程序讲座
- 中国居民营养膳食指南
- 设立工程信息服务公司商业计划书
- 华为HCIE-CloudServiceSolutionsArchitect云服务练习试题附答案(一)
- 智能停车充电一体化解决方案
- 无创性脑检测与神经调控技术的发展前景
- 消防维保方案(消防维保服务)(技术标)
评论
0/150
提交评论