﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administration / SQL Server 7,2000  / Tempdb database will depend on the number of CPUs (logical or physical) / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 20:22:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Tempdb database will depend on the number of CPUs (logical or physical)</title><link>http://www.sqlservercentral.com/Forums/Topic990062-5-1.aspx</link><description>That advice has been floating around for a while and is really only applicable when you have identified bottlenecks in the tempdb.some good advice about this here[url] http://www.sqlskills.com/BLOGS/PAUL/post/A-SQL-Server-DBA-myth-a-day-(1230)-tempdb-should-always-have-one-data-file-per-processor-core.aspx [/url]</description><pubDate>Mon, 15 Nov 2010 06:54:33 GMT</pubDate><dc:creator>steveb. </dc:creator></item><item><title>RE: Tempdb database will depend on the number of CPUs (logical or physical)</title><link>http://www.sqlservercentral.com/Forums/Topic990062-5-1.aspx</link><description>Before you consider implementing that, read this: [url]http://sqlskills.com/BLOGS/PAUL/post/A-SQL-Server-DBA-myth-a-day-(1230)-tempdb-should-always-have-one-data-file-per-processor-core.aspx[/url]</description><pubDate>Mon, 15 Nov 2010 06:53:22 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Tempdb database will depend on the number of CPUs (logical or physical)</title><link>http://www.sqlservercentral.com/Forums/Topic990062-5-1.aspx</link><description>Thanks for the reply.Sorry for my late response.Have you implimented ever before or if you have any document how to set it? please advise.Thanks in advance.Regards,Ravichandra.</description><pubDate>Mon, 15 Nov 2010 06:16:48 GMT</pubDate><dc:creator>ravisamigo</dc:creator></item><item><title>RE: Tempdb database will depend on the number of CPUs (logical or physical)</title><link>http://www.sqlservercentral.com/Forums/Topic990062-5-1.aspx</link><description>Essentially what this is saying is that, for optimal performance, you could add data files of the same size to tempdb up to the # of processors on your server.  So a 4 processor server should have 4 same-sized physical files for tempdb for optimal tempdb performance.  The reason you want the files to be the same size is because SQL Server tries to keep the files filled to the same proportion.  So if you had a 100MB file and a 200MB file, SQL Server will try to keep them at the same fill level, for example 50%, which means that the 200MB file will be written to approximately twice as much as the 100MB file which reduces the performance gained by having multiply files.</description><pubDate>Tue, 21 Sep 2010 06:16:36 GMT</pubDate><dc:creator>  Jack Corbett</dc:creator></item><item><title>Tempdb database will depend on the number of CPUs (logical or physical)</title><link>http://www.sqlservercentral.com/Forums/Topic990062-5-1.aspx</link><description>Dear All,Can someone advise/suggest on the below? Please “The number of data files you should allocate in the tempdb database will depend on the number of CPUs (logical or physical) present in the machine. When SQL Server accesses a database, it starts a scheduler thread for each data file present. So if you have eight CPUs in your physical server, the tempdb database should have eight data files to “load balance” the threadsAlso, data files in a database are used in a “proportional fill” algorithm. This means that if you have two data files in a database – one 4 GB and another 8 GB, SQL will try to stripe the data across the two files in a 1:2 ratio. For each stripe of data written to the 4 GB file, SQL will write two stripes in the 8GB file – hence the term “proportional fill”. Now if you configure tempdb to have the same number of data files as the number of CPUs present and specify each data file to have the same size and growth, you are effectively ensuring the CPU load is evenly distributed across tempdb. Once you have completed the tempdb configuration, you will need to restart the SQL instance for the changes to take effect.”You can find Step 5: Configure tempdb Database point from the below link for your reference.http://www.sql-server-performance.com/articles/dba/post_installation_steps_p1.aspxThanks and Regards,Ravichandra.</description><pubDate>Tue, 21 Sep 2010 03:05:02 GMT</pubDate><dc:creator>ravisamigo</dc:creator></item></channel></rss>