Your Data Any Place, Any Time Always On Technologies.

Slides:



Advertisements
Similar presentations
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Advertisements

Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
Performance and Scalability. Optimizing PerformanceScaling UpScaling Out.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
High Availability David Frommer Principal Architect Business Intelligence Microsoft Partner of the Year 2005 & 2007.
SQL Server Replication
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
Vinod Kumar Technology Evangelist | Microsoft
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
SQL Server Data Protection and High Availability Anil Desai.
Keith Burns Microsoft UK Mission Critical Database.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
SQL Server High Availability
En ny standard for høytilgjengelighet Jon Jahren Produktsjef, Microsoft
High Availability options Explored with SQL Server
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
National Manager Database Services
Building Highly Available Systems with SQL Server™ 2005 Robert Rea Brandon Consulting.
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
Performance and Scalability. Performance and Scalability Challenges Optimizing PerformanceScaling UpScaling Out.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
High-Availability Methods Lesson 25. Skills Matrix.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Managing Multi-User Databases AIMS 3710 R. Nakatsu.
Stephan Hurni Consultant Trivadis AG, SQL Server notes from the field.
It is one of the techniques to create a stand by server. Introduced in SQL 2000,enhanced in It is a High Availability as well as Disaster recovery.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
Paul Filmalter PFE Microsoft DAT313 Agenda Setting the Scene What’s New In Database Mirroring in SQL Server 2008 Tips and Tricks Summary.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
Session objectives Discuss whether or not virtualization makes sense for Exchange 2013 Describe supportability of virtualization features Explain sizing.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Speaker Name 00/00/2013. Solution Requirements.
Building Highly Available Systems with SQL Server™ 2005 Keith Burns Data Architect Microsoft Ltd.
High Availability in DB2 Nishant Sinha
Oracle DBAs Deploying Highly Available SQL Server Systems
1© Copyright 2012 EMC Corporation. All rights reserved. EMC VNX5700, EMC FAST Cache, SQL Server AlwaysOn Availability Groups Strategic Solutions Engineering.
Connect with life Vinod Kumar Technology Evangelist - Microsoft
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Your Data Any Place, Any Time Performance and Scalability.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Danny Tambs – Senior Consultant Microsoft.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
Praveen Srivatsa Director| AstrhaSoft Consulting blogs.asthrasoft.com/praveens |
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
SQL Server High Availability Introduction to SQL Server high availability solutions.
Microsoft Connect /23/ :39 PM
Oracle Database High Availability
Sponsors.
Greg Seidel Technology Specialist – SQL Server
Data Platform and Analytics Foundational Training
Managing Multi-User Databases
AlwaysOn Mirroring, Clustering
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Oracle Database High Availability
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Test Upgrade Name Title Company 9/18/2018 Microsoft SharePoint
SQL Server High Availability Amit Vaid.
Microsoft Azure P wer Lunch
Your Data Any Place, Any Time
Building continuously available systems with Hyper-V
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Designing a Highly Available SQL Server Infrastructure
Building global and highly-available services using Windows Azure
Azure SQL Database for Business Critical Cloud Applications
Presentation transcript:

Your Data Any Place, Any Time Always On Technologies

Patching & Service Pack Installation Hardware and Software Upgrade System Reconfiguration Database Maintenance Application Upgrade Human Error #1 Cause of Failure Site Disasters Hardware Malfunction Data Corruption Software Crash Availability during Planned Downtime Protection against Unplanned Downtime Why Do You Need High Availability? Downtime causes lost customer revenue and decreased staff productivity

SQL Server 2008 High Availability Redundancy at server, database and data page levels reduces costs associated with downtime Highly credible, cost effective high availability solutions Reduced downtime for database maintenance and hardware upgrades Reduced contention for resources Increased availability of data in the event of a partial failure Industry leading manageability tools

Agenda  Increasing Availability  Decreasing Downtime  Improving Manageability

SQL Server 2008 High Availability Features Database Mirroring Transactional Replication Log Shipping Backup/Restore Windows Clustering Database Snapshot

Database Mirroring Overview  Hot Standby protects against database or server failure  Provides a fault-tolerant database  Cost effective as no specialist hardware is required  Straightforward setup and administration  Automatic or manual failover  SQL Server 2008 does not require a database restart after manual failover  Automatic, transparent client redirect  No shared components; two separate copies of data  SQL Server 2008 compresses the log stream from Principal to Mirror

Database Mirroring Synchronous, high availability configuration Principal Mirror Client  Data is mirrored synchronously as part of a transaction  Automatic failover if Principal server fails  Automatic Client redirection Witness

Database Mirroring Synchronous, high protection configuration Principal Mirror Client  Data is mirrored synchronously as part of a transaction  Manual failover if Principal server fails  Automatic Client redirection

Database Mirroring Asynchronous, high performance configuration Principal Mirror Client  Data is mirrored asynchronously outside of transactions  Manual failover if Principal server fails  Automatic Client redirection

Database Mirroring Recovering suspect pages  SQL Server 2008 uses a checksum to validate page writes  Inconsistant pages can be recovered automatically from the mirror server Principal Mirror

Disaster Recovery with Database Mirroring

Transactional Replication  High performance – latency measured in seconds  Minimal load on the server  Cost effective as no specialist hardware is required  Straightforward setup and administration  Can be implemented at database or table level  Two types  Standard transactional replication  Easy to design, setup & manage  Subscriber (standby) can be used for reporting  Peer-to-peer transactional replication  Multi-master model; schema is identical on all sites  Supports distributed applications with data partitioning; enables load balancing  Does not handle conflicts; design to avoid/prevent conflicts

