SQL Server tempdb optimization tips for a new server?

前端 未结 4 1274
终归单人心
终归单人心 2021-01-30 18:58

I am planning a fresh installation of SQL Server 2005 on a new machine, which I have to order. I know that tempdb tuning is very important to t

4条回答
  •  攒了一身酷
    2021-01-30 19:08

    From what I've read, it's best to put tempDB on it's own physical disk (or array). For maximum speed, you could put in on a raid 0 array. However, if one of the disks fail, the DB server will become inoperative. If you want more redundancy, put it on a raid 10 array. The real key seems to be separating it from the other databases because there can be so much activity in TempDB.

    How far you go really depends on the other databases on the server and whether they do a lot of work with Temporary tables, etc.

    I haven't heard anything about multiple files based on the number of CPUs or cores.

提交回复
热议问题