Professional Documents
Culture Documents
Geodatabase Replication
SCAUG Conference
Austin, Texas
April 1, 2009
Presentation Outline
What is replication?
City of New Braunfels Use Case
Replication Demo
Lessons Learned
Q&A
Multi
Multi
l usertoSingleUser
l
Enterprise
Personal
Geodatabase,
FileGeodatabaseor
Personal ArcSDE
PersonalArcSDE
Personal
MultiusertoMulti
Multi
usertoMultiuser
Enterprise
Enterprise
ChildReplica_A
Ch k t /
Checkout/
Checkin
Parent
Child
OnceOnly
Twowayy
Parent
Oneway
Parent
Child
MultipleTimes
Child
MultipleTimes
Check--out / Check
Check
Check--in Replication
Called Disconnected Editing in ArcGIS 8.3 to 9.1
Child replica can be hosted in a Personal Geodatabase,
Fil Geodatabase
File
G d t b
or ArcSDE
A SDE Geodatabase
G d t b
(only
( l
ArcSDE can host the Parent)
PersonalGDB
Enterprise
Geodatabase
PersonalSDE
FileGDB
One--way Replication
One
Child replica is considered readread-only
Child data may be overwritten
Enterprise
i
Geodatabase
ArcIMS
ArcGISServer
Readonly
y
Geodatabase
Two--way Replication
Two
Enterprise
Geodatabase
Enterprise
Enterprise
Geodatabase
PersonalSDE
PersonalSDE
ESRI SCAUG 2009
10
11
Replica Synchronization
Transfer
12
Replica Synchronization
Connected Synchronization
Message exchange is automatic
Disconnected Synchronization
y
Message exchange is performed by the end user
Operations are performed by export, file transfer and import
Example: to synchronize, export changes to a delta XML file, transfer the file
(ftp, CD through the mail, etc.), have the file imported on the relative replica
when it arrives
13
14
Requirements
Patience
15
Business Case
Enterprise License Agreement
ArcInfo desktop
p clients
ArcSDE & ArcGIS Server Advanced to publish Web ADF site
Serving 35,000+ map requests monthly
17
18
OLD PROCESS
19
20
New Process
21
Production Environment
New Braunfels
ArcGIS Server 9.3 SP1
Geodata service
Firewall
ArcSDE 9.3 SP1 on MS SQL Server 2005
22
Initialization
Bexar Metro 911 Network District
Migrate from PGDB to ArcSDE
Register
g
as versioned
Generate GlobalIDs
Export ArcSDE Feature Dataset using
XML Workspace
Import
I
t XML Workspace
W k
to
t
ArcSDE
Register as versioned
Set security privileges
Create a QA/QC version
Create and publish geodata
service
Create replica to XML
message
23
Result
The City of New Braunfels desired a process for the
update of street centerline and street name changes
which:
provided a direct import of data (no more conversion)
allowed for uninterrupted map and database services
took full advantage of the Citys existing GIS investments
reduced network traffic
maintained a consistent data structure
could be automatically scheduled
reduce data management workload
Formerly
F
l a monthly,
thl manuall update
d t process which
hi h
took 22-3 hours and interruption of all services
yp
process taking
g ~15 minutes,, even
Now,, a weekly
manually, and no interruption of services
ESRI SCAUG 2009
24
Replication
Demo
Transfer
26
28
Schedule Synchronizations
You can use geoprocessing models exported to Python or VB
script and the Windows Scheduler
Consider synchronization order
29
Lessons Learned
31
Lessons Learned
32
Lessons Learned
33
Resources
Introduction to Geodatabase Replication
(free online seminar):
http://training.esri.com/acb2000/showdetl.cfm?DID=6&Product_ID=867
TCP/IP Tuning:
http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=35971
34
Questions?
Thank you!!
ESRI SCAUG 2009
35
ArcObjects
RDBMS/Storage
RDBMS/S
Replication
RDBMS
Purpose: HA (High
Availability) Data Distribution
Availability),
One-way only
Full Geodatabase
OS/Storage
ESRI SCAUG 2009
38
39
40
41
Default
RV
Parent
replica
version
Child
replica
version
Check
Check--out replicas
Parent and child replica versions
are named versions
Default
V2
ArcSDEGDB
42
Change
Drop
Field
Y ((domains))
Domain
Table/FC
Y ((Domain, Add/drop
field)
Geometric network
Topology
Feature dataset
Relationship class
Y (add/drop field,
domain)
43
44