Что такое findslide.org?

FindSlide.org - это сайт презентаций, докладов, шаблонов в формате PowerPoint.


Для правообладателей

Обратная связь

Email: Нажмите что бы посмотреть 

Яндекс.Метрика

Презентация на тему Transactional Replication

Содержание

About meEvgeny KhabarovMoscow, RussiaDBA in a financial company in MoscowAlso work as a independent consultant Developer in pastEmail: sql@dev.msTwitter: @gR4mmBlog: http://sql.dev.ms |
Transactional Replication it’s not scaryEvgeny Khabarov About meEvgeny KhabarovMoscow, RussiaDBA in a financial company in MoscowAlso work as Our sponsors AgendaWhat is replication?When we can use transactional replication? When we must not use it?Replication componentsHow works simplest replication schema What we should to do to begin What is replication?Synchronization mechanismSynchronizes different objectsTablesViewsSPUDFReplication typesTransactionalPeer-To-PeerMergeSnapshot“Articles” What is transactional replication?Tracks changes through transactional logPropagates changes to Subscribers in When we can use transactional replication? DWH & ReportingLoad distribution across databases (retail network)Cross-database foreign keysIDNamePriceDatabase ADatabase BIDIDAID….Table ATable BTable A When we must not use it?HA/DRDoesn’t supports automatic page repairDoesn’t supports load balancingDoesn’t supports failover/failbackData in Replication components (1)PublisherPublished database PublicationArticleDistributorSubscriberSubscriptionPUSHPULL Replication components (2)AgentsSnapshot agentLog reader agentDistributor agent Replication components (3)JobsAgent history clean up:  Distribution clean up:  Expired subscription clean up How works simplest replication schema  DEMOFast replication setup aka “next, next, next, finish” DEMOLet’s break something and see what happens DEMOIncorrect ANSI_PADDING settings Tips & Tricks	Initialize with backupsp_configure, ‘max text repl size (B)’ProfilerSnapshot/Distribution Agent profile Thank you!Email: sql@dev.msTwitter: @gr4mmBlog: http://sql.dev.ms Resourceshttp://www.sqlservercentral.com/stairway/72401/Stairway to SQL Server Replication by Sebastian Meinehttp://www.replicationanswers.com/Script and articles by Paul Ibisonhttp://blogs.msdn.com/b/repltalk/archive/2010/02/07/repltalk-start-here.aspx Microsoft
Слайды презентации

Слайд 2 About me
Evgeny Khabarov
Moscow, Russia
DBA in a financial company

About meEvgeny KhabarovMoscow, RussiaDBA in a financial company in MoscowAlso work

in Moscow
Also work as a independent consultant
Developer in

past







Email: sql@dev.ms
Twitter: @gR4mm
Blog: http://sql.dev.ms

|


Слайд 3 Our sponsors

Our sponsors

Слайд 4 Agenda
What is replication?
When we can use transactional replication? 
When we must not use it?
Replication components
How works simplest replication schema 
What we should

AgendaWhat is replication?When we can use transactional replication? When we must not use it?Replication componentsHow works simplest replication schema What we should to do to

to do to begin use replication or «fast setup of replication» 
Let’s break

something and see what happens
How change replication
Tips & tricks

|


Слайд 5 What is replication?
Synchronization mechanism
Synchronizes different objects
Tables
Views
SP
UDF

Replication types
Transactional
Peer-To-Peer
Merge
Snapshot
“Articles”

What is replication?Synchronization mechanismSynchronizes different objectsTablesViewsSPUDFReplication typesTransactionalPeer-To-PeerMergeSnapshot“Articles”

Слайд 6 What is transactional replication?
Tracks changes through transactional log

Propagates

What is transactional replication?Tracks changes through transactional logPropagates changes to Subscribers

changes to Subscribers in near real time

Transactional consistency within

Publication guaranteed

Publisher and Subscriber might be not-SQL Server database, for example Oracle or DB2

Слайд 7 When we can use transactional replication? 
DWH & Reporting
Load distribution across databases (retail

When we can use transactional replication? DWH & ReportingLoad distribution across databases (retail network)Cross-database foreign keysIDNamePriceDatabase ADatabase BIDIDAID….Table ATable BTable A

network)
Cross-database foreign keys


ID
Name
Price
Database A
Database B
ID
ID
AID
….
Table A
Table B
Table A


Слайд 8 When we must not use it?
HA/DR
Doesn’t supports automatic page repair
Doesn’t supports load

When we must not use it?HA/DRDoesn’t supports automatic page repairDoesn’t supports load balancingDoesn’t supports failover/failbackData

balancing
Doesn’t supports failover/failback
Data in Subscriber database could be changed
Can’t

replicate any table without PK

Слайд 9 Replication components (1)
Publisher
Published database
Publication
Article

Distributor

Subscriber
Subscription
PUSH
PULL

Replication components (1)PublisherPublished database PublicationArticleDistributorSubscriberSubscriptionPUSHPULL

Слайд 10 Replication components (2)
Agents
Snapshot agent
Log reader agent
Distributor agent

Replication components (2)AgentsSnapshot agentLog reader agentDistributor agent

Слайд 11 Replication components (3)
Jobs
Agent history clean up:  
Distribution

Replication components (3)JobsAgent history clean up:  Distribution clean up:  Expired subscription clean

clean up:  
Expired subscription clean up
Reinitialize subscriptions having

data validation failures
Replication agents checkup 
Replication monitoring refresher for

Слайд 12 How works simplest replication schema 

How works simplest replication schema 

Слайд 13 DEMO
Fast replication setup aka “next, next, next, finish”

DEMOFast replication setup aka “next, next, next, finish”

Слайд 14 DEMO
Let’s break something and see what happens

DEMOLet’s break something and see what happens

Слайд 15 DEMO
Incorrect ANSI_PADDING settings

DEMOIncorrect ANSI_PADDING settings

Слайд 16 Tips & Tricks
Initialize with backup
sp_configure, ‘max text repl

Tips & Tricks	Initialize with backupsp_configure, ‘max text repl size (B)’ProfilerSnapshot/Distribution Agent

size (B)’
Profiler
Snapshot/Distribution Agent profile –MaxBCPThread
Don’t use many instances of

Replication Monitor at the same time 




Слайд 17 Thank you!
Email: sql@dev.ms
Twitter: @gr4mm
Blog: http://sql.dev.ms




Thank you!Email: sql@dev.msTwitter: @gr4mmBlog: http://sql.dev.ms

  • Имя файла: transactional-replication.pptx
  • Количество просмотров: 134
  • Количество скачиваний: 0