Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.

Slides:



Advertisements
Similar presentations
Database Architectures and the Web
Advertisements

Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
SQL Server Replication
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
Chapter 13 (Web): Distributed Databases
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Oracle Database Administration
Keith Burns Microsoft UK Mission Critical Database.
SQL Server 2005 Database Engine Sommarkollo Microsoft.
Definition of terms Definition of terms Explain business conditions driving distributed databases Explain business conditions driving distributed databases.
EIM April 19, Robin Weaver 13 Years with IBM Prior to Assignment at UNC Charlotte Range of Database Development/Data Management Projects and Products.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
1© Copyright 2012 EMC Corporation. All rights reserved. November 2013 Oracle Continuous Availability – Technical Overview.
National Manager Database Services
Introduction to Oracle Backup and Recovery
ADVANCE REPLICATION Oracle Coretech Surabaya (OCS) One Day Seminar Surabaya, August 30 th 2008.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
SQL Server Replication By Karthick P.K Technical Lead, Microsoft SQL Server.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
High-Availability Methods Lesson 25. Skills Matrix.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Clustering  Types of Clustering. Objectives At the end of this module the student will understand the following tasks and concepts. What clustering is.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
1 Moshe Shadmon ScaleDB Scaling MySQL in the Cloud.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
1 Data Guard. 2 Data Guard Reasons for Deployment  Site Failures  Power failure  Air conditioning failure  Flooding  Fire  Storm damage  Hurricane.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Overview – Chapter 11 SQL 710 Overview of Replication
Publish / Subscribe Database Log Shipping over Bittorent P2P CS 848 Fall 2006 Univeristy of Waterloo Project Presentation by N. T c h e r v e n s k i.
Module 11: Introducing Replication. Overview Introduction to Distributed Data Introduction to SQL Server Replication SQL Server Replication Agents SQL.
Overview of high availability in Microsoft SQL Server Szymon Wójcik.
A Brief Documentation.  Provides basic information about connection, server, and client.
7. Replication & HA Objectives –Understand Replication and HA Contents –Standby server –Failover clustering –Virtual server –Cluster –Replication Practicals.
 Replication is the process of copying database information  Replication is used for:  Backing up your database  Migrating to a new server  Mirroring.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
Alwayson Availability Groups
Oracle Database Architecture By Ayesha Manzer. Automatic Storage Management Spreads database data across all disks Creates and maintains a storage grid.
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
DATABASE REPLICATION DISTRIBUTED DATABASE. O VERVIEW Replication : process of copying and maintaining database object, in multiple database that make.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Oracle9i Performance Tuning Chapter 11 Advanced Tuning Topics.
Your Data Any Place, Any Time Always On Technologies.
Module 11: Configuring and Managing Distributed File System.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
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.
Module 11 Configuring and Managing Distributed File System.
Oracle Clustering and Replication Technologies UK Metadata Workshop - Oxford Barbara Martelli Gianluca Peco.
Oracle Database High Availability
Introduction to transactional replication
Navigating the options for Data Redundancy
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)
Always on HA SQL Server Always ON feature is the new comprehensive high availability and disaster recovery solution which increases application availability.
Oracle Database High Availability
Database Architectures and the Web
Introduction of Week 6 Assignment Discussion
Your Data Any Place, Any Time
AlwaysOn Availability Groups
Microsoft SQL Server 2014 for Oracle DBAs Module 12
04 | Always On High Availability
Designing Database Solutions for SQL Server
Presentation transcript:

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 Indexes 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 shared- everything architecture where multiple instances can simultaneously access data from the same database

Demonstration 1: Clustering In this demonstration we will whiteboard how SQL Server Failover Clustering works

Standby Database Both offer standby database which can be used for availability and disaster recovery In Oracle, Data Guard In SQL Server, 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 read- only purposes such as reporting, analysis, DSS

Demonstration 2: Log Shipping In this demonstration you will learn to: Implement Log Shipping between two systems

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 3: 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

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 4: 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

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 2008 supports NUMA and Hot Add CPU

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 10g 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

Demonstration 5: Service Broker In this demonstration you will learn to: Create Databases to Converse Between Two Instances Create the Conversation Objects Needed to Define a Dialog Apply Routing to Remote Instances Implement Dialog and Send Messages

Sync Services Microsoft Sync Framework: platform to integrate any application data, from any store, using any protocol over any network to support collaboration and offline access Microsoft Sync Framework provides: Metadata Storage Services – Synchronize metadata in SQL Server Compact Edition Sync Services for File System – Synchronize files and folders in a file system Sync Services for FeedSync – Synchronize RSS and Atom feeds with data in a local store Sync Services for ADO.NET supports SQL Server database and other devices and applications

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