to Solving Database Administration Headaches

Size: px
Start display at page:

Download "to Solving Database Administration Headaches"

Transcription

1 The SQL Developer s Guide to Solving Database Administration Headaches Click to edit Master Donabel subtitle Santos style DBA/Developer/Trainer, Black Ninja Software Instructor, BC Institute of Technology blogs at sqlmusings.com tweets

2 Agenda What you should know How to solve common issues What you should not do How to get help

3 WHAT YOU SHOULD KNOW

4 DBA Responsibilities Acknowledgment: Rod Colledge s 4 Pillars of DBA Responsibilities

5 System Databases

6 Authentication Modes Trusted connection Windows only account DOMAIN\login Why important to know? Why important to know? Tradeoffs Connection Issues Mixed mode SQL + Windows account

7 SQL Server Instances Default Instance Named Instance SERVERNAME SERVERNAME\SQL2000 (local) SERVERNAME\SQL2005. SERVERNAME\SQL2008

8 Login vs User mapped by SID

9 Login vs User

10 Login vs User

11 Security

12 Security Dealing with sa user Strong password Disable ALTER LOGIN sa DISABLE; Rename ALTER LOGIN sa WITH NAME = TonyStark; ALTER LOGIN TonyStark ENABLE; ALTER LOGIN TonyStark WITH PASSWORD = '$TarK!ndu&tri3s?'; Click to edit y Master subtitle style Dealing with guest user REVOKE CONNECT FROM guest

13 Backup Types FULL DIFFERENTIAL TRANSACTION LOG

14 Backup and Restore Recovery Model Backup Type Full Differential Log Simple Required Optional Not allowed Bulk Logged Required Optional Required Full Required Optional Required NOTES: Full and Diff backups in simple recovery CLEARS the log files. Full and Diff backups in full/bulk logged recovery DO NOT clear the log files. Transaction log backup in full/bulk logged recovery TRUNCATES the log files.

15 Backup and Restore Typical Restore Steps Database non operational (restoring state) Uncommitted transactions not rolled back Additional backup files can be restored 1. Backup tail log 2. Restore last good full backup WITH NORECOVERY 3. Restore last good differential backup WITH NORECOVERY 4. Restore all succeeding transaction log backups WITH NORECOVERY 5. Restore tail log WITH RECOVERY -- sample T-SQL RESTORE DATABASE [test] FROM DISK = N'C:\Backups\db.bak' WITH FILE = 5, NORECOVERY, NOUNLOAD, STATS = 10 GO Check out OTHER IDERA WEBCASTS

16 Becoming a DBA Jedi More to learn, young Padawans Maintenance Tasks Indexes Heap vs Indexed Clustered vs NonClustered Rebuild vs Reorganize HA options Database Mirroring Clustering Replication Log Shipping Check out OTHER IDERA WEBCASTS

17 Other DBA tasks Create a checklist Include your daily/weekly/monthly tasks Create a toolbox Include scripts you commonly use Put your scripts in source control Document, document, document Especially installs and special configurations Automate, automate, automate Lazy DBAs ok Test your backups Don t just assume it s going to work Run DBCC CHECKDB periodically to check database integrity Know how long this runs for your environment

18 Conventions and Style Guides SELECT au_lname AS 'Last Name' FROM titleauthor Select a.col1, col2 from mytable a SELECT LastName = au_lname, au_fname FROM Title_ Author CREATE PROC INT = NULL CREATE PROC GetOrderItem )

19 HOW TO SOLVE COMMON ISSUES

20 General Troubleshooting Tips Remember that t error number/error message Look at SQL Server log, Windows Event logs If involving i a job, look at that job history Use tools available for you SQL Server Profiler Perfmon SQL Server Activity it Monitor Execution Plans Database Tuning Advisor Dynamic Management Views (DMVs)

21 Issue: Cannot find edition

22 Issue: Cannot connect to server Check account Is it a valid login? Check service Is it running? Check authentication mode Are you using SQL account on Windows authentication? Check service account Is password expired? Is SQL Browser running? Are remote connections allowed? Is firewall blocking SQL Server port? Default 1433

23 Issue: Cannot access database Is the login mapped to a database user? Is it an orphaned user? Have you recently moved or restored your database to another server? Have you mapped your login? EXEC sp_change_users_login 'UPDATE_ONE','john','john' 'john' 'john' Re maps login to database user

24 Issue: Cannot restore because cannot get exclusive access ERROR System.Data.SqlClient.SqlError: Exclusive access could not be obtained because the database is in use. (Microsoft.SqlServer.Smo) USE [master] GO ALTER DATABASE [WSS_Content] SET SINGLE_USER WITH ROLLBACK IMMEDIATE GO RESTORE DATABASE [WSS_Content] FROM DISK = N'C:\WSSContent_ _2300.bak' WITH FILE = 1, NOUNLOAD, REPLACE, STATS = 10 GO ALTER DATABASE [WSS_Content] SET MULTI_USER GO

