Database Maintenance Essentials

Size: px
Start display at page:

Download "Database Maintenance Essentials"

Transcription

1 Database Maintenance Essentials Brad M McGehee Director of DBA Education Red Gate Software

2 What We Are Going to Learn Today 1. Managing MDF Files 2. Managing LDF Files 3. Managing Indexes 4. Maintaining Statistics 5. Checking for Corruption 6. Creating Backups That Will Restore 7. Managing Maintenance Jobs Not every recommendation may be appropriate for your environment. Be sure to test in a non-production environment before trying these recommendations out.

3 Managing MDF & LDF Files There is a myth that MDF and LDF files manage themselves. In reality, for optimal performance, DBAs must take full responsibility for managing them, as we will see in the next few slides.

4 Managing MDF Files When creating a new database, it is important for it be pre-sized to its future expected size about one year ahead. Even though only a fraction of the database will be used after the database is in production, that s not a problem. Your guesstimate will probably not be accurate, and that s OK. If you monitor the amount of data growth, you will soon see how accurate your guesstimate was. If you underestimated, you can manually grow the database to a larger size using the trending information you have collected as you have observed data growth over time. If you overestimated the database s size, that s not a problem either. Just let the data continue to grow inside the database, and eventually your application will use it. Don t shrink it.

5 Managing MDF Files While there are many benefits for pre-sizing databases, there are two important ones you need to be aware of. First, by pre-sizing databases, SQL Server won t have to depend on autogrowth to grow the database for you, preventing the performance hit when autogrowth occurs. Second, each autogrowth can contribute to physical file fragmentation, which can hurt IO performance. I have seen databases with 10s of thousands of autogrowths, creating serious physical file fragmentation. Regularly monitor database growth, and if you see that empty space is running out, then manually grow the file to its estimated size a year from now, & repeat as needed.

6 Managing LDF Files LDF files, like MDF files, should be presized to their expected size; and at any one time, they may only be partially full, which is OK. Calculating the estimated log size for a newly created database is difficult to calculate, as there are so many factors that affect the size of LDF files. (e.g. T-log backup schedule, level of activity, recovery model, etc.) I use a guesstimate of around 5-10% of the expected size of the database files one year from now. If I guesstimate that the total size of the MDF and NDF files will be 500GB one year from now, then I would estimate the LDF file to be between 25 GB and 50 GB. A guesstimate is better than letting autogrowth grow the LDF file for you.

7 Managing LDF Files If you incorrectly guess the LDF file size of a database, which you probably will, there are two possible ways to deal with it: Regularly monitor log growth, and if you see that empty space is running out in the log file, or autogrowths are occurring, then manually grow the file as needed so autogrowth doesn t have to occur. If you overestimated the log file s size, that s not a problem either. Unless it is a huge amount of unused space, I would generally not reduce the size of the log, leaving it at its overestimated size. On rare occasions, LDF files will grow wildly. If so, first determine the cause and fix it. If the growth was so wild that the LDF size is much greater than needed, and you don t expect more wild growth spurts, then you may want to consider manually shrinking it.

8 Managing LDF Files While there are many benefits for pre-sizing transaction logs, there are three important ones you need to be aware of. First, by pre-sizing databases, SQL Server won t have to depend on autogrowth to grow the database for you, preventing the performance hit when autogrowth occurs. Second, each autogrowth can contribute to physical file fragmentation, which can hurt IO performance. Third, each autogrowth that occurs creates what are called virtual log files (VLFs). Too many VLFs in a log file can cause performance issues. By preventing autogrowths, you also prevent having too many VLFs. See my presentation, Inside the SQL Server Transaction Log, for more information on managing VLFs.

9 Using SQL Monitor to Help You Out Managing MDF and LDF Files Drill down to instance level to find disk sizes and available space Drill down to database level to find file size information Disk space alert Performance Monitor Counters that measure database Total Size, Data Size, Log Size, Log Space Used Create custom metric, for example, to tell you if log file grows wildly Demo

10 Regularly Review Indexing Needs Indexing Needs Change Over time, data in databases, and the use of the data, often changes. This means that the current indexing scheme may need to be changed to keep up with the data and data usage changes. For examples, indexes may need to be added, modified, or removed for optimal query performance. You need to proactively monitor your servers to see if their indexing needs are properly meet. SQL Server will not do this for you.

11 Identify Missing Indexes Other than manual index tuning, which is the ideal solution, one way to identify missing indexes is to use Profiler/SQL Trace to capture a trace file, and then use the Database Engine Tuning Advisor (DTA) to analyze the trace to look for index recommendations. When capturing a Profiler/SQL Trace, use the Tuning template and capture data over a representative time frame. Run the DTA against the trace data, review recommendations, and then add appropriate indexes. Do so regularly, as dictated by needs. Note: you can use sys.dm_db_missing_index_details to help identify missing indexes, but it has many limitations, and I don t recommend using its recommendations unless you really know what you are doing.

12 Identify Unused Indexes Most databases have one or more indexes that were created because they seemed that they might be useful, but they have ended up not being used. Because indexes need to be maintained when data changes in a table, maintaining indexes that are not used are a waste of resources. Periodically, identify unused indexes and remove them. Use the sys.dm_db_index_usage_stats DMV to help you identify unused indexes. Keep in mind that the data in this DMV is cleared out each time SQL Server is restarted, so only run this DMV after the server has been up and running for quite some time.

13 Identify Duplicate Indexes For many different reasons, it is possible for the duplicate indexes to be created using different names. This wastes resources and duplicate indexes should almost always be removed. See the following URL for sample scripts:

14 Index Maintenance: Fragmentation Index Fragmentation Hurts Performance Over time, as indexes are subjected to data modifications, gaps in data on pages develop (internal fragmentation), and the logical ordering of the data no longer matches the physical ordering of the data (external fragmentation). Together, this is referred to as index fragmentation. This is a normal behavior, but must be regularly addressed. Heavily fragmented indexes can lead to poor query performance, especially if scans occur regularly. This is because less data can fit into the data cache and because more disk I/O is required. Because of this, it is important that DBAs regularly detect and remove index fragmentation from their databases on a regular basis.

15 Index Fragmentation Maintenance There are three ways to remove fragmentation from an index: Reorganize: online (Standard and Enterprise Edition) Rebuild: offline (Standard and Enterprise Edition) Rebuild: online (Enterprise Edition Only) Each option has its pros and cons. You must select the option(s) which work best for your environment. I can t tell you what will work best for your environment.

16 What is the Best Way to Defragment Indexes Using the Fewest Resources? There is no easy answer, or one answer fits all. BOL makes these recommendations: If number of pages in an index is < 1000, then leave alone. If avg_fragmentation_in_percent (external) is less <5%, then leave alone. If avg_fragmentation_in_percent (external) is >5% and <30%, consider REORGANIZE. This can be faster for less fragmented indexes. If avg_fragmentation_in_percent (external) >30%, consider REBUILD or REBUILD ONLINE. This can be faster for more fragmented indexes. These recommendations were made up by Paul Randal as a general recommendation, but it is often not always the best solution.

17 My Recommendations Prefer REBUILD over REORGANIZE. If you have a maintenance window, or have Enterprise Edition that allows an online REBUILD, then use REBUILD to defragment indexes. If you don t have a maintenance window, or a very short one, and you don t have Enterprise Edition, consider using a combination of REBUILD and REORGANIZE. Experiment with the thresholds as described in BOL, and reduce them if doing so doesn t greatly increase the time required to run them. I use 100 pages & 20% for my tradeoffs instead of 1000 pages & 30%. Don t defrag indexes than don t need it, or have less than 5% external fragmentation. Run REBUILD or REORGANIZE as often as possible, daily if possible. This spreads out the resources needed for defragging over time and keeps indexes healthier for longer. If you have huge databases, your only option might be to use REORGANIZE, and schedule it to run a pre-defined amount of time each day. Use pre-written scripts, as the will save you a lot of time. ola.hallengren.com

18 Using SQL Monitor & SQL Index Manager to Help Manage Indexes Used SQL Monitor Fragmented Indexes alert to identify highly fragmented indexes. Use SQL Index Manager to help determine what indexes need maintenance. Demo

19 Maintaining Statistics Defragging index fragmentation and updating statistics are closely related and must be considered together. Keep the following in mind when creating statistics updating jobs: If you use REORGANIZE, then you must separately update index and column statistics. UPDATE STATISTICS table_name WITH FULLSCAN, ALL If you use REBUILD, index statistics are automatically updated using FULLSCAN, but you must separately update column statistics. UPDATE STATISTICS table_name WITH FULLSCAN, COLUMNS

20 Checking for Corruption DBCC CHECKDB checks the logical and physical integrity of a database. Ideally, the command should be run before a full database backup is made to identify problems before the backup occurs, although this is not always possible. If a problem is detected, you want to identify, and correct it, as soon as possible. DBCC CHECKDB has some very limited fixing ability, but it should not be counted upon, and only used by experts, as bad data is dropped. Running DBCC CHECKDB is resource-intensive and potentially time-consuming, and should be run during slow times on the server. If you don t have a large enough window to run DBCC CHECKDB before backing up, restore database to another server and run DBCC CHECKDB there.

21 Using SQL Monitor and SQL Backup Pro to Help Avoid Corrupted Databases Use these SQL Monitor alerts: Integrity Check Overdue Page Verification (Ensure it is enabled. Checksum is the best option.) Demo For large databases, use SQL Backup Pro to automate running DBCC CHECKDB on restored databases on a test server in order to prevent the workload caused by DBCC CHECKDB from affecting the production server. You can also set reminders to do this, just in case you forget. Demo later after backup discussion.

22 Creating Backups That Will Restore Production databases should use the Full Recovery model. Create a job to perform full backups daily on all system and user production databases, plus log backups at least hourly (or a similar schedule that best meets your HA needs). Always backup using RESTORE WITH VERIFYONLY to help verify backup integrity. But this is not a guarantee the backup is good. Restore backups to verify that you can restore your databases. Store backups securely (physically & encrypted), and off-site. If you have a limited backup window, or have limited disk space, use backup compression. (SQL Backup Pro automatically compresses backups, saving both disk space and reducing backup time.)

23 Using SQL Monitor and SQL Backup Pro to Help with Backups Use SQL Monitor s Backup Overdue and Log Backup Overdue to help ensure that all data is backed up as you expect. SQL Backup Pro s abilities to: Compress backups to save space and reduce backup time Encrypt databases to meet security needs To automatically test the quality of backups by automatically restoring to another server (previously demoed) Demo Backup & Automatic Restore Features

24 Managing Maintenance Jobs As much as practical, keep maintenance plans the same from instance to instance. Don t duplicate maintenance tasks (e.g. Rebuild indexes, then update index statistics immediately thereafter). Schedule jobs so that they do not overlap one another. Schedule database maintenance tasks during down times or during the least busy time of the day. Monitor jobs to ensure they are working correctly. Don t over-maintain your databases. Find the right balance.

25 Use SQL Monitor to Ensure Jobs Run Successfully Use the SQL Monitor alerts Job Failed or Job Duration Unusual to help ensure that your jobs all run as expected. If either of these alerts occur, you can be notified automatically by .

26 Take Aways From This Session Implementing optimal maintenance plans can greatly affect a SQL Server instances: Availability Performance Database maintenance is an on-going task that never ends. Automate as much as possible using the tools described here to help free up your time for more interesting tasks. A Challenge to You: When you get back to work, evaluate all of your SQL Server instances to ensure that all appropriate maintenance tasks are being performed, and are being performed optimally.

27 Find Out More Free Presentation Downloads at How to Monitor Your SQL Server for Performance and High Availability How to Defragment Indexes for Peak Performance Inside the SQL Server Transaction Log Find Out More About the Following Products: Click Here for a free 14-day trial of the Red Gate SQL Server Toolbelt

DBA 101: Best Practices All DBAs Should Follow

DBA 101: Best Practices All DBAs Should Follow The World s Largest Community of SQL Server Professionals DBA 101: Best Practices All DBAs Should Follow Brad M. McGehee Microsoft SQL Server MVP Director of DBA Education Red Gate Software www.bradmcgehee.com

More information

Best Practices Every SQL Server DBA Must Know

Best Practices Every SQL Server DBA Must Know The World s Largest Community of SQL Server Professionals Best Practices Every SQL Server DBA Must Know Brad M McGehee SQL Server MVP Director of DBA Education Red Gate Software www.bradmcgehee.com My

More information

General DBA Best Practices

General DBA Best Practices General DBA Best Practices An Accelerated Technology Laboratories, Inc. White Paper 496 Holly Grove School Road West End, NC 27376 1 (800) 565-LIMS (5467) / 1 (910) 673-8165 1 (910) 673-8166 (FAX) E-mail:

More information

Understanding and Controlling Transaction Logs

Understanding and Controlling Transaction Logs Understanding and Controlling Transaction Logs Nigel Peter Sammy #sqlinthecity http://www.nigelpsammy.com #sqlinthecity Managing Expectations This is a 100-300 level session. This session does not cover

More information

Diskeeper Can Boost Your SQL Server's Performance

Diskeeper Can Boost Your SQL Server's Performance Diskeeper Can Boost Your SQL Server's Performance Software Spotlight by Brad M. McGehee One of the biggest hardware bottlenecks of any SQL Server is disk I/O. And anything that we, as DBAs, can do to reduce

More information

Optimizing SQL Server 2012 for SharePoint 2013. SharePoint Saturday/Friday, Honolulu March 27, 2015

Optimizing SQL Server 2012 for SharePoint 2013. SharePoint Saturday/Friday, Honolulu March 27, 2015 Optimizing SQL Server 2012 for SharePoint 2013 SharePoint Saturday/Friday, Honolulu March 27, 2015 With Mahalo to our sponsors: Mahalo! About the Speaker Brian Alderman (MCT / Author / Speaker / Consultant)

More information

MOC 20462C: Administering Microsoft SQL Server Databases

MOC 20462C: Administering Microsoft SQL Server Databases MOC 20462C: Administering Microsoft SQL Server Databases Course Overview This course provides students with the knowledge and skills to administer Microsoft SQL Server databases. Course Introduction Course

More information

SQL DBA Bundle. Data Sheet. Data Sheet. Introduction. What does it cost. What s included in the SQL DBA Bundle. Feedback for the SQL DBA Bundle

SQL DBA Bundle. Data Sheet. Data Sheet. Introduction. What does it cost. What s included in the SQL DBA Bundle. Feedback for the SQL DBA Bundle Data Sheet SQL DBA Bundle Data Sheet Introduction What does it cost What s included in the SQL DBA Bundle Feedback for the SQL DBA Bundle About Red Gate Software Contact information 2 2 3 7 8 8 SQL DBA

More information

WHITEPAPER. Making the most of SQL Backup Pro

WHITEPAPER. Making the most of SQL Backup Pro WHITEPAPER Making the most of SQL Backup Pro Introduction If time is tight, this guide is an ideal way for you to find out how you can make the most of SQL Backup Pro. It helps you to quickly identify

More information

20462- Administering Microsoft SQL Server Databases

20462- Administering Microsoft SQL Server Databases Course Outline 20462- Administering Microsoft SQL Server Databases Duration: 5 days (30 hours) Target Audience: The primary audience for this course is individuals who administer and maintain SQL Server

More information

SQL Server Storage: The Terabyte Level. Brent Ozar, Microsoft Certified Master, MVP Consultant & Trainer, SQLskills.com

SQL Server Storage: The Terabyte Level. Brent Ozar, Microsoft Certified Master, MVP Consultant & Trainer, SQLskills.com SQL Server Storage: The Terabyte Level Brent Ozar, Microsoft Certified Master, MVP Consultant & Trainer, SQLskills.com BrentOzar.com/go/san Race Facts 333 miles 375 boats invited 33 DNFs Typical Terabyte

More information

Database Maintenance Guide

Database Maintenance Guide Database Maintenance Guide Medtech Evolution - Document Version 5 Last Modified on: February 26th 2015 (February 2015) This documentation contains important information for all Medtech Evolution users

More information

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases Course 20462C: Administering Microsoft SQL Server Databases Module 1: Introduction to SQL Server 2014 Database Administration This module introduces the Microsoft SQL Server 2014 platform. It describes

More information

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases Course 20462C: Administering Microsoft SQL Server Databases Module 1: Introduction to SQL Server 2014 Database Administration This module introduces the Microsoft SQL Server 2014 platform. It describes

More information

WHITE PAPER Keeping Your SQL Server Databases Defragmented with Diskeeper

WHITE PAPER Keeping Your SQL Server Databases Defragmented with Diskeeper WHITE PAPER Keeping Your SQL Server Databases Defragmented with Diskeeper Think Faster. Visit us at Condusiv.com CT SQL WP 12-03-01.indd 1 KEEPING YOUR SQL SERVER DATABASES DEFRAGMENTED WITH DISKEEPER

More information

IDERA WHITEPAPER. The paper will cover the following ten areas: Monitoring Management. WRITTEN BY Greg Robidoux

IDERA WHITEPAPER. The paper will cover the following ten areas: Monitoring Management. WRITTEN BY Greg Robidoux WRITTEN BY Greg Robidoux Top SQL Server Backup Mistakes and How to Avoid Them INTRODUCTION Backing up SQL Server databases is one of the most important tasks DBAs perform in their SQL Server environments

More information

Back From the Dead: How to Restore a SQL Server in 60 Minutes or Less*

Back From the Dead: How to Restore a SQL Server in 60 Minutes or Less* Back From the Dead: How to Restore a SQL Server in 60 Minutes or Less* *Assuming You Plan for It Brad M. McGehee SQL Server MVP Director of DBA Education Red Gate Software www.bradmcgehee.com So Many Ways

More information

Course Outline: www.executrain-qro.com

Course Outline: www.executrain-qro.com This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2014 database. The course focuses on teaching individuals how to use SQL Server 2014

More information

SQL Best Practices for SharePoint admins, the reluctant DBA. ITP324 Todd Klindt

SQL Best Practices for SharePoint admins, the reluctant DBA. ITP324 Todd Klindt SQL Best Practices for SharePoint admins, the reluctant DBA ITP324 Todd Klindt Todd Klindt, MVP Solanite Consulting, Inc. http://www.solanite.com http://www.toddklindt.com/blog todd@solanite.com Author,

More information

ADMINISTERING MICROSOFT SQL SERVER DATABASES

ADMINISTERING MICROSOFT SQL SERVER DATABASES Education and Support for SharePoint, Office 365 and Azure www.combined-knowledge.com COURSE OUTLINE ADMINISTERING MICROSOFT SQL SERVER DATABASES Microsoft Course Code 20462 About this course This five-day

More information

20462C: Administering Microsoft SQL Server Databases

20462C: Administering Microsoft SQL Server Databases 20462C: Administering Microsoft SQL Server Databases Course Details Course Code: Duration: Notes: 20462C 5 days This course syllabus should be used to determine whether the course is appropriate for the

More information

Database Administrator Certificate Capstone Project Evaluation Checklist

Database Administrator Certificate Capstone Project Evaluation Checklist Database Administrator Certificate Capstone Project Evaluation Checklist The following checklist will be used by the Capstone Project instructor to evaluate your project. Satisfactory completion of the

More information

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases Course 20462C: Administering Microsoft SQL Server Databases Page 1 of 7 Administering Microsoft SQL Server Databases Course 20462C: 4 days; Instructor-Led Introduction This four-day instructor-led course

More information

Data Compression in Blackbaud CRM Databases

Data Compression in Blackbaud CRM Databases Data Compression in Blackbaud CRM Databases Len Wyatt Enterprise Performance Team Executive Summary... 1 Compression in SQL Server... 2 Perform Compression in Blackbaud CRM Databases... 3 Initial Compression...

More information

Administering Microsoft SQL Server Databases 20462C; 5 days

Administering Microsoft SQL Server Databases 20462C; 5 days Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Administering Microsoft SQL Server Databases 20462C; 5 days Course Description

More information

The Complete Performance Solution for Microsoft SQL Server

The Complete Performance Solution for Microsoft SQL Server The Complete Performance Solution for Microsoft SQL Server Powerful SSAS Performance Dashboard Innovative Workload and Bottleneck Profiling Capture of all Heavy MDX, XMLA and DMX Aggregation, Partition,

More information

The Database is Slow

The Database is Slow The Database is Slow SQL Server Performance Tuning Starter Kit Calgary PASS Chapter, 19 August 2015 Randolph West, Born SQL Email: r@ndolph.ca Twitter: @rabryst Basic Internals Data File Transaction Log

More information

Course 20462: Administering Microsoft SQL Server Databases

Course 20462: Administering Microsoft SQL Server Databases Course 20462: Administering Microsoft SQL Server Databases Type:Course Audience(s):IT Professionals Technology:Microsoft SQL Server Level:300 This Revision:C Delivery method: Instructor-led (classroom)

More information

Course: 20462 Administering Microsoft SQL Server Databases Overview

Course: 20462 Administering Microsoft SQL Server Databases Overview Course length: 5 Days Microsoft SATV Eligible Course: 20462 Administering Microsoft SQL Server Databases Overview About this Course This five-day instructor-led course provides students with the knowledge

More information

Handling a Full SQL Server Transaction Log

Handling a Full SQL Server Transaction Log Handling a Full SQL Server Transaction Log T he transaction log for a SQL Server database is critical to the operation of the database and the ability to minimize data loss in the event of a disaster.

More information

SQL Server Solutions GETTING STARTED WITH. SQL Safe Backup

SQL Server Solutions GETTING STARTED WITH. SQL Safe Backup SQL Server Solutions GETTING STARTED WITH SQL Safe Backup Purpose of this document Due to its depth and potential for customization, there are often parts of SQL Safe Backup that are overlooked during

More information

ImageNow for Microsoft SQL Server

ImageNow for Microsoft SQL Server ImageNow for Microsoft SQL Server Best Practices Guide ImageNow Version: 6.7. x Written by: Product Documentation, R&D Date: July 2013 2013 Perceptive Software. All rights reserved CaptureNow, ImageNow,

More information

20462 Administering Microsoft SQL Server Databases

20462 Administering Microsoft SQL Server Databases 20462 Administering Microsoft SQL Server Databases Audience Profile The primary audience for this course is individuals who administer and maintain SQL Server databases. These individuals perform database

More information

SQL Server Performance Tuning for DBAs

SQL Server Performance Tuning for DBAs ASPE IT Training SQL Server Performance Tuning for DBAs A WHITE PAPER PREPARED FOR ASPE BY TOM CARPENTER www.aspe-it.com toll-free: 877-800-5221 SQL Server Performance Tuning for DBAs DBAs are often tasked

More information

Oracle Database 12c: Performance Management and Tuning NEW

Oracle Database 12c: Performance Management and Tuning NEW Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Performance Management and Tuning NEW Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning

More information

MOC 20462 Administering Microsoft SQL Server 2014 Databases

MOC 20462 Administering Microsoft SQL Server 2014 Databases To register or for more information call our office (208) 898-9036 or email register@leapfoxlearning.com MOC 20462 Administering Microsoft SQL Server 2014 Databases Class Duration 5 Days Class Overview

More information

20462 - Administering Microsoft SQL Server Databases

20462 - Administering Microsoft SQL Server Databases 20462 - Administering Microsoft SQL Server Databases Duration: 5 Days Course Price: $2,975 Software Assurance Eligible Course Description Note: This course is designed for customers who are interested

More information

SPR201 The Foundations of a Healthy SQL Server Database Links and Hidden Slides

SPR201 The Foundations of a Healthy SQL Server Database Links and Hidden Slides SPR201 The Foundations of a Healthy SQL Server Database Links and Hidden Slides Kimberly L. Tripp & Paul S. Randal SQLskills.com Kimberly@SQLskills.com Paul@SQLskills.com Author/Instructor: Paul S. Randal

More information

I-Motion SQL Server admin concerns

I-Motion SQL Server admin concerns I-Motion SQL Server admin concerns I-Motion SQL Server admin concerns Version Date Author Comments 4 2014-04-29 Rebrand 3 2011-07-12 Vincent MORIAUX Add Maintenance Plan tutorial appendix Add Recommended

More information

This presentation is an introduction to the SQL Server Profiler tool.

This presentation is an introduction to the SQL Server Profiler tool. SQL Server Profiler Presented By: Deepali Savkoor Ellucian Introduction This presentation is an introduction to the SQL Server Profiler tool. Step-by-step guide to setting up a trace. Identify server activities

More information

How to overcome SQL Server maintenance challenges White Paper

How to overcome SQL Server maintenance challenges White Paper How to overcome SQL Server maintenance challenges White Paper White Paper on different SQL server storage and performance management challenges faced by administrators and how they can be overcome using

More information

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: 200-500 Run Time: 47+ hours (272 videos)

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: 200-500 Run Time: 47+ hours (272 videos) Course Description This course is a soup-to-nuts course that will teach you everything you need to configure a server, maintain a SQL Server disaster recovery plan, and how to design and manage a secure

More information

One of the database administrators

One of the database administrators THE ESSENTIAL GUIDE TO Database Monitoring By Michael Otey SPONSORED BY One of the database administrators (DBAs) most important jobs is to keep the database running smoothly, which includes quickly troubleshooting

More information

PERFORMANCE TUNING IN MICROSOFT SQL SERVER DBMS

PERFORMANCE TUNING IN MICROSOFT SQL SERVER DBMS Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 4, Issue. 6, June 2015, pg.381

More information

Backup and Recovery. What Backup, Recovery, and Disaster Recovery Mean to Your SQL Anywhere Databases

Backup and Recovery. What Backup, Recovery, and Disaster Recovery Mean to Your SQL Anywhere Databases Backup and Recovery What Backup, Recovery, and Disaster Recovery Mean to Your SQL Anywhere Databases CONTENTS Introduction 3 Terminology and concepts 3 Database files that make up a database 3 Client-side

More information

Best Practices. Best Practices for Installing and Configuring SQL Server 2005 on an LSI CTS2600 System

Best Practices. Best Practices for Installing and Configuring SQL Server 2005 on an LSI CTS2600 System Best Practices Best Practices for Installing and Configuring SQL Server 2005 on an LSI CTS2600 System 2010 LSI Corporation August 12, 2010 Table of Contents _Toc269370599 Introduction...4 Configuring Volumes

More information

Optimizing Your Database Performance the Easy Way

Optimizing Your Database Performance the Easy Way Optimizing Your Database Performance the Easy Way by Diane Beeler, Consulting Product Marketing Manager, BMC Software and Igy Rodriguez, Technical Product Manager, BMC Software Customers and managers of

More information

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database 6231B: Maintaining a Microsoft SQL Server 2008 R2 Database Course Overview This instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2008 R2 database.

