Module 14: Scalability and High Availability



Similar documents
Appendix A Core Concepts in SQL Server High Availability and Replication

SQL Server AlwaysOn (HADRON)

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

SQL Server Training Course Content

Microsoft SQL Server 2012 Administration

SQL Server for Database Administrators Course Syllabus

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

Contents. SnapComms Data Protection Recommendations

MS SQL Server 2014 New Features and Database Administration

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills Course 6317A: Three days; Instructor-Led

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation

Course Outline: Course 6317: Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills

6231A - Maintaining a Microsoft SQL Server 2008 Database

Microsoft SQL Database Administrator Certification

Oracle Database 10g: Backup and Recovery 1-2

Disaster Recovery for Oracle Database

Maintaining a Microsoft SQL Server 2008 Database

Microsoft SQL Server 2008 R2 Enterprise Edition and Microsoft SharePoint Server 2010

ORACLE DATABASE 10G ENTERPRISE EDITION

Real World Enterprise SQL Server Replication Implementations. Presented by Kun Lee

The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant

Online Transaction Processing in SQL Server 2008

<Insert Picture Here> Oracle In-Memory Database Cache Overview

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

Cass Walker TLG Learning

Course Syllabus. At Course Completion

High Availability Databases based on Oracle 10g RAC on Linux

ScaleArc for SQL Server

High Availability and Disaster Recovery for Exchange Servers Through a Mailbox Replication Approach

High Availability Solutions for the MariaDB and MySQL Database

Implementing a Microsoft SQL Server 2005 Database

Oracle Database Backup & Recovery, Flashback* Whatever, & Data Guard

High Availability Database Solutions. for PostgreSQL & Postgres Plus

Oracle Backup & Recovery

Oracle Maximum Availability Architecture with Exadata Database Machine. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

Maximum Availability Architecture

How To Manage A Database Server 2012

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

Virtual Infrastructure Security

Oracle Database 11g: New Features for Administrators

Mind Q Systems Private Limited

Real-time Data Replication

An Oracle White Paper November Technical Comparison of Oracle Database 12c vs. Microsoft SQL Server Focus on High Availability

Oracle Database 11g: New Features for Administrators DBA Release 2

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

Dell High Availability and Disaster Recovery Solutions Using Microsoft SQL Server 2012 AlwaysOn Availability Groups

Oracle9i Database Release 2 Product Family

Administering a Microsoft SQL Server 2000 Database

Oracle 11g Database Administration

SQL Server Database Administrator s Guide

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

ORACLE INSTANCE ARCHITECTURE

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

DISASTER RECOVERY STRATEGIES FOR ORACLE ON EMC STORAGE CUSTOMERS Oracle Data Guard and EMC RecoverPoint Comparison

Oracle Database 11g: Administration And Backup & Recover

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.)

SQL Server 2012/2014 AlwaysOn Availability Group

Windows Server 2008 R2 Hyper-V Server and Windows Server 8 Beta Hyper-V

Active/Active DB2 Clusters for HA and Scalability

Comparing Microsoft SQL Server 2005 Replication and DataXtend Remote Edition for Mobile and Distributed Applications

ORACLE DATABASE 12c FOR SAP: ROADMAP, BASE CERTIFICATION FEATURES AND OPTIONS

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region

Computer Visions Course Outline

High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD WEB: TEL:

Availability Digest. Payment Authorization A Journey from DR to Active/Active December, 2007

Oracle Database 11g: Administration Workshop II DBA Release 2

Microsoft SQL Server 2008 Administrator's Pocket Consultant

SQL Server Enterprise Edition

Administering a Microsoft SQL Server 2000 Database

Designing Database Solutions for Microsoft SQL Server 2012

Configuring Backup Settings Configuring and Managing Persistent Settings for RMAN Configuring Autobackup of Control File Backup optimization

Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL

VERITAS Storage Foundation 4.3 for Windows

RPO represents the data differential between the source cluster and the replicas.

Oracle Database 11g: Administration Workshop II DBA Release 2

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

Oracle 11g New Features - OCP Upgrade Exam

SQL Server 2008 Performance and Scale

Eliminate SQL Server Downtime Even for maintenance

Mission-Critical Availability

50238: Introduction to SQL Server 2008 Administration

SQL Server 2005 Features Comparison

Tier Architectures. Kathleen Durant CS 3200

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

WHAT S NEW WITH EMC NETWORKER

Availability Digest. MySQL Clusters Go Active/Active. December 2006

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

ORACLE CORE DBA ONLINE TRAINING

MS-40074: Microsoft SQL Server 2014 for Oracle DBAs

Oracle Database 11g: Administration Workshop II Release 2

Using Microsoft SQL Server with Dell EqualLogic PS Series Arrays

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: Run Time: 47+ hours (272 videos)

Transcription:

Module 14: Scalability and High Availability

Overview Key high availability features available in Oracle and SQL Server Key scalability features available in Oracle and SQL Server

High Availability High availability ensuring database and data are accessible for the maximum amount of time Initialization parameters or configuration options in Oracle and SQL Server Logical (add, remove, rename columns) and physical (rebuild, move, change storage parameters) structure of tables Online index operations SQL Server partitioning option

Clustering Both Oracle and SQL Server offer Active/Passive (single instance) and Active/Active (multi-instance failover clustering) options in clustering. In Oracle, it is called Failsafe and Real Application Clusters (RAC); SQL Server refers to it as Failover Clustering For Active/Passive clustering, Failsafe and Failover clustering are both based on Microsoft Cluster Services (MSCS) containing a single set of non-shared disks For Active/Active clustering, Failsafe and Failover clustering utilize a multi-node configuration where each node has its own instance connecting to shared disks. However, the database can be opened by only one node at a time Oracle s RAC can also provide Active/Active clustering in a sharedeverything architecture where multiple instances can simultaneously access data from the same database

