November 25, 2009 at 8:48 am
While restoration, how can identify the status of restoration, that is how many bytes completed, how many bytes yet to complte so on
November 25, 2009 at 12:13 pm
Check the percent_complete column in sys.dm_exec_requests. I think that restore is one of the operations that populates it.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 25, 2009 at 1:21 pm
November 25, 2009 at 3:03 pm
Forgive my ignorance, but aren't those both suggestions to DMVs? That should not be available in SQL 2000, right? Is there an equivalent or similar solution for SQL 2000?
Joie Andrew
"Since 1982"
November 25, 2009 at 3:22 pm
Doh! You are correct. Didn't check the forum. Those are 2005 and later solutions.
In 2000, if you didn't start the restore with the STATS parameter, you won't get this
http://msdn.microsoft.com/en-us/library/aa238405%28SQL.80%29.aspx
November 29, 2009 at 10:17 am
If I remember correctly if you run dbcc outputbuffer on the spid running the restore it tells you how far it has got.
dbcc outputbuffer(spid)
---------------------------------------------------------------------
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply