• Aucun résultat trouvé

Module 9: SQL Server 2005 Replication

N/A
N/A
Protected

Academic year: 2022

Partager "Module 9: SQL Server 2005 Replication"

Copied!
18
0
0

Texte intégral

(1)

Module 9:

SQL Server 2005

Replication

(2)

Overview

Overview of Replication Enhancements New Types of Replication

Configuring Replication

(3)

Lesson: Overview of Replication Enhancements

User Interface Enhancements Replication Management

Performance and Scalability Replication Monitor

Other Enhancements

(4)

User Interface Enhancements

Replication wizards

40% fewer pages

Improved default values and auto- detection

Less branching

New Subscription Wizard

Replaces the Push Subscription Wizard and Pull Subscription Wizard

Allows you to define multiple subscriptions with different properties at the same time

(5)

Replication Management

Initializing a subscriber

Backup and restore

Copying a database

Dynamic snapshots

Resuming snapshot transfers Replicating DDL statements

Allowing anonymous subscriptions for all publications

(6)

Performance and Scalability

Precomputed partitions Updates to unique keys

Transactional parallelism —

independent agent option used by default

Download only articles — to reduce change tracking metadata

Reduced contention on reporting subscribers

Use snapshot isolation level

Use snapshots

(7)

Replication Monitor

Independent from SQL Server Management Studio

Passive monitoring

Define acceptable performance figures Minimize monitoring impact

Merge replication

Article level statistics

Upload and download statistics

Transactional replication — real-time monitoring with tracer tokens

(8)

Other Enhancements

Merge replication concurrency

enhancements — guaranteed delivery of logical records

Programming changes — release of RMO

Replication of more types of objects

.NET UDTs

Assemblies

(9)

Lesson: New Types of Replication

Heterogeneous Replication

Peer-to-Peer Transactional Replication HTTP Replication

(10)

Heterogeneous Replication

Use Oracle v8 and later databases as the publisher in a replication system

Snapshot replication — no impact on Oracle database

Transactional replication

Triggers and tracking tables added to Oracle database

Log Reader Agent transfers changes to SQL Server Distributor and Distribution Agent transfers

changes to subscribers

Potential issues because of:

Differences between SQL Server and Oracle

Use of Oracle tools

(11)

Reader Log Agent Distribution

Agent

New York

Peer-to-Peer Transactional Replication

Reader Log Agent Distribution

Agent

Sydney

Reader Log Agent Distribution

Agent

London

Reader Log Agent Distribution

Agent

New York

(12)

HTTP Replication

Subscriber Firewall IIS Publisher

https://Repl.AdventureWorks.com

XML over HTTP/HTTPS Binary over TCP/IP

(13)

Lesson: Configuring Replication

How to Configure Replication Using SQL Server Management Studio

How to Configure Replication Using RMO

(14)

How to Configure Replication Using SQL Server Management Studio

Creating a publication — New Publication Wizard

Creating a subscription — New Subscription Wizard

Synchronizing a subscription

(15)

Practice: Creating a Publication Using SQL Server Management Studio

In this practice, you will see how to:

Start the New Publication Wizard

Configure a publication

(16)

How to Configure Replication Using RMO

Imports Microsoft.SqlServer.Management.Common Imports Microsoft.SqlServer.Replication

Imports Microsoft.SqlServer.Management.Common Imports Microsoft.SqlServer.ReplicationDim subCon As ServerConnection

subCon = New ServerConnection("MySubscriber") subCon.Connect()

Dim subCon As ServerConnection

subCon = New ServerConnection("MySubscriber") subCon.Connect()

11

33 44 22

Reference the SMO and RMO libraries

Microsoft.SqlServer.ConnectionInfo

Microsoft.SqlServer.Replication Import the SMO and RMO

namespaces

Connect to the replications server(s) Perform replication tasks

Create publications

Create subscriptions

(17)

Practice: Creating a Subscription Using RMO

In this practice, you will see how to create a subscription using RMO

(18)

Course Evaluation

Références

Documents relatifs

…the data can then be retrieved using any of the above error message techniques, or by a 'union' select, combining the data in the text file with the data that is normally returned by

What you need to know is that if you alter or build an index on a table that has data in it, and you don’t let SQL Server update the statistics on the table, then SQL Server could

Using Unsuitable Columns If a column isn’t used by a query to locate a row within a table, then there is a good chance that the column does not need to be indexed, unless it is

This is a SQL Server–generated name for a primary key on the Employees table of the Accounting database, which we will create later in the chapter — the PK is for primary key (which

T his book provides a critical examination of all of the major new functionality in SQL Server 2005, covering such diverse topics as CLR integration, the new management tools,

Microsoft SQL Server Microsoft SQL Server Administration for SAP Administration for SAP SQL Server Architecture SQL Server Architecture...

Windows Server 2003 Enterprise Edition or Windows Server 2003 Datacenter Edition.  Windows Clustering is installed

SQL Server 2005 ofrece una plataforma de datos más confiable, segura y SQL Server 2005 ofrece una plataforma de datos más confiable, segura y productiva para aplicaciones de unidad