Solved

Can someone provide answers for my questions below?

Posted on 2012-03-28
3
352 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
[X]
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
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

695 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