SlideShare ist ein Scribd-Unternehmen logo
1 von 33
SQL DBA & MSBI Placement
Training CANADA
SQL Server 2012 online training
SQL DBA & MSBI Placement Training
CANADA
• Contact Us:
• Call:+91-9052666559
• Mail:training@sqlservermasters.com
• Visit:www.sqlservermasters.com
SQL DBA & MSBI Placement Training
CANADA
• Module: 1 Architecture &Internals of SQL Server Engine
• Module : 2 Installing, Upgrading, Configuration, Managing
Services and Migration
• Module: 3 Security, Automation & Monitoring
• Module: 4 Backup & Restore, High Availability & Replication
•
• Module: 5 SQL Server Clustering & AlwaysOn Availability Groups
•
• Module: 6 Performance Tuning, Indexing & Optimizing SQL
Server
SQL DBA & MSBI Placement Training CANADA
Introduction to SQL Server 2012
• Overview on RDBMS and Beyond Relational
• Big picture of SQL Server 2012
• Components & Services of SQL Server 2012
• Roles of production DBA
• System Databases
• Master, Model, MSDB, Tempdb & Resource
SQL Server 2012 Editions & Capacity Planning
• Principal Editions [Enterprise, BI, Standard]
• Specialized Editions [Web]
• Breadth Editions [Developer, Express]
• Hardware Requirements
• OS and Software requirements
•
Pages & Extents
• Pages
• Extents [Uniform & Mixed]
• Managing Extent Allocations
• Tracking Free Space
Files and File groups
• Database Files
• Primary data files
• Secondary data files
• Log files
• Database File groups [Primary & User-defined]
SQL DBA & MSBI Placement Training CANADA
Thread and Task Architecture
• Allocating threads to CPU
• Affinity Mask
• IO and Processor affinity mask
• Configuring Affinity masks
• Boost SQL Server priority
• Hot Add CPU
• Checkpoints
SQL DBA & MSBI Placement Training
CANADA
Memory Architecture
• 32-bit Vs 64-bit Architecture
• Dynamic Memory Management
• Effects of min and max server memory
• Buffer Management
• The Relational Engine
• The Command Parser
• The Query Optimizer
• The Query Executor
• Using AWE
• Configuring Memory Settings
• The Buffer Pool and the Data Cache
• Checkpoints
SQL DBA & MSBI Placement Training CANADA
T-Log Architecture
• Transaction Log Logical Architecture
• Transaction Log Physical Architecture
• Recovery phases [Analysis, Redo & Undo]
• Checkpoint Operation
• Write-Ahead Transaction Log
• Managing T-log
• Truncating and shrinking the log file
• Managing T-Log issues by using DBCC commands
SQL DBA & MSBI Placement Training CANADA
Module: 2
Installing, Upgrading, Configuration, Managing services and
Migration
SQL server 2012 Installation
• Planning the System/Pre-Requisites
• Installing SQL server 2008 R2 /2012
• Installing Analysis Services
• Installing & Configuring Reporting Services
• Best Practices on Installation
• Uninstalling SQL server
• Common Installation Issues
SQL DBA & MSBI Placement Training CANADA
Upgrading to SQL server 2008 R2/2012
• Upgrading the server by applying service packs
• Upgrading the server by applying Hot fixes
• In-Place Vs. Side-by-Side upgradations
• Pre-Upgrade Checks/pre-requisites
• Upgrade advisor
• In-Place Upgradation from SQL server 2008 R2 to 2012
• Best Practices to follow while upgrading
SQL DBA & MSBI Placement Training CANADA
Managing services
• Server/Engine Connectivity issues
• Security/Firewall access issues
• Starting and Stopping Services through
– Configuration manager
– Net Command
– Management Studio
• Start Up parameters
• Starting SQL server in single user mode
SQL DBA & MSBI Placement Training CANADA
Configuring SQL Server 2012
• Configuring Network Protocols from SQL Server configuration manager
• Configuring Client Protocols from SQL Server configuration manager
• Dedicated Administrator Connection
• Enabling advanced features by using facets
• Connecting to DAC
• Configuring Database Mail
• Configuring Registered servers
• Configuring Central Management Servers [CMS]
• Querying data from different servers by using CMS
• Configuring other settings through SP_Configure
• Configuring Server memory settings
• Configuring Database Settings
• Tempdb configuration
• Best Practices on configuration tempdb & Database settings
SQL DBA & MSBI Placement Training CANADA
Migrating SQL server
• Side-By- Side Migration Techniques
• Difference between in-place & Side by Side Migration/Upgradation
• Advantages/Disadvantages of In-Place to Side-by-Side
• Migrating Databases
– Migration by using Attach and Detach Method
– Migration by using Back and restore method
– Migration by using Copy Database Wizard
• Migrating Logins [Fixing Orphaned Users]
• Creating and migrating linked servers
• Migrating Jobs
• Data movement by using Import & Export wizard
• Migrating jobs & logins by using SSIS
SQL DBA & MSBI Placement Training CANADA
Module: 3 Security, Automation & Monitoring
Automating Administrative Tasks
• About SQL server Agent
• Creating Jobs, Alerts and Operators
• Scheduling the Jobs
• Working with Job activity Monitor
• Resolving failure Jobs
• Configuring Alert system in SQL server agent
• Best practices on job maintenance
SQL DBA & MSBI Placement Training CANADA
Monitoring SQL Server
• The Goal of Monitoring
• Choosing the Appropriate Monitoring Tools
• Monitoring health status by using server Dashboard & DMV’s
• Monitoring Job activities by job activity monitor
• Monitoring SQL Server process by server activity monitor
• Monitoring SQL Server Error Logs/Windows by log file viewer
• Best Practices on Monitoring
SQL DBA & MSBI Placement Training CANADA
Security
• Security Principles & Authentications
• Server and Database Roles
• User-defined server roles
• Server and Database Principles
• Server & Database Securable
• Creating Logins and mapping Users to databases
• Creating Schemas & credentials
• Default Schema for Groups
• Enabling contained databases
• Creating users for contained databases
• Connecting to contained databases from SSMS
• Role permissions for CMS and SQL Server Agent
• Granting to Object level Permissions
• Best Practices on security
SQL DBA & MSBI Placement Training CANADA
Module: 4 Backup & Restore, High Availability & Replication
Backup & Restore:
• Recovery Models [Simple, Bulk-Logged & Full]
• How Backup Works
• Types of backups
– Full backup
– Diff backup
– T-log backup
– Copy Only
– Mirror
– Tail-Log
– Compressed backups
SQL DBA & MSBI Placement Training CANADA
• Restoring Modes [With Recovery, No Recovery, Read
only/Standby]
• Disaster Recovery Planning
• Performing Restore (point-in-time recovery)
• Partial availability of database.
• Database Recovery advisor
• Backup strategy: Developing and executing a Backup Plan
• Creating Maintenance Plans
• Resolving Backup failures in Real time scenarios
• Best Practices on Backup & Recovery
SQL DBA & MSBI Placement Training CANADA
Log Shipping
• Log-Shipping Architecture
• Building DRS for log-shipping
• Pre-requisites/Log-Shipping Process
• Deploying Log Shipping
• Working with Log Shipping Monitor
• Logs hipping Role changing [Fail-Over]
• Removing Log Shipping
• Frequently Raised Errors In Log-Shipping
• Case study: How to add files to a log-shipped database
• Best Practices on Log-Shipping
SQL DBA & MSBI Placement Training CANADA
Database Mirroring
• 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
• Advantages & Disadvantages of database mirroring
• Database Snapshots
• Using Database Snapshots for reporting purposes.
• Case study on moving mirrored files
• Best practices on Mirroring
•
SQL DBA & MSBI Placement Training CANADA
Replication
• Replication Overview
• Replication Models (snapshot/Transactional/Merge/Peer to Peer)
• Replication agents
• Configuring Distributor
• Deploying Transactional Replication for High Availability
• Deploying Merge Replication for Bi-directional
• Creating Subscriptions [Homogeneous / heterogeneous]
• Monitoring Replication by using replication monitor
• Scripting & Removing Replication
• Best Practices on Replication
• Configuring peer to peer replication
• Frequently asked questions in replication
SQL DBA & MSBI Placement Training CANADA
Module: 5 SQL Server Clustering & AlwaysOn Availability
Groups
Windows Server 2012 Clustering
• What is a cluster and Overview of Windows cluster
• Server cluster technologies
– Server clusters
– NLB clusters [Network load balancing]
• Basic architecture of server clusters
• Networks in clustering [Public & Private]
• How cluster works
• Health Detection [Looks alive, Is alive]
SQL DBA & MSBI Placement Training CANADA
• Introduction to fail-over cluster manger
• Validating the cluster configuration
• Creating cluster through fail-over cluster manager
• Adding Nodes to the cluster [2/3 Node cluster]
• Configuring MSDTC as a cluster aware application
• Active - passive Vs Active - Active Clustering
• Adding/Evicting Nodes to/from the cluster
• Adding volumes to the roles/services in the cluster
• Simulating the failover for the resources
• Failing over the core cluster resources to the another node
SQL DBA & MSBI Placement Training CANADA
Installing SQL Server 2012 Fail-Over Clustering
• Pre-SQL Server Installation Tasks.
• Configure SQL Server–Related Service Accounts and Service Account
Security
• Stop Unnecessary Processes or Services
• Check for Pending Reboots
• Install SQL Server Setup Support Files
• SQL Server 2012 Setup
• Install the First Node
• Perform Post installation Tasks
• Verify the Configuration
• Set the Preferred Node Order for Failover
• Configure a Static TCP/IP Port for the SQL Server Instance
SQL DBA & MSBI Placement Training CANADA
Administering a SQL Server 2012 Failover Cluster
• Install SQL Server Service Packs, Patches, and Hot fixes
• Introducing Failover Cluster Management
• Monitoring the Cluster Nodes
• Adding volumes to cluster roles
• Clustered SQL Server Administration
• Fail over resources/roles between the nodes
• Automatic failover & Failback
• Destroying a Cluster- Using Failover Cluster Management
• Uninstalling a Failover Clustering Instance
• Best Practices on Clustering
SQL DBA & MSBI Placement Training CANADA
AlwaysOn Availability Groups
• AlwaysOn Overview
• Understanding Concepts and Terminology
• Availability Modes
• Types of fail-overs
• Pre-requisites for AlwaysOn configuration
• Configuring Availability Groups
• Monitoring Availability groups
• Add/remove database/replica
• Suspend/resume an availability database
• Backups on Secondary
• AlwaysOn Failover Cluster Instances
• Online Operations
SQL DBA & MSBI Placement Training CANADA
High Availability: Interoperability and Coexistence
• Database Mirroring and Log Shipping
• Database Mirroring and Database Snapshots
• Database Mirroring and Failover Clustering
• Replication and Log Shipping
• Replication and Database Mirroring
• Failover Clustering and AlwaysOn Availability groups
SQL DBA & MSBI Placement Training CANADA
Module: 6 Performance Tuning, Indexing & Optimizing
SQL Server
Optimizing SQL server
• Policy based management
• Policy based management implementation
• Creating Policy & Condition
• Evaluating polices
• Resource governor
• Resource pool & Workloads
• Using resource governor from SSMS
• Monitoring Resource governor
SQL DBA & MSBI Placement Training CANADA
• Change data capture [CDC]
• Enabling CDC at Database and table level
• Compression techniques
• Data & Backup compression
• Row compression & Page compression
• Monitoring data compression
• Partitioning – A big picture
• Table and index partitioning
• Creating a partition function/schema
SQL DBA & MSBI Placement Training CANADA
Indexing
• Index Architecture
• How to optimally take advantage of indexes
• Clustered & Non-Clustered indexes
• Covering Index or index with included column
• Creating covering indexes
• Filtered indexes
• Creating filtered indexes to minimize the CPU pressure
• Column store Index Overview
• Column store Index Fundamentals and Architecture
• Creating column store index to improve the performance
• Index Fragmentation
SQL DBA & MSBI Placement Training
CANADA
Locking & Concurrency
• Isolation Levels in SQL Server
• Locking in SQL Server
• Resolving concurrency effects in SQL Server
• Lock modes – Shared, Update, Exclusive, Intent, Schema, bulk-update, key-
range
• Lock escalation in SQL server
• Blocking [SP_Who2]
• Resolving blocking issues in SQL Server
SQL DBA & MSBI Placement Training CANADA
• Working with Activity Monitor
• Live & Dead Locks
• Trace flags to capture dead locks
• Capturing dead lock information in error logs
• SQL Profiler [How to capture events data by using Profiler]
• Capturing deadlock events in profiler
• Deadlocks and deadlock chain detection.
SQL DBA & MSBI Placement Training CANADA
Performance Tuning
• Factors That Impact Performance
• Tools used SQL Profiler, Database Tuning Advisor, System Monitor
• Introduction to Database Tuning Advisor [DTA]
• Analyzing the profiler data by using DTA
• Performance Monitor [System Monitor]
• Correlate SQL Profiler Data with Performance Monitor Data
• New Dynamic Management Views (DMV’s)
• Best Practices on Performance Tuning
• Case Study A: Performance Counters Setup-Collect-Analyze
• Case Study B: Performance Counters- Thresholds
• Case study: Effects of MAXDOP query hint in SQL Server

