Observed that some SP’s / Jobs are processing late, how to
troubleshoot to improve performance?

Answer Posted / neetu

U have to optimize SP for that
1. Use as much as possible WHERE clause filters. Where
Clause is the most important part for optimization
2. Select only those fields which really require.
3. Joins are expensive in terms of time. Make sure that use
all the keys that relate the two tables together and don't
join to unused tables, always try to join on indexed fields.
The join type is important as well (INNER, OUTER).

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql server database?

672


What is query cost in sql server?

746


Which joins are sql server default?

681


What is the difference between local and global temporary tables?

786


How important do you consider cursors or while loops for a transactional database?

705






How you can change a cross join into an inner join?

718


What does truncate do?

698


Do you know how to store and query spatial data?

780


Can we use max in where clause?

695


How to access the inserted record of an event?

772


What are pages and extents? : SQL Server Architecture

713


what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

785


What is replication and database mirroring?

789


explain different types of backups avaialabe in sql server? : Sql server database administration

752


How to convert numeric values to integers in ms sql server?

699