25 Issue: Query is slow Narrow it down Is it because of hardware? Is it because of network? Is it a specific query or stored procedure? Check execution plan Is it indexing? Are there usable indexes in your table? Are there too many indexes? Spotting low hanging fruit in your queries WHERE RIGHT(name) LIKE A% WHERE MONTH(orddate) = 2 WHERE mytextcol LIKE %something% Is it blocked? sp_who2 Activity Monitor

26 Issue: Query is slow Troubleshooting SQL Server 2005/2008 Performance and Scalability Flowchart

27 Issue: Growing tempdb Usually a sign of busy databases, and/or runaway queries Short term Restart your instance will recreate tempdb Long term Trace Click what s to edit causing Master tempdb subtitle to grow uncontrollably style Profiler, execution plan, code review Preallocate tempdb size Don t allow it to dynamically grow too often

28 WHAT YOU SHOULD NOT DO

29 DONTs DON T turn on unneeded services xp_cmdshell ad hoc queries SQLCLR DON T just deploy SQLCLR make sure you review, and keep a copy of source code DON T rely on undocumented behavior EXEC sp_msforeachdb 'USE? PRINT DB_NAME() NAME()' EXEC "SELECT '?', COUNT(*) from?" DON T use cursors It s not just another for loop; use set-based equivalent

30 DONTs DON T shrink the database It will introduce fragmentation DON T just blindly install service packs, cumulative updates Read the readme, then test DON T Click use dynamic to edit sql Master subtitle style Especially EXEC(@sqlstring) Prone to SQL Injection DON T assume DMVs give absolute counters GOTCHA Counters get reset at restart

31 HOW TO GET HELP

32 Getting Help Books Online SQL Server Customer Advisory Team SQLCAT ( t SQL Server Customer Service and Support SQLCSS ( Blog Posts MSSQLTips, SQLServerCentral, SQLBlog, SQLServerpedia, SQLSkills, SQLTeam PASS and Local User Groups Twitter use hash tag #sqlhelp and/or #sqlserver

33

34 THANK YOU I will post answers to questions in my blog sqlmusings.com Did I get you twitter curious? Follow me on Want to contact me? donabel@blackninjasoftware.com

SQL Server DBA Course Content

SQL Server DBA Course Content 1 SQL Server DBA Course Content SQL Server Versions and Editions Features of SQL Server Differentiate the SQL Server and Oracle Services of SQL Server Tools of SQL server SQL Server Installation SQL server

More information

SQL Server DBA Online Training

SQL Server DBA Online Training SQL Server DBA Online Training Microsoft SQL Server is a relational database management system developed by Microsoft Inc.. As a database, it is a software product whose primary function is to store and

More information

Microsoft SQL Server Database Administration

Microsoft SQL Server Database Administration Address:- #403, 4 th Floor, Manjeera Square, Beside Prime Hospital, Ameerpet, Hyderabad 500038 Contact: - 040/66777220, 9177166122 Microsoft SQL Server Database Administration Course Overview This is 100%

More information

MS SQL Server 2012 DBA Course Contents

MS SQL Server 2012 DBA Course Contents MS SQL Server 2012 DBA Course Contents 1) SQL History & SQL Server History 2) Database Management Systems(DBMS) 3) Relational Database Management System(RDBMS) 4) SQL Server set up installations & service

More information

6 Months Training Module in MS SQL SERVER 2012

6 Months Training Module in MS SQL SERVER 2012 6 Months Training Module in MS SQL SERVER 2012 Module 1 Installing and Configuring Windows Server 2012 Installing and Managing Windows Server 2012 Windows Server 2012 Overview Installing Windows Server

More information

Administering Microsoft SQL Server 2012 Databases

Administering Microsoft SQL Server 2012 Databases Course 10775A: Administering Microsoft SQL Server 2012 Databases Course Details Course Outline Module 1: Introduction to SQL Server 2012 and its Toolset This module introduces the entire SQL Server platform

More information

High Availability- Disaster Recovery 101

High Availability- Disaster Recovery 101 High Availability- Disaster Recovery 101 DBA-100 Glenn Berry, Principal Consultant, SQLskills.com Glenn Berry Consultant/Trainer/Speaker/Author Principal Consultant, SQLskills.com Email: Glenn@SQLskills.com

More information

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES Page 1 of 11 ABOUT THIS COURSE 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

More information

Administering Microsoft SQL Server 2012/2014 Databases

Administering Microsoft SQL Server 2012/2014 Databases Page 1 of 10 Overview 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

More information

High Availability- Disaster Recovery 101

High Availability- Disaster Recovery 101 High Availability- Disaster Recovery 101 DBA-100 Glenn Berry, Principal Consultant, SQLskills.com Glenn Berry Consultant/Trainer/Speaker/Author Principal Consultant, SQLskills.com Email: Glenn@SQLskills.com

