We have a SQL Server 2000 instance with 37 databases. Two of the databases
cause infinite 100% CPU usage when selecting (right-click on the db in
Enterprise Manager)[All Tasks][Restore Database]. No dialog appears and the
CPU pegs out at 100%. Three other databases peg the CPU at 100% but only for
4, 17, and 24 seconds. The size of the database does not appear to be an
issue since one of the infinite 100% dbs is 15MB and the other is 1420MB.
The database that pegs the CPU for 24 seconds is only 96MB.
I don't have a problem with a restored copies of either of the two
indefinite dbs on the same server; the restore database dialog appears
immediately.
I have even deleted the 15MB indefinite 100% CPU db and restored it with the
same name and got the same result. But when the same backup file was
restored as a different name on the same server, there was no problem.
The only thing that I can think of to try is to reinstall SQL Server but
that will cause our websites to go down so that is a last resort. Any ideas?
David
My guess is that you have bunch of backup history which is read by EM when you open the backup
dialog. Are the database files for your msdb database big? Or perhaps try the restore using TSQL
RESTORE command and how use the GUI? In case this is backup history thing, be prepared that the
shipped proc to delete the backup history is very slow to do so, I suggest you dig up your Google
skills (I know an article is out there since I did this for 2000 a little while ago myself).

Signature
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
> We have a SQL Server 2000 instance with 37 databases. Two of the databases
> cause infinite 100% CPU usage when selecting (right-click on the db in
[quoted text clipped - 16 lines]
>
> David
David Webb - 26 Aug 2008 16:50 GMT
Thanks for the quick response!
I just looked and one of the two indefinite 100% CPU dbs has 20 manual
backups and the other has 44 automated backups which are created hourly with
the oldest deleted. Those hourly backups are stored on the RAID array. That
same db also has daily backups made to another drive on the same server just
in case the RAID gets scrambled (I've only seen that happen once but I HAVE
seen it happen!). All other databases only have daily backups on the
non-RAID drive including the other indefinite 100% CPU db.
I'm in the middle of another project that just got dumped on me so I have to
put this issue on hold for now but I think that you are on the right track
because it would make sense for the 'production' db with many backups vs. a
renamed copy of the db with no backups.
I suppose in a pinch, I could restore a problemed db using a different name
and then change the connection string in the web application accordingly.
There really isn't a need right now but you know Murphy's Law; someone will
call with an urgent need to restore a db from a backup (extremely rare) so I
just want to have a contingency plan if and when it happens.
If I come across the cause and figure out a solution, I'll post a new
message on this board.
Thanks again for your help.
David
> My guess is that you have bunch of backup history which is read by EM when you open the backup
> dialog. Are the database files for your msdb database big? Or perhaps try the restore using TSQL
[quoted text clipped - 22 lines]
> >
> > David
Tibor Karaszi - 26 Aug 2008 19:38 GMT
I suggest you make your contingency plan to be able to restore using the RESTORE DATABASE command
instead of relying on the GUI. :-)
I estimate a couple of hours studying the BOL sections on the backup and restore commands. They
aren't difficult to understand. For the restore command, pay attention to RESTRE FILELISTONLY as
well as the MOVE option to the restore command.

Signature
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
> Thanks for the quick response!
>
[quoted text clipped - 62 lines]
>> >
>> > David