Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Backup Times

Author  Topic 

duhaas
Constraint Violating Yak Guru

310 Posts

Posted - 2007-02-07 : 14:19:40
In doing some test, why does it appear when I run the following:

restore database IMCMFTP
from disk = 'e:\imc.bak'
with move 'IMCMFTP_Data' TO 'e:\imcmftp.mdf',
move 'IMCMFTP_Log' to 'e:\imcmftp.ldf'

I get these results

RESTORE DATABASE successfully processed 463933 pages in 108.509 seconds (35.025 MB/sec).

but in reality the query took 3:47 but the out shows 108 seconds???

rcurrey
Starting Member

30 Posts

Posted - 2007-02-07 : 14:40:48
If it's a server and there are other processes running, it may not have dedicated 100% of its processing ability to the task. This results in a longer "real time" than "processing time".

Thanks,
Rich
Go to Top of Page

duhaas
Constraint Violating Yak Guru

310 Posts

Posted - 2007-02-07 : 15:06:53
sql is the only application running on this server, just have never seen that before, although dont usually do restore from commandline, usually use gui.
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-02-08 : 07:56:11
Might be showing the restore time, but excluding the time to prepare the MDF file [before the restore starts]. That always seems to me to take quite a while ...

restore database IMCMFTP
from disk = 'e:\imc.bak'
with
STATS = 1,
move 'IMCMFTP_Data' TO 'e:\imcmftp.mdf',
move 'IMCMFTP_Log' to 'e:\imcmftp.ldf'

would give you a bit of an idea when the real restore started ...

Kristen
Go to Top of Page
   

- Advertisement -