My stored procedure is running fast (2 sec) for particular parameter in local server with 25 million rows in the table, but on the testing server, it takes 15 seconds with only five million rows. How to find out the reason? Is there any query to find the server and database properties of servers?