Standby Database Both offer standby database which can be used for availability and disaster recovery In Oracle, Data Guard In SQL Server, AlwaysOn, Database Mirroring, and Log Shipping Standby databases are updated using archive logs in Oracle and transaction logs in SQL Server Shipping of logs to a standby server and their application can be controlled to provide scope for recovery from user errors in the primary Snapshots of mirrored database in SQL Server and logical standby database in Oracle can be used for readonly purposes such as reporting, analysis, DSS

Database Mirroring Software solution for increasing the availability of a specific database Consists of principal server, a mirror server, and optionally a witness server Witness server enables automatic failover Can operate in either Synchronous or Asynchronous mode Use views such as sys.database_mirroring, sys.dm_db_mirroring_connections to monitor database mirroring

Demonstration: Database Mirroring In this demonstration you will learn to: Prepare Database on Instances Configure Database Mirroring Execute Failovers Between Instances Utilize the Mirror for Read-Only Processing with Database Snapshots Monitor Activity Between Instances

SQL Server 2012 AlwaysOn NEW high availability and disaster recovery solution Achieving required 9 s Availability Groups on multiple databases Multi-subnet clustering support Hardware utilization and performance Active secondaries (reporting, backup) Reduced planned downtime Windows Server Core support Rolling upgrade support

SQL Server 2012 AlwaysOn Details Failover Cluster Instances: Flexible failover policy for cluster health detection Indirect checkpoints Availability Groups: Asynchronous or synchronous modes Listeners for fast application failover Flexible failover policy Automatic page repair against page corruption Encryption and compression for security and high performance transport

SQL Server 2012 AlwaysOn Tools T-SQL DDL statements Wizards New Availability Group Add database to Availability Group Add replica to Availability Group Failover Availability Group AlwaysOn Dashboard for Availability Group health view Object Explorer Details for Availability Group info PowerShell cmdlets for automation

Demonstration: AlwaysOn In this demonstration you will learn to: Implement AlwaysOn Availability Groups

Replication Objects Replication is a specialization of the distributed database concept where copies of an object can be kept in multiple databases Unlike clustering and standby databases, replication encourages sharing and distribution of individual objects rather than entire databases Both Oracle and SQL Server provide multiple types of replication based on whether the replicas are read-only or updatable Replicas are refreshed in full or updated using discrete transactions either synchronously (multi-master) or asynchronously (all others) Oracle Streams offers replication in three forms: Multi-master replication multiple peer-to-peer updatable replicas Materialized views each replica has a master site with various policies on updating the replicas Hybrids of replication and materialized views

Replication Types SQL Server offers the following types of replication: Snapshot replication used mostly as read-only copies which are completely refreshed periodically Transactional replication kept up-to-date with immediate or deferred updates from the master site. Copies are used mostly as read-only and occasionally updated. Updatable subscribers (immediate and queued), and peer-to-peer transactional replication support updates at subscribers. Merge replication similar to Oracle s multi-master replication where the autonomous sites are synchronized at regular intervals Oracle and SQL Server offer sophisticated algorithms for conflict resolution among updatable replicas

Demonstration: Replication In this demonstration you will learn to: Define the Roles of Replication Define the Publication and Articles Implement Peer-to-Peer Replication Use the new Configure Peer-to-Peer Topology Tool

Scalability Scalability is the ability to support very large databases (VLDB) and/or large volume OLTP Memory areas in Oracle and SQL Server are dynamically resized without restarting. The process is performed either automatically or by the DBA in Oracle, where it is automatically performed by the DBMS in SQL Server. Oracle uses parallel query slaves and SQL Server uses worker threads to provide interoperation and intra-operation parallelism in the execution of DML and DDL. Both optimizers are parallel-aware. Oracle and SQL Server scale well in the handling of user connections through the use of shared server processes Oracle and SQL Server offer many types and features for speedy access to large volumes of data. Examples are many types of indexes, advanced I/O techniques and caching. SQL Server supports NUMA and Hot Add CPU

Scalability and HA in Backup and Recovery MTTR targets can be set for instance recovery by controlling the checkpoint process in Oracle using FAST_START MTTR_TARGET and in SQL Server using recovery interval option The RMAN features available in SQL Server backup and restore utilities are: Parallelism in backup and recovery operations Incremental backups Multiple granularities in backup and restore to reduce the amount of recovery needed Point in time recovery Choice of backup media and devices Duplicating or cloning databases Moving of data in logical units of tablespaces using transportable tablespaces across multiple platforms in Oracle is found in SQL Server through the attach and detach features for databases

Service Broker and Advanced Queuing Service Broker provides messages, queues and services to provide loosely coupled, asynchronous applications for better scalability and improved performance SB provides the infrastructure for reliable and secure message routing, Conversations, Queues, Services and Activation Oracle has Oracle Streams Advanced Queuing (AQ) Within an Oracle Streams AQ, producers enqueue a message, and consumer applications dequeue messages Messages may undergo transformations during enqueue/dequeue

Review We defined high availability and the role it plays in modern day businesses We covered all the important high availability features in Oracle and SQL Server. The major ones being failover clustering, standby databases and replication. We learned the meaning of scalability with respect to VLDB and OLTP environments We examined several scalability features found in Oracle and SQL Server such as dynamic memory management, parallel SQL, query rewrite