More information

Brad s Sure DBA Checklist

Brad s Sure DBA Checklist Contents General DBA Best Practices...2 Best Practices for Becoming an Exceptional SQL Server DBA...2 Day-to-Day...2 Installation...2 Upgrading...3 Security...3 Job Maintenance...4 SQL Server Configuration

More information

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases CÔNG TY CỔ PHẦN TRƯỜNG CNTT TÂN ĐỨC TAN DUC INFORMATION TECHNOLOGY SCHOOL JSC LEARN MORE WITH LESS! Course 20462 Administering Microsoft SQL Server Databases Length: 5 Days Audience: IT Professionals Level:

More information

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode RMAN - What is Rman - Why use Rman - Understanding The Rman Architecture - Taking Backup in Non archive Backup Mode - Taking Backup in archive Mode - Enhancement in 10g For Rman - 9i Enhancement For Rman

More information

About Me: Brent Ozar. Perfmon and Profiler 101

About Me: Brent Ozar. Perfmon and Profiler 101 Perfmon and Profiler 101 2008 Quest Software, Inc. ALL RIGHTS RESERVED. About Me: Brent Ozar SQL Server Expert for Quest Software Former SQL DBA Managed >80tb SAN, VMware Dot-com-crash experience Specializes

More information

Administering Microsoft SQL Server 2014 Databases

Administering Microsoft SQL Server 2014 Databases Administering Microsoft SQL Server 2014 Databases MOC 20462 Duración: 25 horas Introducción This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL

More information

MS SQL Performance (Tuning) Best Practices:

MS SQL Performance (Tuning) Best Practices: MS SQL Performance (Tuning) Best Practices: 1. Don t share the SQL server hardware with other services If other workloads are running on the same server where SQL Server is running, memory and other hardware

More information

Course 20462C: Administering Microsoft SQL Server Databases

Course 20462C: Administering Microsoft SQL Server Databases Course 20462C: Administering Microsoft SQL Server Databases Duration: 35 hours About this Course The course focuses on teaching individuals how to use SQL Server 2014 product features and tools related

More information

Microsoft SQL Database Administrator Certification

Microsoft SQL Database Administrator Certification Microsoft SQL Database Administrator Certification Training for Exam 70-432 Course Modules and Objectives www.sqlsteps.com 2009 ViSteps Pty Ltd, SQLSteps Division 2 Table of Contents Module #1 Prerequisites

More information

Redundancy Options. Presented By: Chris Williams

Redundancy Options. Presented By: Chris Williams Redundancy Options Presented By: Chris Williams Table of Contents Redundancy Overview... 3 Redundancy Benefits... 3 Introduction to Backup and Restore Strategies... 3 Recovery Models... 4 Cold Backup...

More information

Job Automation. Why is job automation important?

Job Automation. Why is job automation important? Job Automation Job automation plays a vital role in allowing database administrators to manage large and complex SQL Server environments with limited resources. SQL Sentry Event Manager offers several

More information

www.wardyit.com contact@wardyit.com Administering Microsoft SQL Server Databases

www.wardyit.com contact@wardyit.com Administering Microsoft SQL Server Databases Administering Microsoft SQL Server Databases This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2014 database. The course focuses on

More information

Mind Q Systems Private Limited

Mind Q Systems Private Limited MS SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques Module 1: SQL Server Architecture Introduction to SQL Server 2012 Overview on RDBMS and Beyond Relational Big picture of

More information

SQL Server 2008 Administration

SQL Server 2008 Administration SQL Server 2008 Administration Real World Skills for ITP Certification and Beyond Tom Carpenter WILEY Wiley Publishing, Inc. Contents Introduction xxi Part i Introducing SQL Server 2008 1 Chapter 1 Understanding

More information

Bulletproof your Database Backup and Recovery Strategy

Bulletproof your Database Backup and Recovery Strategy Whitepaper Bulletproof your Database Backup and Recovery Strategy By Shawn McGehee and Tony Davis The most critical task for all DBAs is to have a Backup and Recovery strategy that ensures, every day,

More information

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques Module: 1 Module: 2 Module: 3 Module: 4 Module: 5 Module: 6 Module: 7 Architecture &Internals of SQL Server Engine Installing,

More information

SQL Server Database Administrator s Guide

SQL Server Database Administrator s Guide SQL Server Database Administrator s Guide Copyright 2011 Sophos Limited. All rights reserved. No part of this publication may be reproduced, stored in retrieval system, or transmitted, in any form or by

More information

ITPS AG. Aplication overview. DIGITAL RESEARCH & DEVELOPMENT SQL Informational Management System. SQL Informational Management System 1

ITPS AG. Aplication overview. DIGITAL RESEARCH & DEVELOPMENT SQL Informational Management System. SQL Informational Management System 1 ITPS AG DIGITAL RESEARCH & DEVELOPMENT SQL Informational Management System Aplication overview SQL Informational Management System 1 Contents 1 Introduction 3 Modules 3 Aplication Inventory 4 Backup Control

More information

Administering Microsoft SQL Server 2012 Databases

Administering Microsoft SQL Server 2012 Databases Administering Microsoft SQL Server 2012 Databases Install and Configure (19%) Plan installation. May include but not limited to: evaluate installation requirements; design the installation of SQL Server

More information

402: Taming SQL Server for Administrators. Todd Klindt & Shane Young SharePoint911

