sql server 2005 - How to optimize performance of stored procedures -
i have 2 tables in database store around 1.3million records each. takes lot of time execute queries in these tables. have sql server job queries through stored procedures these tables. these simple select,updated , create queries. findings: logical operator , used excessively. temporary tables created , dropped. inner joins have been used. non clustered index has been used in table 1. custered index primary key exists in both tables. sql tuning gives no suggestions. estimat execution plan gives query cost of 50% there several parameters used in these stored procedures.
the job takes around 20-25 minutes execute. need bring down 5mins max. please guide.
Comments
Post a Comment