Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Can someone provide answers for my questions below?

Posted on 2012-03-28
3
348 Views
Last Modified: 2012-08-13
I am a newbie to MS SQL. We are using MS SQL 2008 R2 in Windows 2008 server.

1). I  want to tune a developer's queries, views and stored procedure. How can I open up the explain plan from Management Studio?

2). Can you list most common MS SQL server administration commands for DB admin to manage the server?

3). If complained the query running very slow or the report running slow, what steps should I take to troubleshoot this issue?
0
Comment
Question by:wasabi3689
3 Comments
 
LVL 25

Accepted Solution

by:
TempDBA earned 250 total points
ID: 37778511
1. There are two kind of execution plans.

Shortcut for Display Estimated Execution Plan : CTRL + L
Shortcut for Include Actual Execution Plan : CTRL + M

2. Commands are based on what operation you are performing.. Following link should help you and then you can google anytime to check what are those commands:-
http://www.mssqltips.com/sqlservertip/1240/sql-server-dba-checklist/

3. Check the execution plan of the query, the blocking stats, try using profiler to find out what is the real statement taking time. Then check the indexes on the table, the type of join being used, etc.
0
 
LVL 69

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 250 total points
ID: 37778596
Those are all very heavy topics.  Whole books have been written about each one individually.

I suggesting buying some of those books.  You can rely on anything by Kalen Delaney or Itzik Ben-Gan.  Otherwise check book reviews and research the authors to determine how good the books are.
0
 

Author Comment

by:wasabi3689
ID: 37778731
I want a big topic but with simple answer here.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add a step to a system backup job 6 18
backup and restore 21 29
Trouble with <> 2 20
sql2016-WIn10: standard,for SQL servc-account.. 51 28
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question