More information

SQL Server 2014 Training. Prepared By: Qasim Nadeem

SQL Server 2014 Training. Prepared By: Qasim Nadeem SQL Server 2014 Training Prepared By: Qasim Nadeem SQL Server 2014 Module: 1 Architecture &Internals of SQL Server Engine Module : 2 Installing, Upgrading, Configuration, Managing Services and Migration

More information

Administering Microsoft SQL Server 2012 Databases

Administering Microsoft SQL Server 2012 Databases Administering Microsoft SQL Server 2012 Databases Course 10775A 5 Day Instructor-led, Hands on Course Information This five-day instructor-led course provides students with the knowledge and skills to

More information

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases Administering Microsoft SQL Server Databases 20462D; 5 days, Instructor-led Course Description This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft

More information

MS-20462: Administering Microsoft SQL Server Databases

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

More information

6231B - Version: 1. Maintaining a Microsoft SQL Server 2008 R2 Database

6231B - Version: 1. Maintaining a Microsoft SQL Server 2008 R2 Database 6231B - Version: 1 Maintaining a Microsoft SQL Server 2008 R2 Database Maintaining a Microsoft SQL Server 2008 R2 Database 6231B - Version: 1 5 days Course Description: This five-day instructor-led course

More information

Maintaining a Microsoft SQL Server 2008 R2 Database

Maintaining a Microsoft SQL Server 2008 R2 Database Course 6231B - Maintaining a Microsoft SQL Server 2008 R2 Database Page 1 of 7 Maintaining a Microsoft SQL Server 2008 R2 Database Course 6231B: Four days; Instructor-Led About this Course This instructor-led

More information

Slide 1. Slide 2 Housekeeping. Slide 3 Overview or Agenda

Slide 1. Slide 2 Housekeeping. Slide 3 Overview or Agenda Slide 1 SQL Server Maintenance Plans Jerome Espinoza Database Administrator 1 Slide 2 Housekeeping Please turn off cell phones If you must leave the session early, please do so as discreetly as possible

More information

SQL Saturday #662 Sioux Falls

SQL Saturday #662 Sioux Falls SQL Saturday #662 Sioux Falls Help! Help! My system databases are gone! Marcus Hopfinger Please be sure to visit the sponsors during breaks and enter their end-of-day raffles! Remember to complete session

More information

Sql Server 2000 Manually Run Maintenance Plan

Sql Server 2000 Manually Run Maintenance Plan Sql Server 2000 Manually Run Maintenance Plan The backups are produced by maintenance plans on the production server then Each day we run a SQL statement similar to this to overwrite each database: I think

More information

2. Recovery models ->

2. Recovery models -> 1. Database structure -> Chapter 3 -> Database architecture -> Subchapter 3.1 2. Recovery models -> https://docs.microsoft.com/en-us/sql/relational-databases/backuprestore/recovery-models-sql-server?view=sql-server-2014

More information

10 Things That Every DBA Should Know!

10 Things That Every DBA Should Know! 10 Things That Every DBA Should Know! John Morehouse Database Architect Farm Credit Mid- America, Louisville, Kentucky john@jmorehouse.com @SqlRUs http://linkedin.com/in/sqlrus http://www.sqlrus.com Agenda

More information

Maintenance Guide.

Maintenance Guide. Maintenance Guide www.12dsynergy.com Table of Contents Overview 3 SQL Server Maintenance Tasks 3 Index Fragmentation 3 Index Fragmentation with less than 30 users... 3 Index Fragmentation with more than

More information

Get the Skinny on Minimally Logged Operations

Get the Skinny on Minimally Logged Operations Get the Skinny on Minimally Logged Operations Andrew J. Kelly akelly@solidq.com Who Am I? Mentor with SolidQ SQL Server MVP since 2001 Contributing editor & author for SQL Server Pro Magazine Over 20 years

More information

Microsoft Exchange Server 2007 Implementation and Maintenance

Microsoft Exchange Server 2007 Implementation and Maintenance Microsoft Exchange Server 2007 Implementation and Maintenance Chapter 1 Exchange Server 2007 Deployment 1.1 Overview, Hardware & Editions 1.2 Exchange Server, Windows & Active Directory 1.3 Administration

More information

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database Course 6231A: Maintaining a Microsoft SQL Server 2008 Database OVERVIEW About this Course Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the

More information

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database Course 6231A: Maintaining a Microsoft SQL Server 2008 Database About this Course This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2008

More information

Synergetics-Standard-SQL Server 2012-DBA-7 day Contents

Synergetics-Standard-SQL Server 2012-DBA-7 day Contents Workshop Name Duration Objective Participants Entry Profile Training Methodology Setup Requirements Hardware and Software Requirements Training Lab Requirements Synergetics-Standard-SQL Server 2012-DBA-7

More information

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led Introduction This three-day instructor-led course provides students with product knowledge and skills needed to

More information

