Actually I'm working over a slow running SQL query and I can only access the production database through SSMS. I don't have the direct access to production server or profiler because it's a shared server. Production machine and developement machine both have the same execution plan. But there is huge difference between Statistics Logical Reads and Profiler Reads according to my development machine. So I have to confirm the same difference on the production server.
Through SSMS on Production Server:
I can view STATISTICS IO by writing the following:
SET Statistics IO ON
I can view STATISTICS TIME by writing the following:
SET Statistics TIME ON
I can view Actual Execution Plan by pressing:
CTRL+M
But is there any way to view SQL Server Profiler's Reads in SSMS.
Edit:
Maybe this article will help you understand my problem: INF: Differences in STATISTICS IO, SQL Profiler and Sysprocesses IO Counters (SQL 7 & 2000). Quote: "As a result, in general, the logical reads reported by SQL Profiler do not match up with the sum of those reported by STATISTICS IO. However, the number reported for reads in SQL Profiler should always be equal to or greater than the STATISTICS IO values.".
And in my case there is a huge difference between both of them according to my development machine. And performance is affected over production machine and still shows me very low Statistics Logical Reads on both machines.
Second Edit:
Actual Execution Plan as XML is same on both machines.
Huge means statistics IO are hardly 45 on both machines but Profiler Reads are 4764 on development machine.