SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Project oriented online realtime
         training on sql


  (www.sqlservermasters.com)
Project oriented online realtime training on
                     sql
• 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
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

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]
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

 Module: 2
Installing, Upgrading, Configuration, Managing services and
   Migration
SQL server 2012 Installation
•    Planning t h e System/Pre-Re q uisites
•    Installing SQL server 2008 R2 /201 2
•    Installing Analysis Services
•    Installing & Configuring Reporting Services
•    Best Practices on Installat ion
•    Uninstalling SQL server
•    Common Installat ion Issues
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

Managing services
• Server/Engine Connect ivity issues
• Security / Firewall access issues
• Starting and Stopping Services through
   – Configuration manager
   – Net Command
   – Management Studio
• Start Uparameters
• Starting SQL server in single user mode
Project oriented online realtime training on sql

Configuring SQL Server 2012
•    Configuring Network Protocols from SQL Server configuration manager
•    Configuring Client Protocols from SQL Server configuration manager
•    Dedicated Administrat or Connection
•    Enabling advanced features by using facets
•    Connecting to DAC
•    Configuring Database Mail
•    Configuring Registered servers
•    Configuring Central Management Servers [C M S]
•    Querying data from different servers by using C M S
•    Configuring ot her settings through SP_Configure
•    Configuring Server memory set t ings
•    Configuring Database Set t ings
•    Tempdb configuration
•    Best Practices on configuration tempdb & Database settings
Project oriented online realtime training on sql

Migrating SQL server

•    Side-By- Side Migration Techniques
•    Difference between in-place & Side by Side Migration / Upgradation
•    Advantages/Disadvantages of In-Place t o Side-by-Side
•     Migrating Databases
      – migration by using Attach and Detach Method
      – iMigration by using Back and restore met h od
      – miration by using Copy Database Wiz ard
•    migrating Logins [ FIxing Orphaned users]
•    Creating and migrating linked servers
•    Imgrating Jobs
•    Data movement by using Import & Export wizard
•    migrating jobs & logins by using SSIS
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

Monitoring SQL Server
•    The Goal of Monitoring
•    Choosing t Appropriate Monitoring Tools
•    Monitoring health status by using server Dash board&D M V’s
•    Monit oring 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
Project oriented online realtime training on sql

Security
•    Security Principles & Aut h entica t ions
•    Server and Database Roles
•    User-defined server roles
•    Server and Database Principles
•    Server & Database Securable
•    Creating Logins and mapping Users to databases
•    Creating Sc h emas & credentials
•    Default Sc h ema for Groups
•    Enabling contained databases
•    Creating users for contained databases
•    Connecting t o contained databases from SS M S
•    Role permissions for C M S and SQL Server Agent
•    Granting t o Object level Permissions
•    Best Practices on security
Project oriented online realtime training on sql

Module : 4 Back up & Restore, High Availability &
  Replication
Back up & 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
Project oriented online realtime training on sql

•    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 ex ecuting a Backup Plan
•    Creating M aintenance Plans
•    Resolving Backup failures in Real time scenarios
•    Best Practices on Backup & Recovery
Project oriented online realtime training on sql

LogShipping
•    Log-S h ipping Arc h itecture
•    Building DRS for log-shipping
•    Pre-req uisites/Log-Shipping Process
•    Deploying Log S h ipping
•    Working with Log Shipping Monitor
•    Logs hipping Rolechanging [ Fail-Over]
•    Removing Log Sh ipping
•    Frequently Raised Errors In Log-Shipping
•    Case study: How to add files to a log- shipped database
•    Best Practices on Log-Sh ipping
Project oriented online realtime training on sql

Database Mirroring
•    Overview of Database M irroring
•    Operating Modes in Database Mirroring
•    Pre-Requisites for Database Mirroring
•    Deploying Database Mirroring
•    F ail-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
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

Module: 5 sql server clusterIng & group availabIliIty
 widows server 201 2 clustering
• w hat is a cluster and Overview of windows cluster
• Server cluster tec h nologies
   – Server clusters
   – NLB clusters [Network load balancing]
• Basic architecture of server clusters
• Networks in clustering [Public & Private]
• H ow cluster works
• Health Detection [Looks alive, Is alive]
Project oriented online realtime training on sql