Weitere ähnliche Inhalte

Mehr von sssql

Sql3
Sql3Sql3
Sql3sssql
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online trainingsssql
 
Project oriented online realtime training on sql
Project oriented online realtime training on sqlProject oriented online realtime training on sql
Project oriented online realtime training on sqlsssql
 
Sql dba 2008 r2 online training
Sql dba 2008 r2 online trainingSql dba 2008 r2 online training
Sql dba 2008 r2 online trainingsssql
 
Sql server 2008r2 dba course
Sql server 2008r2 dba courseSql server 2008r2 dba course
Sql server 2008r2 dba coursesssql
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online trainingsssql
 
Sql server dba certification
Sql server dba certificationSql server dba certification
Sql server dba certificationsssql
 
Sql server dba online training
Sql server dba online trainingSql server dba online training
Sql server dba online trainingsssql
 

Mehr von sssql (8)

Sql3
Sql3Sql3
Sql3
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online training
 
Project oriented online realtime training on sql
Project oriented online realtime training on sqlProject oriented online realtime training on sql
Project oriented online realtime training on sql
 
Sql dba 2008 r2 online training
Sql dba 2008 r2 online trainingSql dba 2008 r2 online training
Sql dba 2008 r2 online training
 
Sql server 2008r2 dba course
Sql server 2008r2 dba courseSql server 2008r2 dba course
Sql server 2008r2 dba course
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online training
 
