Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Very Slow Response Time retrieving data migrated from MySQL to SQL Server Express 08 R2

$
0
0

SSMA 5.2 migrated  from MySQL 5.0.51a to SQL Server Express 2008 R2 SP1 with Adv Tools via ODBC connection (tcp), using PHP 5.2.8, Apache 2.2.11 on XP. Fetching 1.2M of data: bigint (Unix) timestamp, float data pairs.  Amfphp displays data once fetched. Chrome Dev Tools Network trace says waiting (for SQL Server) for 3 minutes, MySQL in under 4s! Here's the query:

SELECT * FROM table WHERE timestamp BETWEEN $start_date AND $end_date ORDER BY timestamp

What is taking so long? Any ideas on how to speed this up at least close to MySQL? Thanks for your speedy and helpful reply!


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>