Distributing Data for Availability and Scalability Don Vilen Program Manager SQL Server Microsoft Corporation.

Slides:



Advertisements
Similar presentations
CRM 3.0 Whats New in Microsoft CRM 3.0 – Technical.
Advertisements

Introduction to Systems Management Server 2003 Tyler S. Farmer Sr. Technology Specialist II Education Solutions Group Microsoft Corporation.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
SQL Server Replication
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Moving data using replication Anthony Brown
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
“Turn you Smart phone into Business phone “
Keith Burns Microsoft UK Mission Critical Database.
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
Virtual techdays INDIA │ November 2010 SQL Azure Data Sync Shilpa Nirmale │ Associate Manager, Accenture.
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
Passage Three Introduction to Microsoft SQL Server 2000.
Query Processing in Mobile Databases
Module 9: SQL Server 2005 Replication. Overview Overview of Replication Enhancements New Types of Replication Configuring Replication.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
SQL Server Replication
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
SQL Server Replication By Karthick P.K Technical Lead, Microsoft SQL Server.
Word Wide Cache Distributed Caching for the Distributed Enterprise.
Gary MacDougall Premjit Singh Managing your Distributed Data.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Overview of SQL Server Alka Arora.
IMS 4212: Distributed Databases 1 Dr. Lawrence West, Management Dept., University of Central Florida Distributed Databases Business needs.
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
DAT201: Introduction To SQL Server ™ Replication Matt Hollingsworth Program Manager Microsoft Corporation.
Module 2: Creating Efficient Replication Solutions.
Module 1: Exploring Replication. Overview Understanding SQL Server Replication Setting Up Replication Understanding Agents in Replication Securing Replication.
Overview – Chapter 11 SQL 710 Overview of Replication
DAT320: Merge Replication in SQL Server 2000: Top 10 How To’s Bren Newman Program Manager Microsoft SQL Server Development.
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
1 Chapter Overview Introducing Replication Planning for Replication Implementing Replication Monitoring and Administering Replication.
Planning Server Deployments Lesson 20. Skills Matrix.
Module 11: Introducing Replication. Overview Introduction to Distributed Data Introduction to SQL Server Replication SQL Server Replication Agents SQL.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
Tips and Tricks for Managing and Administering your Enterprise Project Management Server Solution Mike Joe / Karthik Chermakani Software Test Engineer.
Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
EM401 Overview of MobiLink Synchronization Jim Graham Director of Engineering iAnywhere Solutions
 Replication is the process of copying database information  Replication is used for:  Backing up your database  Migrating to a new server  Mirroring.
SQL Server 2005 Implementation and Maintenance Chapter 12: Achieving High Availability Through Replication.
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
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.
Features Of SQL Server 2000: 1. Internet Integration: SQL Server 2000 works with other products to form a stable and secure data store for internet and.
Ch 12. Replication. Replication Place copies of data to a different location Use: Reduce locking conflict when multiple sites want to work on same set.
Your Data Any Place, Any Time Always On Technologies.
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.
SQL Server Replication HILARY COTTER SQL SERVER MVP
Migrate SQL Server Apps to SQL Azure Cloud DB
Building Enterprise Applications Using Visual Studio®
Data Platform and Analytics Foundational Training
SQL Replication for RCSQL 4.5
Glasgow, SQL Server Meetup
Introduction to transactional replication
Lead SQL BankofAmerica Blog: SQLHarry.com
Introduction to Replication
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Your Data Any Place, Any Time
Cloud Data Replication with SQL Data Sync
DAT381 Team Development with SQL Server 2005
Your Data Any Place, Any Time
Getting Data Where and When You Want it with SQL Server 2005
Microsoft Virtual Academy
Presentation transcript:

Distributing Data for Availability and Scalability Don Vilen Program Manager SQL Server Microsoft Corporation

Agenda  Replication Technology Positioning  SQL Server Replication Customer Scenarios  Upgrade Strategy  Key Improvements in SQL Server 2005 Replication

SQL Server Replication A Spectrum of Solutions MergeReplicationQueuedUpdatingSubscribers Automatic conflict detection & resolution Linked Servers and Microsoft Distributed Transaction Coordinator Transactional Replication Peer-to-Peer ImmediateUpdatingSubscribers Conflicts are avoided through partitioning or two- phase commit Increasing autonomy Increasing consistency

Replication Technologies Server Scenarios  Transactional Replication  Best choice continuously synchronizing databases to support scaling out query workloads  SQL Server Integration Services (was DTS)  Best choice for performing transformations on data during transfer between databases  Database Mirroring  Best choice for providing database high availability  Disk / Device Mirroring  Third-party solutions  Ensure it meets SQL Server I/O Basics requirements

Mobile Synchronization Comparison Merge Replication Offline Datasets Web Services Incremental Changes Conflict detection and resolution Automatically initialize schema and data Supports large datasets Query processor locally available Unique IDs across remote sites Database constraints locally maintained Supports heterogeneous databases Does not affect database schema Deploy application and db together

Agenda  Replication Technology Positioning  SQL Server Replication Customer Scenarios  Upgrade Strategy  Key Improvements in SQL Server 2005 Replication

Customer Scenarios  Offloading reporting and Data Warehousing  Database scale out for websites  Empowering mobile users  Enabling Point of Sale applications  Consolidating and distributing regional data  Integrating heterogeneous data

Reporting and Data Warehousing  Reporting databases are continuously synchronized in near real-time with one or more source OLTP databases  Reporting and Staging user queries are offloaded from the OLTP databases  Reporting data can be a subset of source tables and columns and also indexed differently  Read-only replicas