402: Taming SQL Server for Administrators. Todd Klindt & Shane Young SharePoint911 402: Taming SQL Server for Administrators Todd Klindt & Shane Young SharePoint911 Who is this Todd guy? WSS MVP since 2006 Speaker, writer, consultant, Aquarius, Ray Romano s stunt double Personal Blog

More information

CHAPTER 8: OPTIMIZATION AND TROUBLESHOOTING

CHAPTER 8: OPTIMIZATION AND TROUBLESHOOTING Chapter 8: Optimization and Troubleshooting CHAPTER 8: OPTIMIZATION AND TROUBLESHOOTING Objectives Introduction The objectives are: Understand how to troubleshoot Microsoft Dynamics NAV 2009 Installation

More information

PRODUCT OVERVIEW SUITE DEALS. Combine our award-winning products for complete performance monitoring and optimization, and cost effective solutions.

PRODUCT OVERVIEW SUITE DEALS. Combine our award-winning products for complete performance monitoring and optimization, and cost effective solutions. Creating innovative software to optimize computing performance PRODUCT OVERVIEW Performance Monitoring and Tuning Server Job Schedule and Alert Management SQL Query Optimization Made Easy SQL Server Index

More information

DMS Performance Tuning Guide for SQL Server

DMS Performance Tuning Guide for SQL Server DMS Performance Tuning Guide for SQL Server Rev: February 13, 2014 Sitecore CMS 6.5 DMS Performance Tuning Guide for SQL Server A system administrator's guide to optimizing the performance of Sitecore

More information

50238: Introduction to SQL Server 2008 Administration

50238: Introduction to SQL Server 2008 Administration 50238: Introduction to SQL Server 2008 Administration 5 days Course Description This five-day instructor-led course provides students with the knowledge and skills to administer SQL Server 2008. The course

More information

MySQL Enterprise Backup

MySQL Enterprise Backup MySQL Enterprise Backup Fast, Consistent, Online Backups A MySQL White Paper February, 2011 2011, Oracle Corporation and/or its affiliates Table of Contents Introduction... 3! Database Backup Terms...

More information

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.)

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.) SQL Server 2008 Administration in Action ROD COLLEDGE 11 MANNING Greenwich (74 w. long.) contents foreword xiv preface xvii acknowledgments xix about this book xx about the cover illustration about the

More information

Administering Microsoft SQL Server Databases vc. Day(s): 5. Version: Overview

Administering Microsoft SQL Server Databases vc. Day(s): 5. Version: Overview Administering Microsoft SQL Server Databases vc Day(s): 5 Course Code: M20462 Version: C Overview This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft

More information

Response Time Analysis

Response Time Analysis Response Time Analysis A Pragmatic Approach for Tuning and Optimizing Oracle Database Performance By Dean Richards Confio Software, a member of the SolarWinds family 4772 Walnut Street, Suite 100 Boulder,

More information

PHIL FACTOR GRANT FRITCHEY K. BRIAN KELLEY MICKEY STUEWE IKE ELLIS JONATHAN ALLEN LOUIS DAVIDSON

PHIL FACTOR GRANT FRITCHEY K. BRIAN KELLEY MICKEY STUEWE IKE ELLIS JONATHAN ALLEN LOUIS DAVIDSON 1 PHIL FACTOR GRANT FRITCHEY K. BRIAN KELLEY MICKEY STUEWE IKE ELLIS JONATHAN ALLEN LOUIS DAVIDSON 2 Database Performance Tips for Developers As a developer, you may or may not need to go into the database

More information

SQL Database Administration. Overview

SQL Database Administration. Overview SQL Database Administration SQL Database Administration...1 Backing Up Your Data...2 Controlling Database Growth...7 Maintaining Optimum Performance...10 Automatic Updates for Windows...12 Overview This

More information

Predicting Change Outcomes Leveraging SQL Server Profiler

Predicting Change Outcomes Leveraging SQL Server Profiler Welcome Predicting Change Outcomes Leveraging SQL Server Profiler Lee Everest SQL Rx Today s Agenda Observations Tools for performance tuning SQL Server SQL Server Profiler SQL Trace Replay SQL Trace Replay

More information

S A M P L E C H A P T E R

S A M P L E C H A P T E R SAMPLE CHAPTER Learn SQL Server Administration in a Month of Lunches by Don Jones Chapter 10 Copyright 2014 Manning Publications brief contents 1 Before you begin 1 2 Server assessment and configuration

More information

MS 20462 Administering Microsoft SQL Server Databases

MS 20462 Administering Microsoft SQL Server Databases MS 20462 Administering Microsoft SQL Server Databases Description: Days: 5 Prerequisites: This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL

More information

Response Time Analysis

Response Time Analysis Response Time Analysis A Pragmatic Approach for Tuning and Optimizing Database Performance By Dean Richards Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com Introduction

More information

CASE STUDY LUMIDATA. SQL Toolbelt. Essential tools for SQL Server. 91% of Fortune 100 companies use Red Gate

CASE STUDY LUMIDATA. SQL Toolbelt. Essential tools for SQL Server. 91% of Fortune 100 companies use Red Gate CASE STUDY LUMIDATA SQL Toolbelt Essential tools for SQL Server 91% of Fortune 100 companies use Red Gate " If you work with SQL Server and don't have SQL Toolbelt, you're likely losing thousands of dollars

More information

Microsoft SQL Server Guide. Best Practices and Backup Procedures

Microsoft SQL Server Guide. Best Practices and Backup Procedures Microsoft SQL Server Guide Best Practices and Backup Procedures Constellation HomeBuilder Systems Inc. This document is copyrighted and all rights are reserved. This document may not, in whole or in part,

