I am currently moving a clients database to SQL Azure and we are seeing some performance issues. We have a premium p2 instance however we are seeing performance times of the SQL azure database about 3 times slower than the current database (sql server 2008 with similar number of cores and ram) . The indexes match, the statements are the same and so is the data.
I understand under the shared Azure SQL databases that performance would be poor, however since we have a p2 instance I would expect the performance to be much closer to our existing sql server 2008 database. Can anyone provide any insight into why a p2 might run slower than sql server 2008 of very similar spec? I realize there is latency to be taken into account, however both servers are remote from my location so this should balance out somewhat or account for only a small difference, not 200 milliseconds v's 600 milliseconds for one simple query.
Given the lack of performance tuning tools at the moment for SQL Azure databases can anyone provide any helpful suggestions on performance tuning the database?
Thanks in advance
P.s. I have also asked this question on the MS azure forum as I'm not sure how much attention that gets. http://social.msdn.microsoft.com/Forums/windowsazure/en-US/cf269a65-7222-4c67-a294-3fa2f67c9583/sql-azure-premium-p2-performance-issues?forum=ssdsgetstarted