SQL SERVER DBA:
SQL SERVER 2008R2 & 2012 DBA:
Introduction to SQL Server:
Overview on RDBMS and Beyond Relational
Responsibilities of Database Administrator
History of SQL Server-versions
History of SQL Server-Editions
Difference between Enterprise and Standard Editions
What are system Databases and explain about system Databases.
1. Master
2. Model
3. MSDB
4. Temp db
5. Resources
What is the difference between SQL2000,2005,2008,2008R2 & 2012
Installation of SQL Server Versions:
Requirements
1. Hardware
2. Software
How to install client tools.
Installation of SQL2000,2005,2008,2008R2 & 2012
1. Pre-Installation steps
2. Client-Installation steps
3. Viewing installation process with Log files
Installation of SQL Server Service packs.
What is Instance and types of instance
1. Default Instance
2. Named Instance
Difference between User Databases and System Databases.
Real-time Issue: When installation is failed how to check error log. How to create Error logs in SQL
Server Agent.
Configuring SQL Server
What is protocol and types of protocols?
1. Shared Memory
2. Named Pipes
3. TCP/IP
4. VIA
Configuring Network protocols from SQL Server surface area Manager.
How to change the SQL server port no.
Configuring features by using SQL Server surface area Manager.
How to enable/disable the advanced features.
Dedicated Administrator Connection (DAC).
Connecting to DAC.
Remote Connections.
Configure the Error logs in SQL Server.
Real –Time: How to verify whether the port number is working or not.
Managing Services:
Starting and Stopping services through Configure Manager.
Net Command
Start Up Parameter
Starting S QL Server in single user mode
Default Parameter and Advanced Parameter
Real-Time Issue: How to logoff remote users.
Database Architecture:
What is a database?
How to create database GUI based and script based.
How to rename the database.
Primary data files.
How to add Secondary datafiles.
Log files.
Moving system from one location to another location.
Databases file and file groups (Primary and user defined).
How to rename the data files and log files.
How to change the collation settings.
How to change the database from multi User to single user mode.
How to change the database to read-only mode.
How to add .ndf(next data file) file when data file disk is full.
How to monitor the disk spaces and failed connecting server.
How to change the database from full to simple recovery model.
How to connect the server from Remote level.
How to connect server terminal or console from remote level.
Real-Time Issue:
o Moving Databases from one disk to another in different ways.
o Recovering Suspect Databases.
o When Log file is full how to troubleshoot.
Architecture:
SQL Server Architecture.
Relational Engine
Storage Engine
1. Pages
2. Types of Pages
3. Extents
4. Types of Extents
Transaction log Architecture
Understanding Checkpoints and Lazy writer.
Memory Architecture.
Security, Automation:
How to create logins.
How to assign databases for logins.
How to mapping the logins from production server to Standby server.
What is difference between server roles and database roles.
What is schema.
How to create schema and how to assign schema for tables.
How to give the column level permission particular tables.
What is an Orphan User?
How to check the Orphan user report?
How to fix the orphan users.
Granting object level privilege.
Working with Users.
Understanding the Server roles.
How to give the permission either server level and database level.
Setting authentication modes.
Real-time Issue:
o How to Resolve Orphan users.
o Coon Login/Users failures issues in live environment.
o How to move Orphan users from server to server.
Automating & Administrative Tasks:
About SQL Server Agent.
Creating Jobs, Alerts and Operators.
Managing jobs and resolving alerts.
Configure the alerts.
Scheduling the job
Creating Maintenance Plans
Working with Job activity Monitor
Working with Database mail.
1. Mail Architecture
2. Configuration Profile and Accounts
3. Sending Mails.
Real-Time Issue:Common job failures/how to resolve them and how to identify them.
Backup & Restore:
Recovery Models ( Simple, Full & Bulk-Logged)
Setting Recovery models
How Backup works
Types of Backups.
1. Full Backup
2. Differential Backup
3. T-Log Backup
4. Copy Only
5. Mirror
6. Tail-Log
Compressed Backups
1. Row compression
2. Page Compression
What is Restoring and types of Restoring Modes.
1. With Recovery
2. No Recovery
3. Stand By
Performing Restore (Point-In –Time Recovery)
Backup System Databases.
Real-time Issue:
o Real-time Backup and Restore Scenarios with some good live examples.
o How to deal with the recovery model issues and common misconception related to it.
Locks, Issues and Deadlocks:
Understanding Locks & Lock Manager
SP_WHO2 and SP_LOCK Outputs
Lock Types, Lock Hints & Escalations
Avoiding WAITS on PAGE and TABLE
What is blocking and how to find the blockings in different ways.
1. Sp_who2 System Stored Procedure
2. Sys.dm.exec_requests(DMV)
3. Sys.dm_os_waiting_tasks
4. SQL Server Management Studio Activity Monitor
5. SQL Server Management Studio Activity Report
6. SQL Server profiler
What is Dead Lock and how to find the deadlocks?
Real-Time Issue:
o How to resolve deadlock or blocking issues in PROD env.
o What would be common causes for the deadlock/blockings in SQL Server.
Isolation Levels - Types and Usage:
READ COMMITTED Isolation and Blocking
READ UNCOMMITED and Dirty Reads
SERIALIZABLE and REAPEATABLE
SNAPSHOT & READCOMITTED SNAPSHOT
Choosing Isolation Levels For OLTP
Statement Locks & Transaction Locks
TempDB Issues with Isolation Options
Locking Hints to avoid Blockings.
Real-Time Issue:
o What is the default isolation level and how to deal with it.
HIGH AVAILABLITY AND REPLICATION:
Log Shipping:
Log Shipping Architecture
Building DRS for Log –Shipping
Pre-requisites/Log- shipping Process
Deploying Log Shipping
Working with Log Shipping Monitor
Log Shipping role changing
How to run the script when DR Server is out of sync.
Advantages and disadvantages of log shipping.
Real-Time Issue:
o How to monitor sync status when server is out of sync.
o How to change retention period server wise.
o How to generate sync reports in log shipping.
Database Mirroring (HOT Standby)
Overview of database Mirroring
Operating Modes in Database Mirroring
Pre-Requisites for Database Mirroring
Deploying Database Mirroring
Fail-over from principle to Mirror
Working with database mirroring monitor
Advantage and disadvantage of database mirroring
Real-Time Issue:
o How to monitoring sync status when server is out of sync.
o How to change role when server is down. (Manually & Automatic).
o How to set the threshold values server side.
o Common day to day issues which we come across in live environment.
Replication:
Replication Overview
Replication Models ( snapshot/Transaction/Merge)
Replication agents
Configuration Distributor
Deploying/Configuring Transaction Replication for High Availablity
Creating Subscriptions (Homogeneous/Heterogeneous)
Monitoring replication by using replication monitor
Scripting Replication
Real-Time Issue:
o Common day to day issues which we come across in live environment.
o How to monitor sync status when server is out of sync.
o How to change role when server is down (Manually & Automatically.
o How to set the Threshold values server side.
Clustering SQL Server:
What is a cluster
Types of clustering
1. Active/Active (Load Balancing)
2. Active/Passive (Failover Cluster)
What are the cluster Networks and how to it works.
1. Private
2. Public
How to add the cluster node.
What is MSDTC and how it works.
Installing and Configuring SQL Server 2005 clustering.
What is Quorum and how it works
What is difference Is Alive and Look Alive.
What is advantage and disadvantage of cluster?
Real-Time Issue:
o How to run active/passive and active /active same server.
o Common day to day issues which we come across in live environment.
Performance Tuning & Indexing:
Index Architecture
How to optimally take advantage of indexes.
Clustered and Non Clustered Indexes
Index Fragmentation
Indexing defragmentation options\update statistics
How to rebuild the indexes
How to reorganize the indexes
SQL Profiler
How to check the performance when cpu get 100% utilization.
How to provide the top 10 CPU queries to clients and I/O usage
What is MDW and explain about the MDW features.
1. Disk usage
2. Server Activity
3. Query Statistics
How to configure MDW
How to enable the performance monitor.
How to check the performance dash board architecture.
DTA (Database Engine Tuning Advisor)
Real-Time Issues:Generation Top 10 Queries report Monitoring Slow Running queries in Profiler Run
PSSDIAG tool when cpu 100% utilization Configure MDW for improve performance Server Level.
Monitoring Tools:
Activity Monitoring
Job Activity monitoring
Performance Monitoring
DTA (Database Engine Tuning Advisor)
Upgrading to SQL Server 2005/2008:
Upgrading the server by applying service packs.
Difference between in-place & Side by Side.
Upgrading the server from lower version to higher version
In-place upgradation from SQL Server 2005 to 2008.
Upgrade Advisor.
Migrating SQL Server
Migrating by using Back and restore method.
Migrating Logins.
Migrating Jobs.
Migrating DTS Packages to SSIS
Migrating between SQL to Excel.
Migrating between from one server to another server.
Migrating by using detaches /attach in server.
Real-Time Issues:
o How to migrate from one Data center to another DC.
o Import & Export data from Server to flat files & Servers.
SQL SERVER 2012 DBA CONCEPTS:
Introduction to SQL Server 2012 environment.
How to install SQL server 2012
New features of SQL Server 2012
What is Always on features?
How to enable Always on features.
NEW Features of SQL server:
Resource governor.
Central Management server (CMS).
What is data compression and types of compressions?
1. Row level compression
2. Page level compression
Practical Trouble Shooting of in SQL DBA:
How to Detach and Attach Database from one server to another server.
How to copy database from one server to another server
DR drills (When Primary server down then how to up secondary server as primary.)
How to switch over and switch backup of servers.
DBCC Commands.
How to shrink Primary file, Secondary file and log file (.mdf,.ndf,.ldf)
How to Create linked Server from sql server to oracle server.
How to generate the script for each databases
Explain about Database sizes and overall databases of project.
When database is getting suspect mode how to troubleshoot the database.
Features of our Training:
Real Time Methodologies for each concept.
Example Case Studies.
SQL DBA Challenges in Real-time
Downtime & Maintenance Notifications
A Real-Time project Explanation.
Microsoft Certification Assistance.