More information

How to Copy A SQL Database SQL Server Express (Making a History Company)

How to Copy A SQL Database SQL Server Express (Making a History Company) How to Copy A SQL Database SQL Server Express (Making a History Company) These instructions are written for use with SQL Server Express. Check with your Network Administrator if you are not sure if you

More information

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD 20850 WEB: www.nutechtraining.com TEL: 301-610-9300

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD 20850 WEB: www.nutechtraining.com TEL: 301-610-9300 NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD 20850 WEB: www.nutechtraining.com TEL: 301-610-9300 MCTS SQL Server 2005 Developer Course Outlines Exam 70 431: TS: Microsoft SQL

More information

ESSENTIAL SKILLS FOR SQL SERVER DBAS

ESSENTIAL SKILLS FOR SQL SERVER DBAS elearning Event ESSENTIAL SKILLS FOR SQL SERVER DBAS Session 3 Session 3 Session 1 DBAs: What, Why and How SQL Server Engine and Security Session 2 File / Database Management Disaster Recovery Session

More information

VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server

VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server Technical Note VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server This document discusses ways to maintain the VirtualCenter database for increased performance and manageability.

More information

RAID Utility User Guide. Instructions for setting up RAID volumes on a computer with a Mac Pro RAID Card or Xserve RAID Card

RAID Utility User Guide. Instructions for setting up RAID volumes on a computer with a Mac Pro RAID Card or Xserve RAID Card RAID Utility User Guide Instructions for setting up RAID volumes on a computer with a Mac Pro RAID Card or Xserve RAID Card Contents 3 RAID Utility User Guide 3 The RAID Utility Window 4 Running RAID Utility

More information

Response Time Analysis

Response Time Analysis Response Time Analysis A Pragmatic Approach for Tuning and Optimizing SQL Server Performance By Dean Richards Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com

More information

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012 Oracle vs. SQL Server Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012 Agenda Discussions on the various advantages and disadvantages of one platform vs. the other For each topic,

More information

RAID Utility User s Guide Instructions for setting up RAID volumes on a computer with a MacPro RAID Card or Xserve RAID Card.

RAID Utility User s Guide Instructions for setting up RAID volumes on a computer with a MacPro RAID Card or Xserve RAID Card. RAID Utility User s Guide Instructions for setting up RAID volumes on a computer with a MacPro RAID Card or Xserve RAID Card. 1 Contents 3 RAID Utility User s Guide 3 Installing the RAID Software 4 Running

More information

Protecting SQL Server Databases. 1997-2008 Software Pursuits, Inc.

Protecting SQL Server Databases. 1997-2008 Software Pursuits, Inc. Protecting SQL Server Databases 1997-2008 Table of Contents Introduction... 2 Overview of the Backup Process... 2 Configuring SQL Server to Perform Scheduled Backups... 3 Configuring SureSync Relation

More information

Optimize Your Deployment Using Best Practices

Optimize Your Deployment Using Best Practices Optimize Your Deployment Using Best Practices Presented by: Kayla Schilling Building Now for Your Future What is GP SQL Server Optimization? Independent review of your SQL configuration Verification that

More information

LiteSpeed for SQL Server(7.5) How to Diagnose & Troubleshoot Restore

LiteSpeed for SQL Server(7.5) How to Diagnose & Troubleshoot Restore LiteSpeed for SQL Server(7.5) How to Diagnose & Troubleshoot Restore Slide Index Learning objectives- Slides # 3 Restore functional overview- slides # 4 Common restore issues- slides # 8 Common restore

More information

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center Presented by: Dennis Liao Sales Engineer Zach Rea Sales Engineer January 27 th, 2015 Session 4 This Session

More information

Automating Administration with SQL Agent

Automating Administration with SQL Agent Automating Administration with SQL Agent Automating Administration with SQL Agent Objectives Configure SQL Server Agent. Set SQL Server Agent properties. Configure a fail-safe operator. Create operators.

More information

70-444 PRO: Optimizing and Maintaining a Database Administration Solution by Using Microsoft SQL Server 2005. Practice Test. Version 2.

70-444 PRO: Optimizing and Maintaining a Database Administration Solution by Using Microsoft SQL Server 2005. Practice Test. Version 2. Microsoft 70-444 70-444 PRO: Optimizing and Maintaining a Database Administration Solution by Using Microsoft SQL Server 2005 Practice Test Version 2.7 QUESTION NO: 1 Microsoft 70-444: Practice Exam You

More information

NIMSOFT SLM DATABASE

NIMSOFT SLM DATABASE NIMSOFT SLM DATABASE GUIDELINES AND BEST PRACTICES (May 2010) Address more than 2GB of RAM in 32 bit OS (2003, 2008 Enterprise and Datacenter editions): Add /3GB switch to boot.ini file to force the OS

More information

OpenAdmin Tool for Informix (OAT) October 2012

OpenAdmin Tool for Informix (OAT) October 2012 OpenAdmin Tool for Informix (OAT) October 2012 What is OpenAdmin Tool for Informix? OAT is a web-based administration tool for the IBM Informix database server A single OAT installation can administer

More information

Administering Microsoft SQL Server Databases MOC 20462

Administering Microsoft SQL Server Databases MOC 20462 Administering Microsoft SQL Server Databases MOC 20462 Course Outline Module 1: Installing SQL Server 2014 This module introduces the SQL Server 2014 platform. It describes the components, editions, and

More information