William Doman


If your tempdb is on a drive that crashes, is it possible to recover by moving/re-creating the tempdb on another drive

This would be SQL2000




Re: TempDB

Arnie Rowland


When you stop/start the SQL Server service, the TempDb is re-created.





Re: TempDB

Robson Brandão

Hi William,

Really, the TempDB database is created each start up of the SQL server services.

You canĄŻt backup and restoring of TempDB because this. But You can move TempDb to other disk.

See this exemplo in my site:

http://www.msit.com.br/publicacaoDetalhes.aspx id=192







Re: TempDB

William Doman


I know it is recreated but the question is if the drives were to blow up, would SQL Server boot

It would try to recreate tempdb on drives that didnt work. Can you recover from that





Re: TempDB

Robson Brandão

Well, if the drivers blow up, SQL Server donĄŻt boot, but you canĄŻt to create others temporary objects.

One good idea is SHRINK the TempDB

DBCC SHRINKDATABASE (tempdb, 10)
GO

And set the recovery to SIMPLE.

SQL Server wouldnĄŻt try to recreate on drivers that didnĄŻt work. You can make a job to SHRINK Tempbd each specific time.






Re: TempDB

Arnie Rowland

After you replace the failed drive(s), the 'simplest' solution would be to assign the same Drive letters as was previously used on the failed drive(s).




Re: TempDB

William Doman

Ya replacing the drive array would be the easiest but this is a ad-hoc quick fix and if it were to fail it would resuolt in unacceptable downtime to replace them. We have governed 100% uptime.

I'm looking for less risky things to be placed on this temporary drives.