Sql server dba certification
Sql server dba certificationSql server dba certification
Sql server dba certification
 
Sql server dba online training
Sql server dba online trainingSql server dba online training
Sql server dba online training
 

Kürzlich hochgeladen

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Kürzlich hochgeladen (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Sql dba & msbi placement training canada copy

  • 1. SQL DBA & MSBI Placement Training CANADA SQL Server 2012 online training
  • 2. SQL DBA & MSBI Placement Training CANADA • Contact Us: • Call:+91-9052666559 • Mail:training@sqlservermasters.com • Visit:www.sqlservermasters.com
  • 3. SQL DBA & MSBI Placement Training CANADA • Module: 1 Architecture &Internals of SQL Server Engine • Module : 2 Installing, Upgrading, Configuration, Managing Services and Migration • Module: 3 Security, Automation & Monitoring • Module: 4 Backup & Restore, High Availability & Replication • • Module: 5 SQL Server Clustering & AlwaysOn Availability Groups • • Module: 6 Performance Tuning, Indexing & Optimizing SQL Server
  • 4. SQL DBA & MSBI Placement Training CANADA Introduction to SQL Server 2012 • Overview on RDBMS and Beyond Relational • Big picture of SQL Server 2012 • Components & Services of SQL Server 2012 • Roles of production DBA • System Databases • Master, Model, MSDB, Tempdb & Resource SQL Server 2012 Editions & Capacity Planning • Principal Editions [Enterprise, BI, Standard] • Specialized Editions [Web] • Breadth Editions [Developer, Express] • Hardware Requirements • OS and Software requirements •
  • 5. Pages & Extents • Pages • Extents [Uniform & Mixed] • Managing Extent Allocations • Tracking Free Space Files and File groups • Database Files • Primary data files • Secondary data files • Log files • Database File groups [Primary & User-defined]
  • 6. SQL DBA & MSBI Placement Training CANADA Thread and Task Architecture • Allocating threads to CPU • Affinity Mask • IO and Processor affinity mask • Configuring Affinity masks • Boost SQL Server priority • Hot Add CPU • Checkpoints
  • 7. SQL DBA & MSBI Placement Training CANADA Memory Architecture • 32-bit Vs 64-bit Architecture • Dynamic Memory Management • Effects of min and max server memory • Buffer Management • The Relational Engine • The Command Parser • The Query Optimizer • The Query Executor • Using AWE • Configuring Memory Settings • The Buffer Pool and the Data Cache • Checkpoints
  • 8. SQL DBA & MSBI Placement Training CANADA T-Log Architecture • Transaction Log Logical Architecture • Transaction Log Physical Architecture • Recovery phases [Analysis, Redo & Undo] • Checkpoint Operation • Write-Ahead Transaction Log • Managing T-log • Truncating and shrinking the log file • Managing T-Log issues by using DBCC commands
  • 9. SQL DBA & MSBI Placement Training CANADA Module: 2 Installing, Upgrading, Configuration, Managing services and Migration SQL server 2012 Installation • Planning the System/Pre-Requisites • Installing SQL server 2008 R2 /2012 • Installing Analysis Services • Installing & Configuring Reporting Services • Best Practices on Installation • Uninstalling SQL server • Common Installation Issues
  • 10. SQL DBA & MSBI Placement Training CANADA Upgrading to SQL server 2008 R2/2012 • Upgrading the server by applying service packs • Upgrading the server by applying Hot fixes • In-Place Vs. Side-by-Side upgradations • Pre-Upgrade Checks/pre-requisites • Upgrade advisor • In-Place Upgradation from SQL server 2008 R2 to 2012 • Best Practices to follow while upgrading
  • 11. SQL DBA & MSBI Placement Training CANADA Managing services • Server/Engine Connectivity issues • Security/Firewall access issues • Starting and Stopping Services through – Configuration manager – Net Command – Management Studio • Start Up parameters • Starting SQL server in single user mode
  • 12. SQL DBA & MSBI Placement Training CANADA Configuring SQL Server 2012 • Configuring Network Protocols from SQL Server configuration manager • Configuring Client Protocols from SQL Server configuration manager • Dedicated Administrator Connection • Enabling advanced features by using facets • Connecting to DAC • Configuring Database Mail • Configuring Registered servers • Configuring Central Management Servers [CMS] • Querying data from different servers by using CMS • Configuring other settings through SP_Configure • Configuring Server memory settings • Configuring Database Settings • Tempdb configuration • Best Practices on configuration tempdb & Database settings
  • 13. SQL DBA & MSBI Placement Training CANADA Migrating SQL server • Side-By- Side Migration Techniques • Difference between in-place & Side by Side Migration/Upgradation • Advantages/Disadvantages of In-Place to Side-by-Side • Migrating Databases – Migration by using Attach and Detach Method – Migration by using Back and restore method – Migration by using Copy Database Wizard • Migrating Logins [Fixing Orphaned Users] • Creating and migrating linked servers • Migrating Jobs • Data movement by using Import & Export wizard • Migrating jobs & logins by using SSIS
  • 14. SQL DBA & MSBI Placement Training CANADA Module: 3 Security, Automation & Monitoring Automating Administrative Tasks • About SQL server Agent • Creating Jobs, Alerts and Operators • Scheduling the Jobs • Working with Job activity Monitor • Resolving failure Jobs • Configuring Alert system in SQL server agent • Best practices on job maintenance
  • 15. SQL DBA & MSBI Placement Training CANADA Monitoring SQL Server • The Goal of Monitoring • Choosing the Appropriate Monitoring Tools • Monitoring health status by using server Dashboard & DMV’s • Monitoring Job activities by job activity monitor • Monitoring SQL Server process by server activity monitor • Monitoring SQL Server Error Logs/Windows by log file viewer • Best Practices on Monitoring
  • 16. SQL DBA & MSBI Placement Training CANADA Security • Security Principles & Authentications • Server and Database Roles • User-defined server roles • Server and Database Principles • Server & Database Securable • Creating Logins and mapping Users to databases • Creating Schemas & credentials • Default Schema for Groups • Enabling contained databases • Creating users for contained databases • Connecting to contained databases from SSMS • Role permissions for CMS and SQL Server Agent • Granting to Object level Permissions • Best Practices on security
  • 17. SQL DBA & MSBI Placement Training CANADA Module: 4 Backup & Restore, High Availability & Replication Backup & Restore: • Recovery Models [Simple, Bulk-Logged & Full] • How Backup Works • Types of backups – Full backup – Diff backup – T-log backup – Copy Only – Mirror – Tail-Log – Compressed backups
  • 18. SQL DBA & MSBI Placement Training CANADA • Restoring Modes [With Recovery, No Recovery, Read only/Standby] • Disaster Recovery Planning • Performing Restore (point-in-time recovery) • Partial availability of database. • Database Recovery advisor • Backup strategy: Developing and executing a Backup Plan • Creating Maintenance Plans • Resolving Backup failures in Real time scenarios • Best Practices on Backup & Recovery
  • 19. SQL DBA & MSBI Placement Training CANADA Log Shipping • Log-Shipping Architecture • Building DRS for log-shipping • Pre-requisites/Log-Shipping Process • Deploying Log Shipping • Working with Log Shipping Monitor • Logs hipping Role changing [Fail-Over] • Removing Log Shipping • Frequently Raised Errors In Log-Shipping • Case study: How to add files to a log-shipped database • Best Practices on Log-Shipping
  • 20. SQL DBA & MSBI Placement Training CANADA Database Mirroring • 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 • Advantages & Disadvantages of database mirroring • Database Snapshots • Using Database Snapshots for reporting purposes. • Case study on moving mirrored files • Best practices on Mirroring •
  • 21. SQL DBA & MSBI Placement Training CANADA Replication • Replication Overview • Replication Models (snapshot/Transactional/Merge/Peer to Peer) • Replication agents • Configuring Distributor • Deploying Transactional Replication for High Availability • Deploying Merge Replication for Bi-directional • Creating Subscriptions [Homogeneous / heterogeneous] • Monitoring Replication by using replication monitor • Scripting & Removing Replication • Best Practices on Replication • Configuring peer to peer replication • Frequently asked questions in replication
  • 22. SQL DBA & MSBI Placement Training CANADA Module: 5 SQL Server Clustering & AlwaysOn Availability Groups Windows Server 2012 Clustering • What is a cluster and Overview of Windows cluster • Server cluster technologies – Server clusters – NLB clusters [Network load balancing] • Basic architecture of server clusters • Networks in clustering [Public & Private] • How cluster works • Health Detection [Looks alive, Is alive]
  • 23. SQL DBA & MSBI Placement Training CANADA • Introduction to fail-over cluster manger • Validating the cluster configuration • Creating cluster through fail-over cluster manager • Adding Nodes to the cluster [2/3 Node cluster] • Configuring MSDTC as a cluster aware application • Active - passive Vs Active - Active Clustering • Adding/Evicting Nodes to/from the cluster • Adding volumes to the roles/services in the cluster • Simulating the failover for the resources • Failing over the core cluster resources to the another node
  • 24. SQL DBA & MSBI Placement Training CANADA Installing SQL Server 2012 Fail-Over Clustering • Pre-SQL Server Installation Tasks. • Configure SQL Server–Related Service Accounts and Service Account Security • Stop Unnecessary Processes or Services • Check for Pending Reboots • Install SQL Server Setup Support Files • SQL Server 2012 Setup • Install the First Node • Perform Post installation Tasks • Verify the Configuration • Set the Preferred Node Order for Failover • Configure a Static TCP/IP Port for the SQL Server Instance
  • 25. SQL DBA & MSBI Placement Training CANADA Administering a SQL Server 2012 Failover Cluster • Install SQL Server Service Packs, Patches, and Hot fixes • Introducing Failover Cluster Management • Monitoring the Cluster Nodes • Adding volumes to cluster roles • Clustered SQL Server Administration • Fail over resources/roles between the nodes • Automatic failover & Failback • Destroying a Cluster- Using Failover Cluster Management • Uninstalling a Failover Clustering Instance • Best Practices on Clustering
  • 26. SQL DBA & MSBI Placement Training CANADA AlwaysOn Availability Groups • AlwaysOn Overview • Understanding Concepts and Terminology • Availability Modes • Types of fail-overs • Pre-requisites for AlwaysOn configuration • Configuring Availability Groups • Monitoring Availability groups • Add/remove database/replica • Suspend/resume an availability database • Backups on Secondary • AlwaysOn Failover Cluster Instances • Online Operations
  • 27. SQL DBA & MSBI Placement Training CANADA High Availability: Interoperability and Coexistence • Database Mirroring and Log Shipping • Database Mirroring and Database Snapshots • Database Mirroring and Failover Clustering • Replication and Log Shipping • Replication and Database Mirroring • Failover Clustering and AlwaysOn Availability groups
  • 28. SQL DBA & MSBI Placement Training CANADA Module: 6 Performance Tuning, Indexing & Optimizing SQL Server Optimizing SQL server • Policy based management • Policy based management implementation • Creating Policy & Condition • Evaluating polices • Resource governor • Resource pool & Workloads • Using resource governor from SSMS • Monitoring Resource governor
  • 29. SQL DBA & MSBI Placement Training CANADA • Change data capture [CDC] • Enabling CDC at Database and table level • Compression techniques • Data & Backup compression • Row compression & Page compression • Monitoring data compression • Partitioning – A big picture • Table and index partitioning • Creating a partition function/schema
  • 30. SQL DBA & MSBI Placement Training CANADA Indexing • Index Architecture • How to optimally take advantage of indexes • Clustered & Non-Clustered indexes • Covering Index or index with included column • Creating covering indexes • Filtered indexes • Creating filtered indexes to minimize the CPU pressure • Column store Index Overview • Column store Index Fundamentals and Architecture • Creating column store index to improve the performance • Index Fragmentation
  • 31. SQL DBA & MSBI Placement Training CANADA Locking & Concurrency • Isolation Levels in SQL Server • Locking in SQL Server • Resolving concurrency effects in SQL Server • Lock modes – Shared, Update, Exclusive, Intent, Schema, bulk-update, key- range • Lock escalation in SQL server • Blocking [SP_Who2] • Resolving blocking issues in SQL Server
  • 32. SQL DBA & MSBI Placement Training CANADA • Working with Activity Monitor • Live & Dead Locks • Trace flags to capture dead locks • Capturing dead lock information in error logs • SQL Profiler [How to capture events data by using Profiler] • Capturing deadlock events in profiler • Deadlocks and deadlock chain detection.
  • 33. SQL DBA & MSBI Placement Training CANADA Performance Tuning • Factors That Impact Performance • Tools used SQL Profiler, Database Tuning Advisor, System Monitor • Introduction to Database Tuning Advisor [DTA] • Analyzing the profiler data by using DTA • Performance Monitor [System Monitor] • Correlate SQL Profiler Data with Performance Monitor Data • New Dynamic Management Views (DMV’s) • Best Practices on Performance Tuning • Case Study A: Performance Counters Setup-Collect-Analyze • Case Study B: Performance Counters- Thresholds • Case study: Effects of MAXDOP query hint in SQL Server