•    Introduction to fail-over cluster manger
•    Validating t he cluster configuration
•    Creating cluster t h rough fail-over cluster manager
•    Adding Nodes to t he cluster [2/ 3 Node cluster]
•    Configuring MSDTC as a cluster aware application
•    Active - passive Vs Active - Active Clustering
•    Adding/Evicting Nodes to/from t he cluster
•    Adding volumes to t he roles/services in the cluster
•    Simulating t he failover for the resources
•    F ailing over t h e core cluster resources to t he anot her node
Project oriented online realtime training on sql

InstallIng Sql Server r2 Failover cluster
• Pre-SQL Server Installation Tasks.
• Configure SQL Server–Related Service Accounts and Service
  Account Security
• Stop Unnecessary Processes or Services
• C h eck for Pending Reboots
• Install SQL Server Setup Support Files
• SQL Server 201 2 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
Project oriented online realtime training on sql


Sql Server r2 Failover cluster
•    Install SQL Server Service Packs, Patches, and Hot fixes
•    Introducing Failover Cluster Management
•    Monitoring t h e 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
Project oriented online realtime training on sql

Always anavailabilI ty 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
Project oriented online realtime training on sql

High AvailabIilIity Interoperabiliand CoexIstence
•    Database Mirroring and Log Shipping
•    Database Mirroring and Database Snapshots
•    Database Mirroring and Failover Clustering
•    Replication and Log Shipping
•    Replication and Database Mirroring
•    F ailover Clustering and AlwaysOn Availability groups
Project oriented online realtime training on sql


Module : 6 performance Tuning, Indexing & 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
Project oriented online realtime training on sql

•   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
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

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
Project oriented online realtime training on sql

•    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.
Project oriented online realtime training on sql

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

Andere mochten auch

скош 38 череповец акция
скош 38 череповец акцияскош 38 череповец акция
скош 38 череповец акция
labdua
 
K10 hak asasi kanak kanak
K10 hak asasi kanak kanakK10 hak asasi kanak kanak
K10 hak asasi kanak kanak
zikril65
 
детство это... цдод г.череповца
детство это... цдод г.череповцадетство это... цдод г.череповца
детство это... цдод г.череповца
labdua
 
Intro to aquaponics occ
Intro to aquaponics  occIntro to aquaponics  occ
Intro to aquaponics occ
nlightowler
 
Portfolio (Prithijit Majumder)
Portfolio (Prithijit Majumder)Portfolio (Prithijit Majumder)
Portfolio (Prithijit Majumder)
Prithijit Majumder
 

Andere mochten auch (17)

Fe3 mod2
Fe3 mod2Fe3 mod2
Fe3 mod2
 
скош 38 череповец акция
скош 38 череповец акцияскош 38 череповец акция
скош 38 череповец акция
 
K10 hak asasi kanak kanak
K10 hak asasi kanak kanakK10 hak asasi kanak kanak
K10 hak asasi kanak kanak
 
Monasteries
MonasteriesMonasteries
Monasteries
 
California Takes Overdue Stand Against 'Failed Drug Laws'
California Takes Overdue Stand Against 'Failed Drug Laws'California Takes Overdue Stand Against 'Failed Drug Laws'
California Takes Overdue Stand Against 'Failed Drug Laws'
 
детство это... цдод г.череповца
детство это... цдод г.череповцадетство это... цдод г.череповца
детство это... цдод г.череповца
 
자기소개[1]
자기소개[1]자기소개[1]
자기소개[1]
 
Intro to aquaponics occ
Intro to aquaponics  occIntro to aquaponics  occ
Intro to aquaponics occ
 
Portfolio (Prithijit Majumder)
Portfolio (Prithijit Majumder)Portfolio (Prithijit Majumder)
Portfolio (Prithijit Majumder)
 
Entrevista a la dolors cauba sala
Entrevista a la dolors cauba salaEntrevista a la dolors cauba sala
Entrevista a la dolors cauba sala
 
10 razones para organizar un blogtrip cómo #xabia365
10 razones para organizar un blogtrip cómo #xabia36510 razones para organizar un blogtrip cómo #xabia365
10 razones para organizar un blogtrip cómo #xabia365
 
Magazine planning 1
Magazine planning 1Magazine planning 1
Magazine planning 1
 
Wordpress #2 : customisation
Wordpress #2 : customisationWordpress #2 : customisation
Wordpress #2 : customisation
 
Roopkund Trek
Roopkund TrekRoopkund Trek
Roopkund Trek
 
