<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Large Query Performance from SQL Server 2000 to 2008, 32 &amp;amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx</link><description>I had been meaning to do a somewhat comprehensive review of SQL Server performance from versions 2000 to 2008 for both 32 and 64-bit on Data Warehouse type queries, with in depth examination of scaling in parallel execution plans. For now, I can provide</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8426</link><pubDate>Sun, 17 Aug 2008 22:47:30 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8426</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Joe, &lt;/p&gt;
&lt;p&gt;Any chance you can rerun the x64 tests with trace flag 834 turned on? I have been meaning to test but I haven't had a chance yet.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/920093"&gt;http://support.microsoft.com/kb/920093&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;JM&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8427</link><pubDate>Mon, 18 Aug 2008 03:54:27 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8427</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;I added additional notes to the end. Normally I run with -E -T834, There no meaningful difference compared with default. I did not run with -T834 only. The difference was about 1% either way, depending on the DOP. Lock pages in memory was already set. Apparently the 64-bit OS is aggressive about paging out SQL memory without it. It is possible -T834 will matter more when you really big memory, like 128G+. &lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8428</link><pubDate>Mon, 18 Aug 2008 07:11:42 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8428</guid><dc:creator>grumpy old dba</dc:creator><description>&lt;p&gt;I'm very grateful - solid comparisions between versions of sql server are very time consuming to produce and coming from yourself adds a certain weight when presented to clients. Thanks.&lt;/p&gt;
</description></item><item><title>SQL Versions Performance Benchmarks</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8429</link><pubDate>Mon, 18 Aug 2008 07:29:58 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8429</guid><dc:creator>Grumpy Old DBA</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://sqlblog.com/blogs/joe_chang/archive/2008/08/17/large-query-performance-from-sql-server-2000-to"&gt;http://sqlblog.com/blogs/joe_chang/archive/2008/08/17/large-query-performance-from-sql-server-2000-to&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8446</link><pubDate>Mon, 18 Aug 2008 14:57:34 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8446</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Joe, &lt;/p&gt;
&lt;p&gt;Great post. &amp;nbsp;Can you give a bit more information on the following sentence:&lt;/p&gt;
&lt;p&gt;&amp;quot;For SQL Server 2008, the tables use the new Date data type in place of Date Time, and queries are modified to avoid conversion anomalies.&amp;quot;&lt;/p&gt;
&lt;p&gt;Two questions: &lt;/p&gt;
&lt;p&gt; &amp;nbsp;A) How much impact on index size did the modification from date to datetime produce? &amp;nbsp;Even if everything is in memory, reducing the footprint there could create quite a bit of an advantage for 2008. &amp;nbsp;Is this really a fair comparison given that change?&lt;/p&gt;
&lt;p&gt; &amp;nbsp;B) How were the queries modified? &amp;nbsp;Just to fix date/datetime-related issues? &amp;nbsp;Or did you make some other changes as well?&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8453</link><pubDate>Mon, 18 Aug 2008 21:23:35 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8453</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;clarifications made above regarding Adams questions&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8457</link><pubDate>Tue, 19 Aug 2008 09:37:48 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8457</guid><dc:creator>Guti</dc:creator><description>&lt;p&gt;Very comprensive post, to get a rought idea on the performance imporvements during SQL Server.&lt;/p&gt;
&lt;p&gt;Glad to confirm that x64 versions are considerable faster than its x86 counterparts.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;
&lt;p&gt;Guti (&lt;a rel="nofollow" target="_new" href="http://guti.bitacoras.com"&gt;http://guti.bitacoras.com&lt;/a&gt;)&lt;/p&gt;
</description></item><item><title>Large Query Performance and Query Parallelism</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#8512</link><pubDate>Sun, 24 Aug 2008 17:35:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8512</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;Joe Chang posted some interesting results using the TPC-H queries with the scale factor set to 10. I&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#10436</link><pubDate>Wed, 10 Dec 2008 16:38:04 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10436</guid><dc:creator>Leonardo</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Very interesting blog.&lt;/p&gt;
&lt;p&gt;I found it because i am looking for a response to one project.&lt;/p&gt;
&lt;p&gt;The project will manage a database of 20000000 registers,yes, twenty millions registers.&lt;/p&gt;
&lt;p&gt;But i am not sure about my recommendation.&lt;/p&gt;
&lt;p&gt;I have some questions&lt;/p&gt;
&lt;p&gt;Is Sql Server capable to manage a simple query like&lt;/p&gt;
&lt;p&gt;Select name,sum(value)&lt;/p&gt;
&lt;p&gt;From mytable&lt;/p&gt;
&lt;p&gt;from a table with 20000000 registers ???!!!&lt;/p&gt;
&lt;p&gt;I use generally that new technology call linq to manage all kind of collections on my projects.&lt;/p&gt;
&lt;p&gt;Do you know if would be possible to use link against sql server to retrieve the information with that workaround ?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Leonardo&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#10486</link><pubDate>Fri, 12 Dec 2008 16:39:49 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10486</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;of course SQL Server can handle it, but do you really want to return 20M rows frequently? (I am assuming there are 20M names, and some table that lists transactions for each name/register) I do not think that is very smart and will probably swamp the web/app server. LINQ is a way of programming(?), with local storage capabilty(?) and is not meant to be a multi-user data engine(?)&lt;/p&gt;
</description></item><item><title>A year in review, The 31 best blog posts on SQLBlog for 2008</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#10868</link><pubDate>Wed, 31 Dec 2008 15:38:01 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:10868</guid><dc:creator>Denis Gobo</dc:creator><description>&lt;p&gt;Wow, it has been already a year since I wrote A year in review, The 21 + 1 best blog posts on SQLBlog&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#11891</link><pubDate>Sat, 14 Feb 2009 07:18:49 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:11891</guid><dc:creator>Acronyms</dc:creator><description>&lt;p&gt;Thank you for simple and very visual comparison!&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#16584</link><pubDate>Fri, 04 Sep 2009 03:49:56 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:16584</guid><dc:creator>Soni</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Currently I am facing a problem. My sqlserver 2005 database has some tables with more than 10M records. Everyday there is transaction of around 50000 records with many concurrent users. We did partitioning with current 3 days data in current partition and rest in other partition but still it doesn't help as due to heavy data the queries run too slow.&lt;/p&gt;
&lt;p&gt;Can u throw some light as what would be the solution to solve this problem as we rarely need data beyond 3 days and the other partition also contains data only uptill 3 months. Rest data is deleted as its not required.&lt;/p&gt;
&lt;p&gt;Please give some solution.&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#16603</link><pubDate>Fri, 04 Sep 2009 16:03:29 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:16603</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;go find the SQL Exec Stats tool on my site www.qdpma.com&lt;/p&gt;
&lt;p&gt;run it at the end of the day when the plan cache should be fully populated,&lt;/p&gt;
&lt;p&gt;this is a matter of query efficiency&lt;/p&gt;
&lt;p&gt;10M records is a small database by modern standards&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#18564</link><pubDate>Thu, 05 Nov 2009 16:05:01 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18564</guid><dc:creator>Roberto Santoro</dc:creator><description>&lt;p&gt;Great article! I was wondering if you were planning to update the stats now that SP1 for 2008 has come out.&lt;/p&gt;
&lt;p&gt;Thanks anyway,&lt;/p&gt;
&lt;p&gt;this really made my project much simpler,&lt;/p&gt;
&lt;p&gt;Roberto.&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#21944</link><pubDate>Mon, 08 Feb 2010 03:22:38 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:21944</guid><dc:creator>Jame</dc:creator><description>&lt;p&gt;I have one question. Now my company currently use SQL 2000 server standard edition and enterprise edition on window 2003 server. But now we want to upgrade to window 2008 server 64 bit. Can I run SQL 2000 server 32 bit on window 2008 server 64 bit?&lt;/p&gt;
&lt;p&gt;respect all your ideas.&lt;/p&gt;
&lt;p&gt;thanks alot&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#22021</link><pubDate>Tue, 09 Feb 2010 02:16:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:22021</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;i recall that SQL 2000 is not supported on W2K8, and may refuse to install&lt;/p&gt;
&lt;p&gt;it is possible to hack the registry and make S2K run&lt;/p&gt;
&lt;p&gt;but not recommended for production&lt;/p&gt;
&lt;p&gt;I suggest putting S2K 32-bit on W2K3 64-bit&lt;/p&gt;
&lt;p&gt;but move to S2K5/8 soon&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#22030</link><pubDate>Tue, 09 Feb 2010 07:17:49 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:22030</guid><dc:creator>Jame</dc:creator><description>&lt;p&gt;Thanks alot Joe.&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#23439</link><pubDate>Tue, 16 Mar 2010 09:39:26 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:23439</guid><dc:creator>Jame</dc:creator><description>&lt;p&gt;Hi Joe,&lt;/p&gt;
&lt;p&gt;I need your idea now. I saw in my SQL server log file.&lt;/p&gt;
&lt;p&gt;--Using dynamic lock allocation. [2500] Lock Blocks,[5000] lock owner blocks.&lt;/p&gt;
&lt;p&gt;What does mean?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#26588</link><pubDate>Wed, 30 Jun 2010 09:39:48 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26588</guid><dc:creator>kelvin</dc:creator><description>&lt;p&gt;hi... i'm a newbie in sql 2000 and i wanna know is there a possiblity to get data faster for 2million row.... &lt;/p&gt;
&lt;p&gt;i really2 need your help because this 2million row will be use frequently....&lt;/p&gt;
&lt;p&gt;Thanks in advance... ^^&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#26589</link><pubDate>Wed, 30 Jun 2010 09:42:21 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26589</guid><dc:creator>kelvin</dc:creator><description>&lt;p&gt;oh i forgot to mention that i already try to select all the data and it take around 2 minute but when i put order by... it become 12 minute...&lt;/p&gt;
&lt;p&gt;Thanks once again.. ^^&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#26680</link><pubDate>Fri, 02 Jul 2010 00:48:19 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26680</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;first, you need to figure out if 2min is how long it takes for the SQL server to process the 2M rows, or for the client to receive it&lt;/p&gt;
&lt;p&gt;second, the 12min is probably because you have a bad tempdb IO performance, &lt;/p&gt;
&lt;p&gt;I suggest you go to www.sql-server-performance.com,&lt;/p&gt;
&lt;p&gt;its better set up to for this type of help&lt;/p&gt;
&lt;p&gt;also, comment on a more recent blog&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#36611</link><pubDate>Mon, 04 Jul 2011 08:23:36 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:36611</guid><dc:creator>Ekrem</dc:creator><description>&lt;p&gt;Hi all;&lt;/p&gt;
&lt;p&gt;I got a question. I am writing a program which can show informations about processes and i want it to work on lots of &amp;nbsp;different computers. my question is how can i get informations about processes in sql server 2000 and 2005 and 2008?&lt;/p&gt;
&lt;p&gt;Do i have to change my query?&lt;/p&gt;
&lt;p&gt;My query is for 2008 R2 here:&lt;/p&gt;
&lt;p&gt;select top 20 &lt;/p&gt;
&lt;p&gt;loginame = convert(varchar(128),loginame),&lt;/p&gt;
&lt;p&gt; spid,&lt;/p&gt;
&lt;p&gt;blocked, &lt;/p&gt;
&lt;p&gt;cpu, &lt;/p&gt;
&lt;p&gt;physical_io,&lt;/p&gt;
&lt;p&gt;memusage,								hostname = convert(varchar(128),hostname), &lt;/p&gt;
&lt;p&gt;program_name = convert(varchar(128),program_name),		 &amp;nbsp; &amp;nbsp;					hostprocess = convert(varchar(10),hostprocess) &lt;/p&gt;
&lt;p&gt;from &lt;/p&gt;
&lt;p&gt;master.dbo.sysprocesses (nolock) &lt;/p&gt;
&lt;p&gt;order by spid&lt;/p&gt;
&lt;p&gt;Thanks a lot...&lt;/p&gt;
</description></item><item><title>re: Large Query Performance from SQL Server 2000 to 2008, 32 &amp; 64-bit</title><link>http://sqlblog.com/blogs/joe_chang/archive/2008/08/24/large-query-performance-from-sql-server-2000-to-2008-32-64-bit.aspx#37002</link><pubDate>Sun, 17 Jul 2011 10:25:02 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:37002</guid><dc:creator>snreddy</dc:creator><description>&lt;p&gt;good information Nice post the way &amp;nbsp;you have written is appreciable&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://sharepointsolution2010.blogspot.com/2011/07/2000-2005-2008-sql-server-version.html"&gt;http://sharepointsolution2010.blogspot.com/2011/07/2000-2005-2008-sql-server-version.html&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>