Solved

Can someone provide answers for my questions below?

Posted on 2012-03-28
3
351 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

738 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