Professional Documents
Culture Documents
Tim Clark
Session Path
What is the Geodatabase? The Geodatabase Management Approach Different types of Geodatabase What is an ArcSDE Geodatabase and what are its benefits?
A transactional model for managing GIS workflows Set of COM components for accessing data
Base relational model Base short transaction model Relational integrity Reliability, Flexibility, Scalability
Rich set of editing tools Maintain spatial and attribute integrity Undo and redo edits Multiple users editing the same data
Storage format
Microsoft Access 2 GB
DBMS
Storage capacity
Depends on edition Depends on edition Multiple editors & readers Replication (all types) & versioning
Windows
ArcGIS and Desktop Engine* Max 3 users, 1 editor at any one time
Max 10 clients at one time No limit to the number of connections SQL Server Express 2005
Oracle,SQL Server, DB2, Informix, PostGreSQL No limits ArcGIS Desktop (ArcCatalog), ArcSDE Commands, DBMS admin software,
Max database size 4 Gig 1 GB RAM on a single cpu ArcGIS Desktop (ArcCatalog)
Max database size 4 Gig 1 GB RAM on a single cpu ArcGIS Desktop (ArcCatalog)
Scale from small, personal systems up to workgroups and very large enterprises
Geodatabase
ArcSDE
DBMS
ArcSDE Geodatabase
Operating system
AppServer
Geodatabase Geodatabase
9.1
9.2
9.3
ArcSDE Geodatabases
Session Path
Technology that allows multiple users to edit and view data at the same time
-
Appears to users as if they have their own copy of a table Does not apply locks or duplicate data
Default
Analyst
Readers
Editors
What is a Version?
An alternative view of the geodatabase that has:
an owner a description a permission a parent version
Versions are not affected by changes occurring in other versions of the database
Parks
What is a Version?
An alternative view of the geodatabase that has:
an owner a description a permission a parent version
Versions are not affected by changes occurring in other versions of the database
Parks
Multiple Editors Accessing Data Need Different Views of the Data Editing Complex Data (e.g. Geometric Networks) Replication and Archiving
Isolate work across multiple sessions Public Edits do not impact others
Analyst
Public
Flood
Workflow management
-
Farmland
Residential
Session Path
Versioned Editing
-
Editing Geodatabases
Short Transactions
-
Long Transactions
-
Multiuser editing without locking or data duplication Editors work with unique isolated view of the geodatabase
Versioned Editing
Editing done through a version Support concurrent editing with long transactions (hours/days). Undo/redo editing experience. No locking or data extraction required.
Default
Design
Work Order
Readers
Editor 1
Editor 2
Adding Features
-
Record added to the Adds Table Version will be referenced (SDE_State_ID Field)
Deleting Features
-
Updating Features
-
Record added to both Adds and Deletes table Version will be referenced (SDE_State_ID Field)
ArcGIS
Base Tables Adds Tables
Deletes Tables
How can versions be merged? Through a process called reconcile and post
Reconcile pulls any changes from the target version into the edit version
Because of this we must make sure data is not overwritten We do this through conflict detection during a reconcile
A feature will be in conflict any time it has changed on both versions Conflict Resolution Dialog
Improves the conflict management experience for: - large polygon and polyline features
Edit Version Merge Target Version
Edit Version
Posting versions merges any changes in the edit version into the target version
-
What is it?
-
Versioned editing with the ability to move changes made in the Default version into the base tables Changes made in non-Default versions are still stored in the delta tables
Need to integrate with 3rd party applications Use of database constraints when editing DEFAULT version
Default
ArcGIS Editing
Analyst
Non-Versioned Editing
Uses a database transaction (short transaction) Suggested for Non-ESRI client interaction Database integrity rules No Topology, Geometric Networksetc
Editors
Readers
SQL Editing
SQL can be used to update data directly Geometry editing possible through spatial types What is a spatial type?
-
Versioned Editing (Long Transactions) Non-Versioned Editing (Short Transactions) Editing through SQL (Short Transactions)
Short vs Long Transactions Is data being accessed by non-ESRI applications? Are many editors editing the same data?
Session Path
Editing Archiving
-
Distributed Geodatabase
Extends versioning
-
This creates an archive table in the geodatabase Size of archive table depends on size of class being archived F T Base Table
Enable Archiving
Archive Table
Archive table is used to satisfy historical queries Can navigate through history in two ways
-
Session Path
Geodatabase Replication
Distribute data across 2 or more Geodatabases Geodatabases are edited independently and synchronized when needed
Office
Office
Office
Office
Office
Office
Central Office
Central Office
Regional Office
Regional Office
Regional Office
Local Office
Local Office
Local Office
Local Office
Editors
Readers
ArcGIS Server
Production Geodatabase
ETL
Publication Geodatabase
Parent Replica_A
Source
Child Replica_A
Target
Types of Replicas
Check out/ Check in edits
Parent geodatabase
Child geodatabase
Once only
edits One-way
Parent geodatabase
OR
Child geodatabase
Multiple times
edits Two-way
Parent geodatabase
Multiple times
Child geodatabase
Types of Replicas
Source must always be an ArcSDE geodatabase Target can be an ArcSDE geodatabase for all types Target can also be file or personal geodatabase
-
1 way replicas check-out / check in replicas 1 way child to parent replication Use archiving to track changes
Replication - Concepts
Connected and Disconnected environment Desktop commands, GP Tools and SDK provided Synchronization is:
-
Based on exchanging messages fault tolerant Subset of schema changes are supported
LAN - connects to local geodatabases WAN connects to remote geodatabases (geodata services on ArcGIS server) All replication workflows supported in both environments
Replication Demo