G gobwang Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-26 #1 我的Sql6.5的数据库日志满了,运行什么都不行,请问如何清空数据库的日 志?
C Chxn Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-26 #3 dump transaction master to diskdump with NO_LOG dump transaction model to diskdump with NO_LOG dump transaction msdb to diskdump with NO_LOG dump transaction pubs to diskdump with NO_LOG dump transaction tempdb to diskdump with NO_LOG
dump transaction master to diskdump with NO_LOG dump transaction model to diskdump with NO_LOG dump transaction msdb to diskdump with NO_LOG dump transaction pubs to diskdump with NO_LOG dump transaction tempdb to diskdump with NO_LOG
G gobwang Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-26 #4 to chxn to silly 可以详细一点吗?谢谢!
D delphiwolf Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-27 #5 运行SQL Enterprise Manager(C:/MSSQL/BINN/SQLEW.EXE) 选择Databases,选中master,右键单击选Edit. 到Database页,单击Truncate.
运行SQL Enterprise Manager(C:/MSSQL/BINN/SQLEW.EXE) 选择Databases,选中master,右键单击选Edit. 到Database页,单击Truncate.
X xk Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-27 #6 你可以用DELPHI作一程序,将Chxn提出的SQL语句加入TQuery,设置定时器 定时清除日志,这样不是更好一些?
C cytown Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-27 #7 chxn is right, 增加master和 tempdb的大小会改善问题出现的频率.
C cytown Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-27 #8 另外, ENTERPRICE MANAGER可能进不去, 使用ISQLW.EXE,用SA登录,然后 执行CHXN的QUERY就可以了.
S Shangrila Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-27 #9 delphiwolf & chxn的办法都行, 完了之后,注意增加tempdb的大小,以及Userdb的log比例的分额. log:db一般为1:4.