Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

903


How to override dml statements with triggers?

1191


Explain about builtinadministrator?

1061


How do triggers work?

942


If a table does not have a unique index, can a cursor be opened on it?

915


Is sql server difficult to learn?

924


Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)

1885


How can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role?

1040


Can you name some of the dml commands in sql?

1034


What is tablesample?

1118


what are database files and filegroups? : Sql server database administration

950


Explain four layers of abstraction microsoft architectured?

147


How do I uninstall sql server 2014?

940


How to see the event list of an existing trigger using sys.trigger_events?

1075


What the different types of Replication and why are they used?

1071