Hi All,
I have a stored proc which inside simply joins a view and 3 tables. The SP takes less than 1 sec in my DEV environment but it takes almost 10 secs most of the time in my SIT environment.
1) The tables involved has same number of records in both envs and also the tables have same indexes in both environments
2) Max server memory is not set in both environments(is it mandatory even if we set a dedicated page file) and rebuild index and statistics update plans are running on a weekly basis.
where should i start investigating?
Thanks