How to spread tempdb over multiple files?

后端 未结 2 933
-上瘾入骨i
-上瘾入骨i 2020-12-29 04:24

This blog http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/managing-tempdb-in-sql-server-tempdb-configuration.aspx states that it is a good idea to \"Spread T

2条回答
  •  抹茶落季
    2020-12-29 04:55

    I'm aware this is rather late, but the advice to create one file per CPU is actually a myth that Paul Randal debunks in his blog:

    http://www.sqlskills.com/blogs/paul/post/A-SQL-Server-DBA-myth-a-day-%281230%29-tempdb-should-always-have-one-data-file-per-processor-core.aspx

    Basic advice from the article: If you have > 8 cores, use 8 files and if you're seeing in-memory contention, add 4 more files at a time.

提交回复
热议问题