Lehigh University OLE Implementation: Success and Lessons Learned
Lehigh University OLE Implementation: Success and Lessons LearnedLehigh University OLE Implementation: Success and Lessons Learned
Lehigh University OLE Implementation: Success and Lessons Learned
 
Brochure_NL BCPDISPLAYS
Brochure_NL BCPDISPLAYS Brochure_NL BCPDISPLAYS
Brochure_NL BCPDISPLAYS
 
Pp slide set 9 classifiation of teams
Pp slide set 9   classifiation of teamsPp slide set 9   classifiation of teams
Pp slide set 9 classifiation of teams
 

Mehr von sssql

Sql dba training&classes
Sql dba training&classesSql dba training&classes
Sql dba training&classes
sssql
 
Live sql server 2012 dba online training
Live sql server 2012 dba online trainingLive sql server 2012 dba online training
Live sql server 2012 dba online training
sssql
 
Good sql server dba online training
Good sql server dba online trainingGood sql server dba online training
Good sql server dba online training
sssql
 
Sql dba and msbi placement training usa
Sql dba and msbi placement training usaSql dba and msbi placement training usa
Sql dba and msbi placement training usa
sssql
 
Sql server 2008 r2 dba online usa,canada,uk & australia training
Sql server 2008 r2 dba online  usa,canada,uk & australia  trainingSql server 2008 r2 dba online  usa,canada,uk & australia  training
Sql server 2008 r2 dba online usa,canada,uk & australia training
sssql
 
Sql3
Sql3Sql3
Sql3
sssql
 

Mehr von sssql (13)

Sql dba training&classes
Sql dba training&classesSql dba training&classes
Sql dba training&classes
 
Live sql server 2012 dba online training
Live sql server 2012 dba online trainingLive sql server 2012 dba online training
Live sql server 2012 dba online training
 
Good sql server dba online training
Good sql server dba online trainingGood sql server dba online training
Good sql server dba online training
 
Sql dba and msbi placement training usa
Sql dba and msbi placement training usaSql dba and msbi placement training usa
Sql dba and msbi placement training usa
 
