有没有一种方法可以估计 SQL Server 2005 数据库的恢复时间?
我正在查看一个大型 SQL Server 2005 数据库,该数据库已进入恢复模式,我想知道是否有任何方法可以估计数据库恢复之前需要多长时间?
I am looking at a large-ish SQL Server 2005 database, that has entered into Recovery mode, and I am wondering if there is any way to estimate how long it's going to be until the database has recovered?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您查看服务器日志,它会在每 1% 左右的进度后添加一个日志条目。由此您可以估计剩余时间。这通常是我最终不得不做的事情。
If you look at the server logs, it will add a log entry after every 1% of progress or so. From that you can guestimate the time left. It's usually what I end up having to do.
任何超过几秒的时间都意味着在需要撤消的数百万个更新行期间发生中断。
您必须跟踪 SQL 错误日志中的进度。
有点厚脸皮,但您可以阅读“了解 SQL 中的恢复性能服务器”当你等待时...
Any more than a few seconds means an outage during a multi-million update row that needs undone.
You'll have to follow progress in the SQL error log.
Slightly cheeky, but you could read "Understanding Recovery Performance in SQL Server" while you wait...