BR913628 发表于 2006-4-14 17:23:10

1105错的困惑

<p>数据库为12.5.0.3,日志报Error: 1105, Severity: 17, State: 4</p><p>Can't allocate space for object 'syslogs' in database 'xxx' b<br/>ecause 'logsegment' segment is full/has no free extents. If you ran out of space in syslogs, dump the transacti<br/>on log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase size of the segment.</p><p>&nbsp;&nbsp;&nbsp; 检查SYBASE文档提示</p><p>Recovery 1105 Errors on a User Database<br/>Use the following procedure to correct 1105 errors on a user database which occur during recovery:<br/>1.Manually set the database's status to no chkpt on recovery and single-user: <br/>Warning! Because the database was marked suspect on the original recovery attempt, this procedure also resets some internal status bits to allow the database to recover normally. Therefore, do not use this procedure under any other circumstances, or you may create additional serious problems.<br/>1&gt; sp_configure "allow updates", 1<br/>2&gt; go<br/>1&gt; begin transaction<br/>2&gt; go<br/>1&gt; update master..sysdatabases <br/>2&gt; set status = status &amp; ~256<br/>3&gt; where name = "database_name"<br/>4&gt; go<br/>1&gt; update master..sysdatabases <br/>2&gt; set status = status | 4112<br/>3&gt; where name = "database_name" <br/>4&gt; go</p><p>2.Check that each of the above update commands affected only one row. If more than one row was affected, issue a rollback transaction. Otherwise, commit the transaction and shut down Adaptive Server:<br/>1&gt; commit transaction<br/>2&gt; go<br/>1&gt; shutdown<br/>2&gt; go<br/>3.Restart Adaptive Server.<br/>4.Dump the transaction log with the no_log option and reset the database status:<br/>1&gt; use master <br/>2&gt; go<br/>1&gt; dump tran database_name with no_log<br/>2&gt; go<br/>1&gt; sp_dboption database_name, "no chkpt", false<br/>2&gt; go<br/>1&gt; sp_dboption database_name, single, false<br/>2&gt; go<br/>1&gt; use database_name</p><p>2&gt; go<br/>1&gt; checkpoint<br/>2&gt; go<br/>1&gt; sp_configure "allow updates", 0<br/>2&gt; go</p><p>但是并管理员并未进行任何操作,而数据库也能使用,何故?</p>

flybean 发表于 2006-4-16 21:52:41

understand what the manual says.<br/>
页: [1]
查看完整版本: 1105错的困惑

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com