SQL Server DBA – Abhisheik SQL DBA
Course /SyllabusFor SQL Server DBA 2012
Module 1 : Architecture
History of SQL server and various versions: SQL Server 2002, 2005, 2008, 2012 and 2014
What is a database and a database management system(DBMS)
Tasks of a Database Administrator [DBA daily activities]
Database Transactions
ACID Properties
SQL Server Transactions
The Life Cycle of a Query
The Relational and Storage Engines
The Buffer Pool
A Basic Select Query
A Simple Update Query
Recovery
The SQLOS (SQL Operating System)
Features of SQL Server 2012 &SQL Server 2008,2008R2,SQL 2005
Difference between Checkpoint and LazyWriter
Dirty Pages----sys.dm_os_buffer_descriptors
Types of System Dbs
Handle corruption
Startup Parameters
Licencing of SQL Server
SQL Server DBA – Abhisheik SQL DBA
Pages &Extents
Pages & Types of Pages
Extents and Types of Extents
Managing Extents
Tracking the Free Space
File and File Groups
Primary File Groups
Secondary File Groups
Log Files
Log file Architecture
Virtual Log files and DMVs for troubleshooting
How Truncations works
Shrinking the Log files
Real Time handling Log file issues
Module 2: Installation ,Upgradation,Configuration
Installation of SQL Server 2012,2008 R2
Prerequisites for Installation
Business standards for Installation of SQL Server and Planning
Troubleshooting the failed Instance
Moving the System Dbs
SQL Server DBA – Abhisheik SQL DBA
Upgradation
Upgradation of the SQL Server by Applying the Patches
Real Time Approach while doing the Service Pack upgradations
Prerequisites before doing the Service Pack installation
Post Check after Service Pack installation.
Inplace Upgradation
Best Practice for Upgradation
Upgradation : Side by Side Migration
Steps for doing the Side by Side Migration
Migration with Backup and Restore Method
Migration with Copy Database Wizard
Migration with Attach and Detach Method
Migration of the Logins and Fixing Orphan users
Crosscheck after Migration
Process Plan for doing the Migration
Steps to be taken Prior to Migration
Troubleshoot if any issues with Migration
Merits/Demirits of theSide by Side Migration
Migration of the Jobs and SSIS packages
Migration of The DTS packages
Import and Export utility
Scripts for copying the tables with data
SQL Server DBA – Abhisheik SQL DBA
Configuration of the SQL Server 2012
Configuration of the Network Protocols
Dedicated Administator Connection(DAC) configuration
Configuration of the Database Mails,Operators,Alerts
What is RAID Levels and chosing the Best suited for All DBs
Database Configurations
What is the difference between SQL Server instance and database.
Client-Server Communication.
Attaching and detaching SQL Server databases.
TempDB
What is TempDB
Optimization of TempDB
Corroption of TempDB
Realtime issues with TempDB
How SQL Server uses tempdb for internal and user created
temporary objects
How to troubleshoot and avoid common tempdb issues
How to monitor and tune tempdb performance
SQL Server Database objects
SQL Server Database objects
Understanding Schemas
Understanding SQL Server data types
Understanding column properties
SQL Server DBA – Abhisheik SQL DBA
Creating tables, altering tables and adding constraints, relationships.
Managing The Services
Starting and Stopping the SQL Server Services
Configuration Manager
Net commands
Command Prompts and SQL CMD
Starting the Dbs in Single user Mode
Starting in Minimal Mode and case study
Resolving the issues SystemDBs
Collation Settings for Databases
Rebuilding the System Dbs and Master Db
Module 3: Security ,Automation and Monitoring
Security
Security Architecture
Fixing the Server Roles
Creating Logins
Creating the Credentials
Creation of the Alias
Creation of the Proxys
Fixed Database Roles
Database Users
Permissions
Grating object level permissions
SQL Server DBA – Abhisheik SQL DBA
Contained Database
SSIS job Execution Permissions
SA Password recovery
Automation Administrative Tasks
SQL Server Agent and Monitoring the Agent logs
Troubleshooting the Jobs with help of Logs and Event Logs
Steps for creation of Jobs with different steps(CMD,SSIS etc)
Create the Maintenace Jobs
Example for creating the Maintenace plan for backups
Example for some maintenace jobs for integrity and optimazation
Best Practice for Job Maintenace
Monitoring SQL Server
Monitoring tools used for SQL Server Monitoring
Log file Viewer and Maintenace of Log File Viewer
Activity Monitor
Database reports
Monitoring Processes in T-SQL
sp_who and sp_who2
sys.dm_exec_connections
sys.dm_exec_sql_text
Multiserver Management
Central Management Servers and Server Groups
SQL Server Utility
Trace Flags
SQL Server DBA – Abhisheik SQL DBA
Getting Help from Support
Resource Governer and Policy Based Management
Module 4 : Backup and Restore
Backups and restore
How Backup Works
Types of the Backup
Recovery Models
Recovery States
Copy only backups
Scenarios for recoving the Databases
How to recover database without Log files
How to repair the suspect Db
Realtime issuse with backup management
Module 5: High Availability and Replication
Log Shiping
Log Shipping Overview
Configutation of the Log Shipping
Deploy Log Shiping
Log Shipping Role Changing
How to deal with Log Sync issues
SQL Server DBA – Abhisheik SQL DBA
Adding the Data files in Log Shipping
DR drill for Log shipping
SQL Server Mirroring
Overview of Database Mirroring
Operating Modes of Database Mirroring
Database Mirroring In Action
Preparing the Endpoints
Preparing the Database for Mirroring
Initial Synchronization Between Principal and Mirror
Establishing the Mirroring Session
High-Safety Operating Mode Without Automatic Failover
High-Safety Operating Mode with Automatic Failover
High-Performance Operating Mode
Database Mirroring and SQL Server 2012 Editions
Database Mirroring Catalog Views
sys.database_mirroring
sys.database_mirroring_witnesses
sys.database_mirroring_endpoints
Database Mirroring Role Change
Automatic Failover
Manual Failover
Forced Failover
Database Availability Scenarios
Principal Is Lost
Mirror Is Lost
Witness Is Lost
SQL Server DBA – Abhisheik SQL DBA
Mirror and Witness Are Lost
Monitoring Database Mirroring
Monitoring Using System Monitor
Monitoring Using Database Mirroring Monitor
Setting Thresholds on Counters and Sending Alerts
Troubleshooting Database Mirroring
Troubleshooting Setup Errors
Troubleshooting Runtime Errors
Automatic Page Repair
Awayson Avaliability Groups
Architecture
Availability Group Replicas and Roles
Availability Modes
Types of Failover Supported
Allowing Read-Only Access to Secondary Replicas
Availability Group Example
Confi gure a New Availability Group
Confi gure an Existing Availability Group
Availability Group Failover Operation
Suspend an Availability Database
Resume an Availability Database
Client Application Connections
Active Secondary for Secondary Read-Only
Read-Only Access Behavior
Secondary Replica Client Connectivity
Performance
SQL Server DBA – Abhisheik SQL DBA
Backup on the Secondary Replica
Evaluate Backup Replicas Metadata
AlwaysOn Group Dashboard
Monitoring and Troubleshooting
Clustering
What Clustering Can Do
What Clustering Cannot Do
Choosing SQL Server 2012 Clustering for the Right Reasons
Alternatives to Clustering
Clustering: The Big Picture
How Clustering Works
Clustering Options
Getting Prepared for Clustering
Preparing the Infrastructure
Preparing the Hardware
Clustering Windows Server 2008 and 2012
Before Installing Windows 2011 Clustering
Installing Windows Server 2008 Failover Clustering
Preparing Windows Server 2008 for Clustering
How to Approach Windows Failover Clustering
Troubleshooting
Doing It Right the First Time
Gathering Information
Resolving Problems
SQL Server DBA – Abhisheik SQL DBA
Replication
Replication Overview
Replication Components
Replication Types
Replication Enhancements in SQL Server 2012
Replication Models
Single Publisher, One or More Subscribers
Multiple Publishers, Single Subscriber
Multiple Publishers Also Subscribing
Updating Subscriber
Peer-to-Peer
Implementing Replication
Setting Up Snapshot Replication
Setting Up Distribution
Implementing Snapshot Replication
Implementing Transactional and Merge Replication
Peer-to-Peer Replication
Setting Up Peer-to-Peer Replication
Confi guring Peer-to-Peer Replication
Scripting Replication
Monitoring Replication
Replication Moniton
Performance Monitor
Replication DMVs
sp_replcounters
SQL Server DBA – Abhisheik SQL DBA
Module 6: Performance and Optimization
Understanding the Memory
Windows and Memory
Physical Memory
Virtual Address Space
Virtual Memory Manager
Tuning 32-Bit Systems
Tuning 64-Bit Systems
SQL Server Memory
Memory Nodes
Memory Clerks, Caches, and the Buffer Pool
Waits
SQL Server Execution Model
Understanding Wait Statistics
Wait Types
Locking and Latches
Locks an currency
Lock Types
Lock Excalations
Isolation types
Snapshot Isolations
Optimistic and Pessimestic Locking
Latches and Spin Locks
SQL Server DBA – Abhisheik SQL DBA
Blocking and how to monitor the blocking
DMVs for monitoring the blocking
Impact of blocking and how to improve the blocking
DeadLocks
What is Deadlock
Tace flag 1204 and 1222
capture teh Deadlocks from graph and Profilers
Reading the Deadlock and common types DeadLocks
Bookmark lookup deadlock
How the deadlocks are cleared
How the deadlocks managed by SQL Server
Performance counters
Indexes Architecture
Table and Index Architecture
CLuster and Non Cluster indexes
What is Heap
Cluster index structure
Non Cluster index structure
Bookmark lookups and RID lookups
What is covering Index?
What is Column Store Index
What is Fileterd Index
Index fragementation
Scan and Seek in indexes.
SQL Server DBA – Abhisheik SQL DBA
Missing indexes.
DMVs for checking the indexes
What is DTA
Impact of Missing Indexes
SQL Trace and Server Trace
What is Wait stats and DMVs
CPU Utilization
Common Causes of High CPU Usage
Missing indexes
Outdated statistics
Non-SARGable predicates
Parameter sniffing
Inappropriate parallelism
I/O
oNetwork
Disks
Performance counters for Disk I/Os
What is Paging and Page Fault
Types for Page Fault
Designing a Storage System
Large Storage System Considerations: SAN Systems
Investigating CPU Pressure
Performance Monitor
SQL Trace.
Dynamic Management Views
Task Status
SQL Server DBA – Abhisheik SQL DBA
CXPACKET waits
SOS_SCHEDULER_YIELD
CMEMTHREAD waits
SQL Query Tuning
Physical Query Processing
Compilation
Tools and Commands for Recompilation Scenarios
Parser and Algebrizer
Optimization
Tuning Process
Database I/O Information
Working with the Query Plan
Join Algorithms
Index Access Methods
Data Modification Query Plan
Query Processing Enhancements on Partitioned Tables and Indexes
Gathering Query Plans for Analysis with SQL Trace
Module 7: Miscellaneous
Whats new in SQL server 2014 and 2016