Transactional Replication Replication Options New Jersey Transactional Replication Reporting + Redundancy Peer-to-Peer Replication Query Scale Out + Redundancy New York Boston SeattleTokyo Shanghai London

Distribution Agent Dist DB Logreader Agent Distribution Agent Dist DB Logreader Agent Distribution Agent Dist DB Logreader Agent “West” “East” “South” Peer-To-Peer Transactional Replication How does it work?

Peer-To-Peer Transactional Replication SQL Server 2008 Enhancements  Configure replication easily with the new graphical topology viewer  Add new nodes without taking replication offline  Protect against accidental conflicts with SQL Server 2008 conflict detection

Log Shipping  Provides database redundancy  Cost effective as no specialist hardware is required  Straightforward setup and administration  Running read operations such as reports on secondary server is permitted  Users are disconnected when log restore occurs  Can maintain multiple secondary servers  Optional Monitor server  Records history and status of backup/restore jobs  May be setup to raise alerts when jobs fail

Backup  Permanent copy of data  Online restore  Perform a restore operation while an instance of SQL Server is running  Backup compression in SQL Server 2008  Reduce volume by up to 50%  Allows reduced latency and faster restore  Applied per instance and per backup  Cost effective - no specialist hardware is required  Straightforward setup and administration

Backup Backup Media Mirroring  Protection against lost or damaged backup media  All backup types can be mirrored (database, log, etc.)  Each device must be the same type  All devices must be present during Backup, but only one backup set is required for Restore

Microsoft Clustering  Server hardware redundancy  Using a shared disk subsystem  Entire instance virtualized and fails over as a unit  Can include non-SQL Server resources  SQL Server 2008 no longer requires a drive letter for each instance  Clustering can be combined with Database Mirroring, Log Shipping, or Replication  Geographically Dispersed Failover Clustering provides protection even if the disk array fails

Microsoft Clustering SQL Server Editions Standard Edition Enterprise Edition 2-node clusters only As many nodes as the operating system supports

Windows Server 2008 Clustering Support for 16 node clusters Nodes can reside on different subnets Support for OR dependencies E.g. Network Name resource is available if either of two IP Address resources is available Cluster Validation tool Verifies adequate hardware resources for clustering

 Provides a read-only, consistent copy of database  Snapshot remains unchanged while database is modified  Protects against user error and data corruption  Very fast to create  Preserves disk space  “Copy-on-Write” technology  Can be created for any database  Cost effective as no specialist hardware is required  Straightforward setup and administration Database Snapshot Client

Putting it All Together Database Mirroring Logical Recovery Standby Log Shipping with Restore Delay Production Database Replication Clustering  Database Mirroring  Primary disaster site for databases  Log Shipping  Additional disaster sites for databases  Logical Recovery  Replication  Database reporting and read scale out with redundancy  Clustering  Local server redundancy  Always On Storage Partner Solutions  Site storage HA  Highest hardware reliability Warm Standby Hot Standby Database Scale Out For Queries Backup

SQL Server High Availability Licensing License only active servers Passive servers do not require a license If a failover occurs a license is not required for 30 days Most cost effective high availability model amongst leading database vendors

Agenda  Increasing Availability  Decreasing Downtime  Improving Manageability

Enhanced Restore Operations Access restored data even when the rest of the database is not yet available Online Restore Recover the database in stages – bring critical filegroups online first, then restore remaining filegroups Piecemeal Restore Restore individual pages from a backup to resolve page corruption issues quickly Page-Level Restore

Fast Recovery During Restart or Restore  SQL Server 2000  Database is available after Undo completes  SQL Server 2008  Database is available when Undo begins UndoRedo DB is Available Time UndoRedo DB is Available

Online Index Operations  Create, Rebuild, and Drop indexes online CREATE CLUSTERED INDEX idx_Prd ON Products WITH (ONLINE = ON) CREATE CLUSTERED INDEX idx_Prd ON Products WITH (ONLINE = ON) Source (Existing Products table) Target (new index) SELECT INSERT UPDATE DELETE Scan Sort/Merge Bulk Insert Idx_Prd

Partial Database Availability  Database remains partially available when secondary files are damaged Primary Filegroup Additional Data Filegroups

Locking and Concurrency READ_COMMITTED_SNAPSHOT isolation level ALLOW_SNAPSHOT_ISOLATION database option Row versioning support Read operations retrieve a consistent snapshot of the database. SELECT statements do not lock data during a read operation (readers do not block writers, and vice versa) SELECT statements can access the last committed value of the row, while other transactions are updating the row without getting blocked The number of deadlocks is reduced The number of locks required by a transaction is reduced, which reduces the system overhead required to manage locks Fewer lock escalations take place Benefits of row versioning Optimized lock escalation for partitioned tables and indexes Enhanced locking in SQL Server 2008

Dynamic Configuration Hot-Add Memory Hot-Add CPU Add hardware resources without taking the database server offline

Agenda  Increasing Availability  Decreasing Downtime  Improving Manageability

Table and Index Partitioning  Partition tables and indexes across multiple physical files  Reduce the impact of IO intensive operations  Manage backup and archival based on partitions  Control lock escalation at the partition level to increase concurrency

Dedicated Administrator Connection Available when other connections are not possible Use to troubleshoot or shut down cleanly Only available from clients running on the server by default Special diagnostic connection for administrators

Resource Governor SQL Server Admin Workload Backup Admin Tasks Report WorkloadOLTP Workload OLTP Activity Executive Reports Ad-hoc Reports High Min Memory 10% Max Memory 20% Max CPU 20% Admin Pool Max CPU 90% Application Pool  Ability to differentiate workloads  e.g. app_name, login, etc.  Per-request limits  Max memory %  Max CPU time  Grant timeout  Max Requests  Resource monitoring

© 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.