Sql server 2008 r2 dba online usa,canada,uk & australia training
Sql server 2008 r2 dba online  usa,canada,uk & australia  trainingSql server 2008 r2 dba online  usa,canada,uk & australia  training
Sql server 2008 r2 dba online usa,canada,uk & australia training
 
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

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Kürzlich hochgeladen (20)

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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Project oriented online realtime training on sql

  • 1. Project oriented online realtime training on sql (www.sqlservermasters.com)
  • 2. Project oriented online realtime training on sql • 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
  • 3. Project oriented online realtime training on sql 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
  • 4. Project oriented online realtime training on sql 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]
  • 5. Project oriented online realtime training on sql 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
  • 6. Project oriented online realtime training on sql 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
  • 7. Project oriented online realtime training on sql 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
  • 8. Project oriented online realtime training on sql Module: 2 Installing, Upgrading, Configuration, Managing services and Migration SQL server 2012 Installation • Planning t h e System/Pre-Re q uisites • Installing SQL server 2008 R2 /201 2 • Installing Analysis Services • Installing & Configuring Reporting Services • Best Practices on Installat ion • Uninstalling SQL server • Common Installat ion Issues
  • 9. Project oriented online realtime training on sql 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
  • 10. Project oriented online realtime training on sql Managing services • Server/Engine Connect ivity issues • Security / Firewall access issues • Starting and Stopping Services through – Configuration manager – Net Command – Management Studio • Start Uparameters • Starting SQL server in single user mode
  • 11. Project oriented online realtime training on sql Configuring SQL Server 2012 • Configuring Network Protocols from SQL Server configuration manager • Configuring Client Protocols from SQL Server configuration manager • Dedicated Administrat or Connection • Enabling advanced features by using facets • Connecting to DAC • Configuring Database Mail • Configuring Registered servers • Configuring Central Management Servers [C M S] • Querying data from different servers by using C M S • Configuring ot her settings through SP_Configure • Configuring Server memory set t ings • Configuring Database Set t ings • Tempdb configuration • Best Practices on configuration tempdb & Database settings
  • 12. Project oriented online realtime training on sql Migrating SQL server • Side-By- Side Migration Techniques • Difference between in-place & Side by Side Migration / Upgradation • Advantages/Disadvantages of In-Place t o Side-by-Side • Migrating Databases – migration by using Attach and Detach Method – iMigration by using Back and restore met h od – miration by using Copy Database Wiz ard • migrating Logins [ FIxing Orphaned users] • Creating and migrating linked servers • Imgrating Jobs • Data movement by using Import & Export wizard • migrating jobs & logins by using SSIS
  • 13. Project oriented online realtime training on sql 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
  • 14. Project oriented online realtime training on sql Monitoring SQL Server • The Goal of Monitoring • Choosing t Appropriate Monitoring Tools • Monitoring health status by using server Dash board&D M V’s • Monit oring 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
  • 15. Project oriented online realtime training on sql Security • Security Principles & Aut h entica t ions • Server and Database Roles • User-defined server roles • Server and Database Principles • Server & Database Securable • Creating Logins and mapping Users to databases • Creating Sc h emas & credentials • Default Sc h ema for Groups • Enabling contained databases • Creating users for contained databases • Connecting t o contained databases from SS M S • Role permissions for C M S and SQL Server Agent • Granting t o Object level Permissions • Best Practices on security
  • 16. Project oriented online realtime training on sql Module : 4 Back up & Restore, High Availability & Replication Back up & 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
  • 17. Project oriented online realtime training on sql • 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 ex ecuting a Backup Plan • Creating M aintenance Plans • Resolving Backup failures in Real time scenarios • Best Practices on Backup & Recovery
  • 18. Project oriented online realtime training on sql LogShipping • Log-S h ipping Arc h itecture • Building DRS for log-shipping • Pre-req uisites/Log-Shipping Process • Deploying Log S h ipping • Working with Log Shipping Monitor • Logs hipping Rolechanging [ Fail-Over] • Removing Log Sh ipping • Frequently Raised Errors In Log-Shipping • Case study: How to add files to a log- shipped database • Best Practices on Log-Sh ipping
  • 19. Project oriented online realtime training on sql Database Mirroring • Overview of Database M irroring • Operating Modes in Database Mirroring • Pre-Requisites for Database Mirroring • Deploying Database Mirroring • F ail-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
  • 20. Project oriented online realtime training on sql 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
  • 21. Project oriented online realtime training on sql Module: 5 sql server clusterIng & group availabIliIty widows server 201 2 clustering • w hat is a cluster and Overview of windows cluster • Server cluster tec h nologies – Server clusters – NLB clusters [Network load balancing] • Basic architecture of server clusters • Networks in clustering [Public & Private] • H ow cluster works • Health Detection [Looks alive, Is alive]
  • 22. Project oriented online realtime training on sql • Introduction to fail-over cluster manger • Validating t he cluster configuration • Creating cluster t h rough fail-over cluster manager • Adding Nodes to t he cluster [2/ 3 Node cluster] • Configuring MSDTC as a cluster aware application • Active - passive Vs Active - Active Clustering • Adding/Evicting Nodes to/from t he cluster • Adding volumes to t he roles/services in the cluster • Simulating t he failover for the resources • F ailing over t h e core cluster resources to t he anot her node
  • 23. Project oriented online realtime training on sql InstallIng Sql Server r2 Failover cluster • Pre-SQL Server Installation Tasks. • Configure SQL Server–Related Service Accounts and Service Account Security • Stop Unnecessary Processes or Services • C h eck for Pending Reboots • Install SQL Server Setup Support Files • SQL Server 201 2 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
  • 24. Project oriented online realtime training on sql Sql Server r2 Failover cluster • Install SQL Server Service Packs, Patches, and Hot fixes • Introducing Failover Cluster Management • Monitoring t h e 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
  • 25. Project oriented online realtime training on sql Always anavailabilI ty 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
  • 26. Project oriented online realtime training on sql High AvailabIilIity Interoperabiliand CoexIstence • Database Mirroring and Log Shipping • Database Mirroring and Database Snapshots • Database Mirroring and Failover Clustering • Replication and Log Shipping • Replication and Database Mirroring • F ailover Clustering and AlwaysOn Availability groups
  • 27. Project oriented online realtime training on sql Module : 6 performance Tuning, Indexing & 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
  • 28. Project oriented online realtime training on sql • 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
  • 29. Project oriented online realtime training on sql 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
  • 30. Project oriented online realtime training on sql 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
  • 31. Project oriented online realtime training on sql • 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.
  • 32. Project oriented online realtime training on sql 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