Mssql 2005 The Database Principal Owns A. Schema In The Database And Cannot Be Dropped

Mssql 2005 The Database Principal Owns A. Schema In The Database And Cannot Be Dropped Mssql 2005 The Database Principal Owns A Schema In The Database And Cannot Be Dropped I have created two users and assign a database role. SqlServer.Smo) The database principal owns a schema in the database,

More information

Provisioning SQL Databases

Provisioning SQL Databases Course 20765B: Provisioning SQL Databases Page 1 of 5 Provisioning SQL Databases Course 20765B: 2 days; Instructor-Led Introduction This two-day instructor-led course provides students with the knowledge

More information

Microsoft SQL Server" 2008 ADMINISTRATION. for ORACLE9 DBAs

Microsoft SQL Server 2008 ADMINISTRATION. for ORACLE9 DBAs Microsoft SQL Server" 2008 ADMINISTRATION for ORACLE9 DBAs Contents Acknowledgments *v Introduction xvii Chapter 1 Introduction to the SQL Server Platform 1 SQLServer Editions 2 Premium Editions 3 Core

More information

Provisioning SQL Databases

Provisioning SQL Databases Provisioning SQL Databases Course 20765B 5 Days Instructor-led, Hands on Course Information This five-day instructor-led course is designed to teach students how to provision SQL Server databases both

More information

Provisioning SQL Databases

Provisioning SQL Databases Course 20765B: Provisioning SQL Databases Page 1 of 5 Provisioning SQL Databases Course 20765B: 4 days; Instructor-Led Introduction This course is designed to teach students how to provision SQL Server

More information

Maintaining a Microsoft SQL Server 2008 Database (Course 6231A)

Maintaining a Microsoft SQL Server 2008 Database (Course 6231A) Duration Five days Introduction Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2008

More information

Microsoft SQL Server

Microsoft SQL Server Microsoft SQL Server Abstract This white paper outlines the best practices for Microsoft SQL Server Failover Cluster Instance data protection with Cohesity DataPlatform. December 2017 Table of Contents

More information

MINION ENTERPRISE FEATURES LIST

MINION ENTERPRISE FEATURES LIST MINION ENTERPRISE FEATURES LIST Minion Enterprise is an automation and management tool for SQL Server. It provides you with the 10,000- foot view, detailed view, and fine-grained alerting and controls

More information

SQL Server Myths and Misconceptions

SQL Server Myths and Misconceptions SQL Server Myths and Misconceptions Victor Isakov victor@sqlserversolutions.com.au Copyright by Victor Isakov Abstract As a DBA you have heard of plenty of myths and misconceptions about SQL Server. From

More information

Manual Trigger Sql Server 2008 Update Inserted Rows

Manual Trigger Sql Server 2008 Update Inserted Rows Manual Trigger Sql Server 2008 Update Inserted Rows Am new to SQL scripting and SQL triggers, any help will be appreciated Does it need to have some understanding of what row(s) were affected, sql-serverperformance.com/2010/transactional-replication-2008-r2/

More information

General Concepts SQL SERVER REDUCING INDEX FRAGMENTATION

General Concepts SQL SERVER REDUCING INDEX FRAGMENTATION Article: Reducing Index Fragmentation Date: 08/03/2012 Posted by: HeelpBook Staff Source: Link Permalink: Link SQL SERVER REDUCING INDEX FRAGMENTATION General Concepts When you perform any data modification

More information

Proper Care and Feeding of your SQL MDB

Proper Care and Feeding of your SQL MDB Proper Care and Feeding of your SQL MDB (Recommendations for General MDB Maintenance) A well thought-out MDB installation is only the beginning. There are regular maintenance tasks that must be performed

More information

CONFIGURING SQL SERVER FOR PERFORMANCE LIKE A MICROSOFT CERTIFIED MASTER

CONFIGURING SQL SERVER FOR PERFORMANCE LIKE A MICROSOFT CERTIFIED MASTER CONFIGURING SQL SERVER FOR PERFORMANCE LIKE A MICROSOFT CERTIFIED MASTER TIM CHAPMAN PREMIERE FIELD ENGINEER MICROSOFT THOMAS LAROCK HEAD GEEK SOLARWINDS A LITTLE ABOUT TIM Tim is a Microsoft Dedicated

More information

SQL Server DBA Course Details

SQL Server DBA Course Details SQL Server DBA Course Details By Besant Technologies Course Name Category Venue SQL Server DBA Database Administration Besant Technologies No.24, Nagendra Nagar, Velachery Main Road, Address Velachery,

More information

[AVNICF-MCSASQL2012]: NICF - Microsoft Certified Solutions Associate (MCSA): SQL Server 2012

[AVNICF-MCSASQL2012]: NICF - Microsoft Certified Solutions Associate (MCSA): SQL Server 2012 [AVNICF-MCSASQL2012]: NICF - Microsoft Certified Solutions Associate (MCSA): SQL Server 2012 Length Delivery Method : 5 Days : Instructor-led (Classroom) Course Overview Participants will gain the knowledge