Trainmesfottech - Sql Server DBA Training Course Content

  • 1.
    SQL Server DBA– Abhisheik SQL DBA Course /SyllabusFor SQL Server DBA 2012 Module 1 : Architecture History of SQL server and various versions: SQL Server 2002, 2005, 2008, 2012 and 2014 What is a database and a database management system(DBMS) Tasks of a Database Administrator [DBA daily activities] Database Transactions ACID Properties SQL Server Transactions The Life Cycle of a Query The Relational and Storage Engines The Buffer Pool A Basic Select Query A Simple Update Query Recovery The SQLOS (SQL Operating System) Features of SQL Server 2012 &SQL Server 2008,2008R2,SQL 2005 Difference between Checkpoint and LazyWriter Dirty Pages----sys.dm_os_buffer_descriptors Types of System Dbs Handle corruption Startup Parameters Licencing of SQL Server
  • 2.
    SQL Server DBA– Abhisheik SQL DBA Pages &Extents Pages & Types of Pages Extents and Types of Extents Managing Extents Tracking the Free Space File and File Groups Primary File Groups Secondary File Groups Log Files Log file Architecture Virtual Log files and DMVs for troubleshooting How Truncations works Shrinking the Log files Real Time handling Log file issues Module 2: Installation ,Upgradation,Configuration Installation of SQL Server 2012,2008 R2 Prerequisites for Installation Business standards for Installation of SQL Server and Planning Troubleshooting the failed Instance Moving the System Dbs
  • 3.
    SQL Server DBA– Abhisheik SQL DBA Upgradation Upgradation of the SQL Server by Applying the Patches Real Time Approach while doing the Service Pack upgradations Prerequisites before doing the Service Pack installation Post Check after Service Pack installation. Inplace Upgradation Best Practice for Upgradation Upgradation : Side by Side Migration Steps for doing the Side by Side Migration Migration with Backup and Restore Method Migration with Copy Database Wizard Migration with Attach and Detach Method Migration of the Logins and Fixing Orphan users Crosscheck after Migration Process Plan for doing the Migration Steps to be taken Prior to Migration Troubleshoot if any issues with Migration Merits/Demirits of theSide by Side Migration Migration of the Jobs and SSIS packages Migration of The DTS packages Import and Export utility Scripts for copying the tables with data
  • 4.
    SQL Server DBA– Abhisheik SQL DBA Configuration of the SQL Server 2012 Configuration of the Network Protocols Dedicated Administator Connection(DAC) configuration Configuration of the Database Mails,Operators,Alerts What is RAID Levels and chosing the Best suited for All DBs Database Configurations What is the difference between SQL Server instance and database. Client-Server Communication. Attaching and detaching SQL Server databases. TempDB What is TempDB Optimization of TempDB Corroption of TempDB Realtime issues with TempDB How SQL Server uses tempdb for internal and user created temporary objects How to troubleshoot and avoid common tempdb issues How to monitor and tune tempdb performance SQL Server Database objects SQL Server Database objects Understanding Schemas Understanding SQL Server data types Understanding column properties
  • 5.
    SQL Server DBA– Abhisheik SQL DBA Creating tables, altering tables and adding constraints, relationships. Managing The Services Starting and Stopping the SQL Server Services Configuration Manager Net commands Command Prompts and SQL CMD Starting the Dbs in Single user Mode Starting in Minimal Mode and case study Resolving the issues SystemDBs Collation Settings for Databases Rebuilding the System Dbs and Master Db Module 3: Security ,Automation and Monitoring Security Security Architecture Fixing the Server Roles Creating Logins Creating the Credentials Creation of the Alias Creation of the Proxys Fixed Database Roles Database Users Permissions Grating object level permissions
  • 6.
    SQL Server DBA– Abhisheik SQL DBA Contained Database SSIS job Execution Permissions SA Password recovery Automation Administrative Tasks SQL Server Agent and Monitoring the Agent logs Troubleshooting the Jobs with help of Logs and Event Logs Steps for creation of Jobs with different steps(CMD,SSIS etc) Create the Maintenace Jobs Example for creating the Maintenace plan for backups Example for some maintenace jobs for integrity and optimazation Best Practice for Job Maintenace Monitoring SQL Server Monitoring tools used for SQL Server Monitoring Log file Viewer and Maintenace of Log File Viewer Activity Monitor Database reports Monitoring Processes in T-SQL sp_who and sp_who2 sys.dm_exec_connections sys.dm_exec_sql_text Multiserver Management Central Management Servers and Server Groups SQL Server Utility Trace Flags
  • 7.
    SQL Server DBA– Abhisheik SQL DBA Getting Help from Support Resource Governer and Policy Based Management Module 4 : Backup and Restore Backups and restore How Backup Works Types of the Backup Recovery Models Recovery States Copy only backups Scenarios for recoving the Databases How to recover database without Log files How to repair the suspect Db Realtime issuse with backup management Module 5: High Availability and Replication Log Shiping Log Shipping Overview Configutation of the Log Shipping Deploy Log Shiping Log Shipping Role Changing How to deal with Log Sync issues
  • 8.
    SQL Server DBA– Abhisheik SQL DBA Adding the Data files in Log Shipping DR drill for Log shipping SQL Server Mirroring Overview of Database Mirroring Operating Modes of Database Mirroring Database Mirroring In Action Preparing the Endpoints Preparing the Database for Mirroring Initial Synchronization Between Principal and Mirror Establishing the Mirroring Session High-Safety Operating Mode Without Automatic Failover High-Safety Operating Mode with Automatic Failover High-Performance Operating Mode Database Mirroring and SQL Server 2012 Editions Database Mirroring Catalog Views sys.database_mirroring sys.database_mirroring_witnesses sys.database_mirroring_endpoints Database Mirroring Role Change Automatic Failover Manual Failover Forced Failover Database Availability Scenarios Principal Is Lost Mirror Is Lost Witness Is Lost
  • 9.
    SQL Server DBA– Abhisheik SQL DBA Mirror and Witness Are Lost Monitoring Database Mirroring Monitoring Using System Monitor Monitoring Using Database Mirroring Monitor Setting Thresholds on Counters and Sending Alerts Troubleshooting Database Mirroring Troubleshooting Setup Errors Troubleshooting Runtime Errors Automatic Page Repair Awayson Avaliability Groups Architecture Availability Group Replicas and Roles Availability Modes Types of Failover Supported Allowing Read-Only Access to Secondary Replicas Availability Group Example Confi gure a New Availability Group Confi gure an Existing Availability Group Availability Group Failover Operation Suspend an Availability Database Resume an Availability Database Client Application Connections Active Secondary for Secondary Read-Only Read-Only Access Behavior Secondary Replica Client Connectivity Performance
  • 10.
    SQL Server DBA– Abhisheik SQL DBA Backup on the Secondary Replica Evaluate Backup Replicas Metadata AlwaysOn Group Dashboard Monitoring and Troubleshooting Clustering What Clustering Can Do What Clustering Cannot Do Choosing SQL Server 2012 Clustering for the Right Reasons Alternatives to Clustering Clustering: The Big Picture How Clustering Works Clustering Options Getting Prepared for Clustering Preparing the Infrastructure Preparing the Hardware Clustering Windows Server 2008 and 2012 Before Installing Windows 2011 Clustering Installing Windows Server 2008 Failover Clustering Preparing Windows Server 2008 for Clustering How to Approach Windows Failover Clustering Troubleshooting Doing It Right the First Time Gathering Information Resolving Problems
  • 11.
    SQL Server DBA– Abhisheik SQL DBA Replication Replication Overview Replication Components Replication Types Replication Enhancements in SQL Server 2012 Replication Models Single Publisher, One or More Subscribers Multiple Publishers, Single Subscriber Multiple Publishers Also Subscribing Updating Subscriber Peer-to-Peer Implementing Replication Setting Up Snapshot Replication Setting Up Distribution Implementing Snapshot Replication Implementing Transactional and Merge Replication Peer-to-Peer Replication Setting Up Peer-to-Peer Replication Confi guring Peer-to-Peer Replication Scripting Replication Monitoring Replication Replication Moniton Performance Monitor Replication DMVs sp_replcounters
  • 12.
    SQL Server DBA– Abhisheik SQL DBA Module 6: Performance and Optimization Understanding the Memory Windows and Memory Physical Memory Virtual Address Space Virtual Memory Manager Tuning 32-Bit Systems Tuning 64-Bit Systems SQL Server Memory Memory Nodes Memory Clerks, Caches, and the Buffer Pool Waits SQL Server Execution Model Understanding Wait Statistics Wait Types Locking and Latches Locks an currency Lock Types Lock Excalations Isolation types Snapshot Isolations Optimistic and Pessimestic Locking Latches and Spin Locks
  • 13.
    SQL Server DBA– Abhisheik SQL DBA Blocking and how to monitor the blocking DMVs for monitoring the blocking Impact of blocking and how to improve the blocking DeadLocks What is Deadlock Tace flag 1204 and 1222 capture teh Deadlocks from graph and Profilers Reading the Deadlock and common types DeadLocks Bookmark lookup deadlock How the deadlocks are cleared How the deadlocks managed by SQL Server Performance counters Indexes Architecture Table and Index Architecture CLuster and Non Cluster indexes What is Heap Cluster index structure Non Cluster index structure Bookmark lookups and RID lookups What is covering Index? What is Column Store Index What is Fileterd Index Index fragementation Scan and Seek in indexes.
  • 14.
    SQL Server DBA– Abhisheik SQL DBA Missing indexes. DMVs for checking the indexes What is DTA Impact of Missing Indexes SQL Trace and Server Trace What is Wait stats and DMVs CPU Utilization Common Causes of High CPU Usage Missing indexes Outdated statistics Non-SARGable predicates Parameter sniffing Inappropriate parallelism I/O oNetwork Disks Performance counters for Disk I/Os What is Paging and Page Fault Types for Page Fault Designing a Storage System Large Storage System Considerations: SAN Systems Investigating CPU Pressure Performance Monitor SQL Trace. Dynamic Management Views Task Status
  • 15.
    SQL Server DBA– Abhisheik SQL DBA CXPACKET waits SOS_SCHEDULER_YIELD CMEMTHREAD waits SQL Query Tuning Physical Query Processing Compilation Tools and Commands for Recompilation Scenarios Parser and Algebrizer Optimization Tuning Process Database I/O Information Working with the Query Plan Join Algorithms Index Access Methods Data Modification Query Plan Query Processing Enhancements on Partitioned Tables and Indexes Gathering Query Plans for Analysis with SQL Trace Module 7: Miscellaneous Whats new in SQL server 2014 and 2016