﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Performance Tuning  / Performance in using Select "TOP 5000000 ..." in sql / 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>Fri, 24 May 2013 06:33:29 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Performance in using Select "TOP 5000000 ..." in sql</title><link>http://www.sqlservercentral.com/Forums/Topic769344-360-1.aspx</link><description>TOP 5000000? That's an aweful lot of rows to be 'limiting' a result set to. What's the purpose of that TOP clause?</description><pubDate>Wed, 12 Aug 2009 09:33:24 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Performance in using Select "TOP 5000000 ..." in sql</title><link>http://www.sqlservercentral.com/Forums/Topic769344-360-1.aspx</link><description>Please read the second article in my signature block regarding asking for assistance on performance problems.  Based on your post, there really isn't much we can do to help you.</description><pubDate>Wed, 12 Aug 2009 08:34:40 GMT</pubDate><dc:creator>Lynn Pettis</dc:creator></item><item><title>Performance in using Select "TOP 5000000 ..." in sql</title><link>http://www.sqlservercentral.com/Forums/Topic769344-360-1.aspx</link><description>Can anybody help me in trying to resolve the performance issue in a simple sql using "select top 5000000 " with order by clause in sql server 2005?  It ran 2 secs in development database but ran 12 mins or more in production datable using the exact sql.  However, if I reduce the select top value from 5000000 to 50000, it ran about 4 secs.  Regardless, can anyone give me a clue why the exact sql performance timing is different?  I am new sql server database...are there database parameters setting the DBA need to be look at?  Any help is much appreciated.  Thank you.</description><pubDate>Wed, 12 Aug 2009 08:21:08 GMT</pubDate><dc:creator>ricky.wong</dc:creator></item></channel></rss>