More information

Mobile MOUSe SQL SERVER 2005 OPTIMIZING AND MAINTAINING DATABASE SOLUTIONS ONLINE COURSE OUTLINE

Mobile MOUSe SQL SERVER 2005 OPTIMIZING AND MAINTAINING DATABASE SOLUTIONS ONLINE COURSE OUTLINE Mobile MOUSe SQL SERVER 2005 OPTIMIZING AND MAINTAINING DATABASE SOLUTIONS ONLINE COURSE OUTLINE COURSE TITLE SQL SERVER 2005 OPTIMIZING AND MAINTAINING DATABASE SOLUTIONS COURSE DURATION 12 Hour(s) of

More information

Installing SQL Server Developer Last updated 8/28/2010

Installing SQL Server Developer Last updated 8/28/2010 Installing SQL Server Developer Last updated 8/28/2010 1. Run Setup.Exe to start the setup of SQL Server 2008 Developer 2. On some OS installations (i.e. Windows 7) you will be prompted a reminder to install

More information

Manually Create Distribution Database Sql Server Replication

Manually Create Distribution Database Sql Server Replication Manually Create Distribution Database Sql Server Replication SQL Server transactional replication is a blessing and a curse. If you need high availability for the distribution database, you have limited

More information

20462: Administering Microsoft SQL Server 2014 Databases

20462: Administering Microsoft SQL Server 2014 Databases Let s Reach For Excellence! TAN DUC INFORMATION TECHNOLOGY SCHOOL JSC Address: 103 Pasteur, Dist.1, HCMC Tel: 08 38245819; 38239761 Email: traincert@tdt-tanduc.com Website: www.tdt-tanduc.com; www.tanducits.com

More information

Microsoft Administering Microsoft SQL Server 2014 Databases

Microsoft Administering Microsoft SQL Server 2014 Databases 1800 ULEARN (853 276) www.ddls.com.au Microsoft 20462 - Administering Microsoft SQL Server 2014 Databases Length 5 days Price $4290.00 (inc GST) Version D Overview Please note: Microsoft have released

More information

70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform

70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform 70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform The following tables show where changes to exam 70-459 have been made to include updates

More information

Exam Preparation Planning p. 11 Introduction p. 16 Developing a Security Strategy for Microsoft SQL Server 7 p. 17 SQL Server Authentication Methods

Exam Preparation Planning p. 11 Introduction p. 16 Developing a Security Strategy for Microsoft SQL Server 7 p. 17 SQL Server Authentication Methods Exam Preparation Planning p. 11 Introduction p. 16 Developing a Security Strategy for Microsoft SQL Server 7 p. 17 SQL Server Authentication Methods p. 18 Planning the Use of Windows NT Groups for Security

More information

Check Table Size In Sql Server 2008 R2 >>>CLICK HERE<<<

Check Table Size In Sql Server 2008 R2 >>>CLICK HERE<<< Check Table Size In Sql Server 2008 R2 My scenario is that I am using sql server 2008 r2 on my end. So my purpose is that I want to fix the table size of those tables(log tables) and want to move When

More information

Index. Accent Sensitive (AS), 20 Aggregate functions, 286 Atomicity consistency isolation durability (ACID), 265

Index. Accent Sensitive (AS), 20 Aggregate functions, 286 Atomicity consistency isolation durability (ACID), 265 Index A Accent Sensitive (AS), 20 Aggregate functions, 286 Atomicity consistency isolation durability (ACID), 265 B Balanced (B)-Trees clustered index, 237 non-clustered index, 239 BULK INSERT statement

More information

Drop Table Query Sql Server If Exists 2008 R2

