Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Moving Temp db and log files

$
0
0
They've given us separate logical drives (VLD) for Tempdb and log files (currently we have separate LD's for OS/Data  and backup to a san. We have about 40 db's, largest being 1.5 gb with an average TPS 300 peaking 4000 with 4 CPU's and 16gb (14gb allocated to MS SQL). While researching best approaches I've come up with a couple questions:

Tempdb:
1 Should the ldf be on the same VLD as the temp.db.mdf or on the LD with the log files?
2 Is it better to recreate Tempdb in new location or move files?
3 Tempdb is split into 2 mdf's but we have 4 processors... split it out to 4 files?

Log Files:
4 After full backup I shouldn't have to move the log files, just recreate in a new location - is there a hole with this logic?

To simplify my questions I've skipped process steps like rollback trans, detach/attach alter db's etc. But feel free to list out your suggested process steps. The target is to do this in about 1 hour. If not, split into 1 hour windows.

Of course I'm eager to get this right, but also interested in learning best practices - thanks in advance!

Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>