Sql Server Replication Isug 1 2009
-
Upload
sqlservercoil -
Category
Technology
-
view
519 -
download
3
Transcript of Sql Server Replication Isug 1 2009
פתרונות רפליקציה: חושבים מחוץ לקופסה
ISUG 94מפגש מאיר דודאי[email protected]
מה בתוכנית
פלאפל עופר
אתגרים
הסניפים רוצים להספיק להוציא חשבונית •במהירות בין הכנסת כדורי הפלאפל למנה לבין
מזיגת העמבה לפיתה )ללא תלות בעומס על (.WANה-
אם משה )האחראי על הפיתות( מושך בטעות •את כבל התקשורת למרכז, הסניף צריך להמשיך
לעבוד.עופר הוא קונטרול פריק וחובב מספרים. יש •
לאפשר לעופר להפיק דוחות אגרגטיביים כבדים ובניית קוביות גם במהלך יום העבודה.
הפתרון?
הפתרון?
רפליקציה!
?מהי רפליקציה
?איך זה עובד
Create a full copy
Identify changes on source )Publisher(
Store changes into distribution database
Distribute changes to destination )subscriber(
SQL Serverמאפייני הרפליקציה ב-
שכפול נתונים מהיר בעדכניות של דקות או •שניות
OLTPהשפעה אפסית על מערכת ה-•נטרול השפעות רשת על הפעילות השוטפת של •
האפליקציה Scaleעבודה במקביל על מספר שרתים לצורך •
out•High Availability, ללא עלויות SQL Serverפתרון מובנה ב-•
נוספות!
פלאפל עופר
שימושים לרפליקציה
• High Availability• 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
High Availability
Reporting & 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
• Databases replicate reciprocally and are writable
• Redundancy provides fault tolerance and lowers maintenance downtime
• Online upgrades possible
Mobile CRM / SFACustomer 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
SQL Server
Customized Replication
Logic
SQL Server
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 2005Transactional Replication
Overview of the Replication Types
• Snapshot Replication– Periodic bulk transfer of new snapshots of
data• Transactional Replication
– Replication of incremental changes • Merge Replication
– Autonomous changes to replicated data are later merged
סוגי פתרונות נוספים
• Built in SQL Server– SQL Server Integration Services– Log shipping– Database Mirroring– Backup/Restore
• Other solutions– Hardware/Storage Replication– 3rd Party products
השוואת פתרונות
Replication SQL Server Integration Services(DTS)
Log shipping
Database Mirroring
Backup/ Restore
Down time when failing over
Low High Low Low High
Automatic fail over Optional No No Yes (ENT. edition )
No
Read/Write on transferred database
R/W R/W None None R/W
Latency of synchronization
low High Mediun Low High
Specific objects Yes Yes No No No
סיפור לקוח – כתר פלסטיק
Replication Server
סיפור לקוח – כתר פלסטיק
Replication Server)Microsoft SQL Server(
Oracle Publication
?שאלות
SQL PASS Chapter
העולמיתSQL Serverחיבור לסצנת ה-•אירועים–PASSכנסי –תכנים וקישורים הנשלחים מהארגון לחברים––Networking
היכרות עם גורואים ובלוגרים ברחבי העולם•תמיכה בקבוצת המשתמשים•
SQL PASS Chapter
תוכניות לעתיד: רבעונית של "סלבס"Onlineהרצאה • בישראלMini-PASSכנסי •
תודה