Drop Table Query Sql Server If Exists 2008 R2 Drop Table Query Sql Server If Exists 2008 R2 Check If left blank, it will check for all the tables in the database IF OBJECT_ID('SearchTMP','U') IS NOT NULL DROP TABLE SearchTMP EXEC (@SQL) IF EXISTS(SELECT

More information

Manually Create Distribution Database Sql Server 2008

Manually Create Distribution Database Sql Server 2008 Manually Create Distribution Database Sql Server 2008 Alternatively, your SQL Server Perform Back Up and Create Maintenance Plan These might be on the same server, or you might have databases distributed.

More information

microsoft.

microsoft. 70-462 microsoft Number: 70-462 Passing Score: 800 Time Limit: 120 min www.examsforall.com Exam A QUESTION 1 You have been hired as a Database Consultant by ABC.com to design a SQL Server 2012 database

More information

Natural Born Killers, performance issues to avoid

Natural Born Killers, performance issues to avoid Natural Born Killers, performance issues to avoid Richard Douglas http://sql.richarddouglas.co.uk @SQLRich Natural Born Killer http://www.flickr.com/photos/merille/4747615138/sizes/z/in/photostream/ 2

More information

Designing Database Solutions for Microsoft SQL Server (465)

Designing Database Solutions for Microsoft SQL Server (465) Designing Database Solutions for Microsoft SQL Server (465) Design a database structure Design for business requirements Translate business needs to data structures; de-normalize a database by using SQL

More information

SQL SERVER DBA TRAINING IN BANGALORE

SQL SERVER DBA TRAINING IN BANGALORE SQL SERVER DBA TRAINING IN BANGALORE TIB ACADEMY #5/3 BEML LAYOUT, VARATHUR MAIN ROAD KUNDALAHALLI GATE, BANGALORE 560066 PH: +91-9513332301/2302 WWW.TRAININGINBANGALORE.COM Sql Server DBA Training Syllabus

More information

ADMINISTERING MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

ADMINISTERING MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE 70-462 ADMINISTERING MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE Administering Microsoft SQL Server 2012/2014 Databases (70-462) WWW.ANALYTICSEXAM.COM Contents Administering Microsoft

More information

Are AGs A Good Fit For Your Database? Doug Purnell

Are AGs A Good Fit For Your Database? Doug Purnell Are AGs A Good Fit For Your Database? Doug Purnell About Me DBA for Elon University Co-leader for WinstonSalem BI User Group All things Nikon Photography Bring on the BBQ! Goals Understand HA & DR Types

More information

MS SQL Server DBA Training and Certification Course

MS SQL Server DBA Training and Certification Course About Intellipaat Intellipaat is a fast-growing professional training provider that is offering training in over 150 most sought-after tools and technologies. We have a learner base of 600,000 in over

More information

SQL 2012 Installation

SQL 2012 Installation This document will go through a basic SQL Server 2012 installation. For installation requirements, support and download information please visit the following Microsoft websites. Before you start, you

More information

Microsoft Provisioning SQL Databases (beta)

Microsoft Provisioning SQL Databases (beta) Microsoft 70-765 Provisioning SQL Databases (beta) http://killexams.com/pass4sure/exam-detail/70-765 QUESTION: 97 You administer a Microsoft SQL Server 2014 failover cluster. You need to ensure that a

More information

MySQL for Database Administrators Ed 4

MySQL for Database Administrators Ed 4 Oracle University Contact Us: (09) 5494 1551 MySQL for Database Administrators Ed 4 Duration: 5 Days What you will learn The MySQL for Database Administrators course teaches DBAs and other database professionals

More information

SQL Server Optimisation

SQL Server Optimisation SQL Server Optimisation Jonathan Ward (Epicor) www.epicor.com @EpicorUK What we will cover SQL Server Version & differences Features Installation & Configuration Indexes Maintenance Backups SSRS DR 2 Versions

More information

Drop Users Syntax In Sql Server 2000 Orphaned

Drop Users Syntax In Sql Server 2000 Orphaned Drop Users Syntax In Sql Server 2000 Orphaned Applies To: SQL Server 2014, SQL Server 2016 Preview Syntax Before dropping a database user that owns securables, you must first drop or transfer. To access

More information

SQL Server Course Administering a SQL 2016 Database Infrastructure. Length. Prerequisites. Audience. Course Outline.

SQL Server Course Administering a SQL 2016 Database Infrastructure. Length. Prerequisites. Audience. Course Outline. SQL Server Course - 20764 Administering a SQL 2016 Database Infrastructure Length 5 days Prerequisites Basic knowledge of the Microsoft Windows operating system and its core functionality. Working knowledge

More information

Other terms Homogenous system copy, BW, migration, sp_attach_db, sp_detach_db

Other terms Homogenous system copy, BW, migration, sp_attach_db, sp_detach_db Note Language: English Version: 48 Validity: Valid Since 15.08.2011 Summary Symptom You want to copy an SQL Server database within a homogenous system copy. This procedure has been released for all SAP

More information

2072 : Administering a Microsoft SQL Server 2000 Database

2072 : Administering a Microsoft SQL Server 2000 Database 2072 : Administering a Microsoft SQL Server 2000 Database Introduction This course provides students with the knowledge and skills required to install, configure, administer, and troubleshoot the client-server

More information

Netcast

Netcast WSS MVP since 2006 Speaker, writer, consultant, Aquarius, President of the Ames Iowa chapter of the Mark Rhodes fan club Personal Blog www.toddklindt.com/blog Company web site www.sharepoint911.com E-mail

More information

Dell EMC Avamar for Sybase ASE

Dell EMC Avamar for Sybase ASE Dell EMC Avamar for Sybase ASE Version 7.5.1 User Guide 302-004-293 REV 01 Copyright 2001-2018 Dell Inc. or its subsidiaries. All rights reserved. Published February 2018 Dell believes the information

More information

EMC Avamar Sybase ASE. 7.4 and Service Packs for. User Guide REV 02

EMC Avamar Sybase ASE. 7.4 and Service Packs for. User Guide REV 02 EMC Avamar Sybase ASE 7.4 and Service Packs for User Guide 302-003-198 REV 02 Copyright 2012-2017 EMC Corporation All rights reserved. Published March 2017 Dell believes the information in this publication

More information

Chris Singleton 03/12/2017 PROG 140 Transactions & Performance. Module 8 Assignment

Chris Singleton 03/12/2017 PROG 140 Transactions & Performance. Module 8 Assignment Chris Singleton 03/12/2017 PROG 140 Transactions & Performance Module 8 Assignment Turn In: For this exercise, you will submit one WORD documents (instead of a.sql file) in which you have copied and pasted

More information

VMware vrealize Configuration Manager Backup and Disaster Recovery Guide vrealize Configuration Manager 5.8

VMware vrealize Configuration Manager Backup and Disaster Recovery Guide vrealize Configuration Manager 5.8 VMware vrealize Configuration Manager Backup and Disaster Recovery Guide vrealize Configuration Manager 5.8 This document supports the version of each product listed and supports all subsequent versions

More information

AlwaysOn Availability Groups: Backups, Restores, and CHECKDB

AlwaysOn Availability Groups: Backups, Restores, and CHECKDB AlwaysOn Availability Groups: Backups, Restores, and CHECKDB www.brentozar.com sp_blitz sp_blitzfirst email newsletter videos SQL Critical Care 2016 Brent Ozar Unlimited. All rights reserved. 1 What I

More information

Contents Introduction... 3 Pre-requisites... 3 Requirement Checklist:... 3 Disk Space Requirements:... 4 Application... 4 Database...

Contents Introduction... 3 Pre-requisites... 3 Requirement Checklist:... 3 Disk Space Requirements:... 4 Application... 4 Database... CAP SQL Data Transfer Guide Microsoft SQL Server Compatible April 2015 Contents Introduction... 3 Pre-requisites... 3 Requirement Checklist:... 3 Disk Space Requirements:... 4 Application... 4 Database...

More information

Beginning Admin. The Care and Feeding of SQL Server. Jennifer McCown

Beginning Admin. The Care and Feeding of SQL Server. Jennifer McCown Beginning Admin The Care and Feeding of SQL Server Jennifer McCown MICROSOFT CERTIFIED MASTERS FREE TRAINING VIDEOS AT MIDNIGHTDBA.COM MIDNIGHTSQL CONSULTING, LLC MINIONWARE, LLC SQL SERVER MANAGEMENT

More information

GP Admin Best Practices. Security, Maintenance & and Disaster Recovery

GP Admin Best Practices. Security, Maintenance & and Disaster Recovery GP Admin Best Practices Security, Maintenance & and Disaster Recovery IIS Security and Best Practices IIS Internet Information Services IIS Security and Best Practices IIS Security and Best Practices Securing

More information

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE 70-465 DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE Designing Database Solutions for Microsoft SQL Server (70-465) WWW.ANALYTICSEXAM.COM Contents Designing

More information

Build ETL efficiently (10x) with Minimal Logging

Build ETL efficiently (10x) with Minimal Logging Build ETL efficiently (10x) with Minimal Logging Simon Cho Blog : Simonsql.com Simon@simonsql.com Agenda Want to discuss first Quick review SARG Index access methods Tipping Point Case 1 What s the best

More information

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs Module Title Duration : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs : 4 days Course Description This four-day instructor-led course provides students with the knowledge and skills to capitalize

More information

MCTS: SQL Server 2008 Implementation and Maintenance

MCTS: SQL Server 2008 Implementation and Maintenance MCTS: SQL Server 2008 Implementation and Maintenance Course Description and Overview Overview SecureNinja's MCTS (Microsoft Certified Technology Specialist): SQL Server 2008, Implementation and Maintenance

More information

Exam : Microsoft

Exam : Microsoft Exam : Microsoft 70 431 Title : Microsoft SQL Server 2005 Implementation & Maintenance Update : Demo http://www.killtest.com 1. You are preparing for a new installation of SQL Server 2005. You need to

More information

Backup, Recovery, and System Availability

Backup, Recovery, and System Availability Chapter 16 Backup, Recovery, and System Availability In This Chapter c Reasons for Data Loss c Introduction to Backup Methods c Performing Database Backup c Performing Database Recovery c System Availability

More information

SQL Server 2014 Performance Tuning and Optimization

SQL Server 2014 Performance Tuning and Optimization SQL Server 2014 Performance Tuning and Optimization 55144B; 5 Days, Instructor-led Course Description This course is designed to give the right amount of Internals knowledge, and wealth of practical tuning

More information

Backup types. Excerpted from

Backup types. Excerpted from Backup types Excerpted from SQL Server 2008 Administration in Action Rod Colledge MEAP Release: May 2008 Softbound print: August 2009 464 pages ISBN: 193398872X This article is excerpted from the upcoming

More information

Reestablishing a Broken CallManager Cluster SQL Subscription with Cisco CallManager

Reestablishing a Broken CallManager Cluster SQL Subscription with Cisco CallManager Reestablishing a Broken CallManager Cluster SQL Subscription with Cisco CallManager Document ID: 46100 Contents Introduction Prerequisites Requirements Components Used Conventions Reestablish the Relationship

More information

Ryan Adams Blog - Twitter Thanks to our Gold Sponsors

Ryan Adams Blog -   Twitter  Thanks to our Gold Sponsors Ryan Adams Blog - http://ryanjadams.com Twitter - @ryanjadams Email ryan@ryanjadams.com Thanks to our Gold Sponsors Discover the AlwaysOn Feature Set AlwaysOn Failover Cluster Instances AlwaysOn Availability

More information

Your phone has been automatically muted. Please use the Q&A panel to ask questions during the presentation!

Your phone has been automatically muted. Please use the Q&A panel to ask questions during the presentation! Your phone has been automatically muted. Please use the Q&A panel to ask questions during the presentation! ConnectR Interface Webcast Standing Up a Test ConnectR Instance Welcome ConnectR Database ODBC

More information

MS SQL SERVER DBA TRAINING COURSE

MS SQL SERVER DBA TRAINING COURSE MS SQL SERVER DBA TRAINING COURSE Microsoft SQL Server Administrators 2005, 2008, 2008R2, 2012 and 2014 Rajesh Kumar Jaiswal Updated in 2015 Why to choose us? Complete Practical and Real - Time Sessions.

More information

Bulletproof your Database Backup and Recovery Strategy

Bulletproof your Database Backup and Recovery Strategy 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, that in the

More information

Indexing survival guide for SQL 2016 In-Memory OLTP. Ned Otter SQL Strategist

Indexing survival guide for SQL 2016 In-Memory OLTP. Ned Otter SQL Strategist Indexing survival guide for SQL 2016 In-Memory OLTP Ned Otter SQL Strategist About me SQL Server DBA since 1995 MCSE Data Platform Passionate about SQL Server Obsessed with In-Memory Agenda Editions Indexes

More information

Reestablishing a Broken Cisco CallManager Cluster SQL Subscription with CallManager 3.0, 3.1 and 3.2

Reestablishing a Broken Cisco CallManager Cluster SQL Subscription with CallManager 3.0, 3.1 and 3.2 Reestablishing a Broken Cisco CallManager Cluster SQL Subscription with CallManager 3.0, 3.1 and 3.2 Document ID: 13977 Contents Introduction Prerequisites Requirements Components Used Conventions Reestablish

More information

MANAGE YOUR SHOP WITH POLICY BASED MANAGEMENT & CENTRAL MANAGEMENT SERVER

MANAGE YOUR SHOP WITH POLICY BASED MANAGEMENT & CENTRAL MANAGEMENT SERVER MANAGE YOUR SHOP WITH POLICY BASED MANAGEMENT & CENTRAL MANAGEMENT SERVER Ryan Adams Blog - http://ryanjadams.com Twitter - @ryanjadams Email ryan@ryanjadams.com Objectives CMS Configuration CMS Import

More information

Ms Sql Server 2008 R2 Check If Temp Table Exists

Ms Sql Server 2008 R2 Check If Temp Table Exists Ms Sql Server 2008 R2 Check If Temp Table Exists I need to store dynamic sql result into a temporary table #Temp. Dynamic SQL Query How to check if column exists in SQL Server table 766 Insert results.

More information

T-sql Check If Index Exists Information_schema

T-sql Check If Index Exists Information_schema T-sql Check If Index Exists Information_schema Is there another way to check if table/column exists in SQL Server? indexes won't pick them up, causing it to use the Clustered Index whenever a new column

More information

Administering Microsoft SQL 2012 Database

Administering Microsoft SQL 2012 Database Administering Microsoft SQL 2012 Database Number: 70-462 Passing Score: 700 Time Limit: 120 min File Version: 10 http://wwwgratisexamcom/ 70-462 Administering Microsoft SQL 2012 Database Exam from Yesusecom

More information

TEN QUERY TUNING TECHNIQUES

TEN QUERY TUNING TECHNIQUES TEN QUERY TUNING TECHNIQUES Every SQL Programmer Should Know Kevin Kline Director of Engineering Services at SentryOne Microsoft MVP since 2003 Facebook, LinkedIn, Twitter at KEKLINE kkline@sentryone.com

More information

Course Contents of ORACLE 9i

Course Contents of ORACLE 9i Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating

More information

McAfee VirusScan and McAfee epolicy Orchestrator Administration Course

McAfee VirusScan and McAfee epolicy Orchestrator Administration Course McAfee VirusScan and McAfee epolicy Orchestrator Administration Course Education Services administration course training The McAfee VirusScan Enterprise and McAfee epolicy Orchestrator (McAfee epo ) Administration

More information