Database Scale Out  Queries scaled out (often geographically) similar to reporting cases  But databases replicate reciprocally and are writable  Redundancy provides fault tolerance and lowers maintenance downtime  Online upgrades possible London Chicago Tokyo

Mobile CRM / SFA Customer Relationship Management Sales Force Automation  Key Traits  Subset of data from server  Conflicts  Data realignment  Business Logic

Point of Sale  Key Traits  High latency low bandwidth network  Need low cost software and administration  Sync at scheduled times  Upload orders then remove

Regional Replication  Central headquarters data replicated to 1200 stores  Each store also replicates between two databases to provide a backup in case one fails  Database administrators are centralized

Regional Replication  Each ship contains a SQL Server database  When the ship docks, it replicates to the headquarters’ database  Replication was customized to perform additional processing when synchronizing SQL Server CustomizedReplicationLogic Transactional Replication Headquarters

Oracle Replication  SQL Server 2005 Transactional Replication  SQL Server synchronized with Oracle production line system in near real- time  Used to monitor manufacturing  Reporting: Quality control, status, and “what if” queries spread across multiple databases Manufacturing System Oracle10G SQL Server 2005 Transactional Replication

Top SQL Server Customers Transactional Replication  Runs many core trading applications on SQL Server  Replicates data to integrated multiple trading systems  15+ TB data in multiple systems, multiple hospitals  Replicates to meet HA requirements  Leading discount retailer, SQL Server in 1200 stores  Replicates data up and down between stores & HQ [Click logo for case-study]

Agenda  Replication Technology Positioning  SQL Server Replication Customer Scenarios  Upgrade Strategy  Key Improvements in SQL Server 2005 Replication

Upgrade: Replication  SQL Server 2005 Express Edition does not support Merge publishing  SQL Server 2000 MSDE did support it  SQL Server Express requires custom code or Windows Sync Manager to synchronize  If you run agents as DBO, now requires a job_login and job_password to be added to replication scripts

Upgrade: Merge Replication  Snapshot must be executed after setup  Upgrade order  Distributor, publisher, subscriber  Applications must be built on Visual Studio 2005 to use programming APIs  SQL Server 2005 subscribers outperform previous versions

Agenda  Replication Technology Positioning  SQL Server Replication Customer Scenarios  Upgrade Strategy  Key Improvements in SQL Server 2005 Replication

Database Schema Changes  One of the key problems when replicating data is accommodating schema changes without disrupting replication  SQL Server 2005 supports adding, dropping, and altering columns without stopping replication  Alter table alter column ( foo int )  Tables and other supported objects can also be added or dropped

Demo Schema Change (DDL) support

Database Scale-Out Requirements  Maximize website uptime  Database upgrades or failures shouldn’t bring down the application system  Database upgrades should be done without outages  Scale query workloads beyond what’s possible with a single database  Must be possible to add or remove databases without an outage while also maintaining consistency  SQL Server 2005 Peer-to-Peer Replication provides this capability  Workbench wizard allows easy replication setup

Distribution Agent Dist DB Logreader Agent Distribution Agent Dist DB Logreader Agent Distribution Agent Dist DB Logreader Agent LondonChicago Tokyo Peer-to-Peer Topology Transactional Replication

Demo Peer-to-Peer Replication

Replicating Large Databases  The key problem with replicating large databases is initializing the subscriber  This can be time-consuming and requires downtime to ensure consistency of the replicated database  SQL Server 2005 has support for using an existing database backup to perform the initial synchronization  Initialization with a backup  Changes that have occurred on the source system after the backup are tracked and synchronized automatically

Synchronizing Data Over the Web  Key customer drivers  Wireless increasingly pervasive  Virtual Private Network (VPN) too expensive or complicated for organizations -InternetUrlhttps://myserver.mydomain.com Publisher/Distributor Firewall Internet Information Services (IIS) Subscriber Replisapi.dll

Logical Records  Problem  Merge replication tracks changes row by row  An actual order is represented in the Customers, Orders, OrderDetails tables  Disconnection during sync results in incomplete order on server  Solution  Logical records create a logical consistency unit between tables  All three changes are sent or nothing at all

Business Logic  APIs to allow custom programming during the synchronization of changes  Allows developer to take custom actions on different states of data  Publisher insert, update, delete  Subscriber insert, update delete  Business Logic is registered on a per article basis

Merge Performance Comparison

Scalability Comparison

Monitoring Goals  Provide answers to common questions:  Why is the system slow?  How long until it catches up or finishes?  Where are the potential problems?

Monitoring

Oracle Publishing  Designed specifically for Oracle Publishers  v8+ on any operating system  Administered like SQL Server, from SQL Server  No Oracle-side software install necessary  Requires minimal knowledge of Oracle  Leverages existing SQL Server skills  Standard Transactional and Snapshot Publications SQL Server 2005Distributor Subscribers TransactionalReplication ORACLE

Many Other New Features  Transactional tracer token  Merge Article types  Tables, views, stored procedures, user- defined functions, and stored procedure execution  Resumable snapshot  Parallelism and contention improvements  Wizards simplified  Replication Management Objects (RMO) managed replication APIs  Security

Summary  Replication Technology Positioning  SQL Server Replication Customer Scenarios  Upgrade Strategy  Key Improvements in SQL Server 2005 Replication

For More Information  Books Online Replication Section  Merge Replication  White Paper  Oracle  Oracle Publishing Quick Start Whitepaper  SQL Server 2005 Oracle Replication Overview  Peer-to-Peer  Books Online

© 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.