Top Banner
Moving from a single user database to multi-user ArcSDE and the Geodatabase Moving from a single user database to multi-user ArcSDE and the Geodatabase (Session 1) (Session 1)
41

(Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Aug 05, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Moving from a single userdatabase to multi-user

ArcSDE and theGeodatabase

Moving from a single userdatabase to multi-user

ArcSDE and theGeodatabase

(Session 1)(Session 1)

Page 2: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Presenter: Lance ShipmanProduct Specialist/Programmer

on the ArcSDE and GeodatabaseTeam

Presenter: Lance ShipmanProduct Specialist/Programmer

on the ArcSDE and GeodatabaseTeam

Page 3: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

What will we cover in thissession

What will we cover in thissession

• Why should you migrate to multi-UserArcSDE?

• The process of migrating a single userdatabase to multi user ArcSDE and thegeodatabase

• Migration Issues

• Why should you migrate to multi-UserArcSDE?

• The process of migrating a single userdatabase to multi user ArcSDE and thegeodatabase

• Migration Issues

Page 4: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

What will we not cover in thissession

What will we not cover in thissession

– Migrating multi user databases to theArcSDE and the geodatabase

• ArcStorm• ArcSDE for Coverages• ArcInfo Librarian

– Migrating multi user databases to theArcSDE and the geodatabase

•• ArcStormArcStorm•• ArcSDE for CoveragesArcSDE for Coverages•• ArcInfo LibrarianArcInfo Librarian

Page 5: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

• What's a single user database?– ArcInfo Coverages– ESRI Shapefiles– Personal Geodatabase

• What's a multi user database?– ArcSDE

• Single user vs. Multi-user

• What's a single user database?– ArcInfo Coverages– ESRI Shapefiles– Personal Geodatabase

• What's a multi user database?– ArcSDE

• Single user vs. Multi-user

IntroductionIntroduction

Page 6: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

New TerminologyNew Terminology

Page 7: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

The geodatabaseThe geodatabase

• A new geographic data model• Stored in an RDBMS• Features with behavior• Topological relationships

• A new geographic data model• Stored in an RDBMS• Features with behavior• Topological relationships

Page 8: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

What is an object class?What is an object class?

• Stores objects and their properties• Spatial (parcels) and non-spatial (parcel

owners)• All objects in a class have the same:

– Properties - stored in the table as attributes– Behavior - implemented as a COM class

• Stores objects and their properties• Spatial (parcels) and non-spatial (parcel

owners)• All objects in a class have the same:

– Properties - stored in the table as attributes– Behavior - implemented as a COM class

Page 9: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Object classesObject classes

• Non-spatial objects arestored in tables

• Spatial objects arestored in feature classes

• Non-spatial objects arestored in tables

• Spatial objects arestored in feature classes

Page 10: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Feature classesFeature classes

• Object classes which store spatialobjects (features)

• Store spatial objects with the same:– Properties - stored in the table as attributes– Behavior - implemented as a COM class

• Object classes which store spatialobjects (features)

• Store spatial objects with the same:– Properties - stored in the table as attributes– Behavior - implemented as a COM class

Page 11: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

What is a feature dataset?What is a feature dataset?• Container for feature

classes with the samespatial reference.

• Analogous to a coverage– Less restrictive.

• Can also containrelationship classes andgeometric networks.

• Container for featureclasses with the samespatial reference.

• Analogous to a coverage– Less restrictive.

• Can also containrelationship classes andgeometric networks.

Page 12: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Migrate?Migrate?

Page 13: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Do I have to migrate?Do I have to migrate?

• No– Shape files and coverages can be viewed and

edited.– Read only access to ArcStorm, Arc Librarian and

SDE 3.x.• Yes

– If you want to take full advantage of thegeodatabase and the ArcInfo 8 desktop product

• No– Shape files and coverages can be viewed and

edited.– Read only access to ArcStorm, Arc Librarian and

SDE 3.x.• Yes

– If you want to take full advantage of thegeodatabase and the ArcInfo 8 desktop product

Page 14: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

When to use multi-user ArcSDEWhen to use multi-user ArcSDE

• Multiple Users• Multiple Edit Sessions

– Roll backs– “Personal” or hypothetical copies of the data– Rectification of edits from multiple sources

• Multiple Users• Multiple Edit Sessions

– Roll backs– “Personal” or hypothetical copies of the data– Rectification of edits from multiple sources

Page 15: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

When to use multi-user ArcSDE (2)When to use multi-user ArcSDE (2)

• Your data must be managed and organized• Large amounts of data• System-wide access is required

– From anywhere on the network– NFS is not required

• Access control is critical

• Your data must be managed and organized• Large amounts of data• System-wide access is required

– From anywhere on the network– NFS is not required

• Access control is critical

Page 16: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

When to use multi-user ArcSDE (3)When to use multi-user ArcSDE (3)

• Effective central server support• Better Client Server efficiency• Better performance• Leverage existing Unix server

• Effective central server support• Better Client Server efficiency• Better performance• Leverage existing Unix server

Page 17: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

When to use multi-user ArcSDE (4)When to use multi-user ArcSDE (4)

• Where you already have data stored in a RDBMS• Data Integrity• Where you already have data stored in a RDBMS• Data Integrity

Page 18: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

When not to use multi-user ArcSDEWhen not to use multi-user ArcSDE

• Small databases• Access control is not critical• Only one user• Short term projects

• Small databases• Access control is not critical• Only one user• Short term projects

Page 19: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

The ProcessThe Process

Page 20: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Process outlineProcess outline

• Determine the desired results and behavior• Select the appropriate tool to achieve the desired

results• Preprocess the data as needed• Load

• Determine the desired results and behavior• Select the appropriate tool to achieve the desired

results• Preprocess the data as needed• Load

Page 21: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

DecisionsDecisions

• Before you load your data there are several decisionsthat you will need to make– Will the data be stand alone featureclass or in a

featuredataset?– Spatial Index?– Offset and Scale?– Projection/Coordinate System?– What are the data storage requirements?

• Before you load your data there are several decisionsthat you will need to make– Will the data be stand alone featureclass or in a

featuredataset?– Spatial Index?– Offset and Scale?– Projection/Coordinate System?– What are the data storage requirements?

Page 22: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Stand alone featureclassor featuredataset

Decisions - Stand alone featureclassor featuredataset

• In general you are better off loading you data into afeaturedataset as you gain the full power of thegeodatabase.

• If you have existing SDE data you cannot “move” it toa featuredataset, but can register it as a featureclassand gain all of the ArcInfo 8 object behavior except forparticipation in geometric networks.

• In general you are better off loading you data into afeaturedataset as you gain the full power of thegeodatabase.

• If you have existing SDE data you cannot “move” it toa featuredataset, but can register it as a featureclassand gain all of the ArcInfo 8 object behavior except forparticipation in geometric networks.

Page 23: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Spatial IndexDecisions - Spatial Index

• The efficiency of your spatial index is determined bysetting a grid size.

• The grid size is calculated automatically by theArcCatalog and ArcToolbox by applying a simplealgorithm to the source data.

• The algorithm uses– Average min extent– Average max extent– “squareness”

• The efficiency of your spatial index is determined bysetting a grid size.

• The grid size is calculated automatically by theArcCatalog and ArcToolbox by applying a simplealgorithm to the source data.

• The algorithm uses– Average min extent– Average max extent– “squareness”

Page 24: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Spatial Index (2)Decisions - Spatial Index (2)

• This value is not likely to be optimal.• It is intended to be a reasonable guess and ensure that

the data will load.• You can optimize the grid size later

• This value is not likely to be optimal.• It is intended to be a reasonable guess and ensure that

the data will load.• You can optimize the grid size later

Page 25: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Offset and ScaleDecisions - Offset and Scale

• Offset and scale is calculated automatically by theArcCatalog and ArcToolbox tools based on theenvelope of the source data.

• If you will be adding to the data you may wish to setthe values yourself to account for changes in theextent of the data.

• Offset and scale is calculated automatically by theArcCatalog and ArcToolbox tools based on theenvelope of the source data.

• If you will be adding to the data you may wish to setthe values yourself to account for changes in theextent of the data.

Page 26: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Offset and Scale (2)Decisions - Offset and Scale (2)

• Remember that the offset cannot be changed once it isset.

• In a featuredataset, the offset and scale must be thesame for all featureclasses, so plan accordingly.

• Remember that the offset cannot be changed once it isset.

• In a featuredataset, the offset and scale must be thesame for all featureclasses, so plan accordingly.

Page 27: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Projection/CoordinateSystem

Decisions - Projection/CoordinateSystem

• What projection or coordinate system do you plan onusing?

• MUST be the same for featuredataset.

• What projection or coordinate system do you plan onusing?

• MUST be the same for featuredataset.

Page 28: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

Decisions - Physical Space for DataDecisions - Physical Space for Data

• To optimally load and access data in the RDBMS youwill need to create Keywords in the DBTUNE.SDE.

• The keywords control the size and the characteristicsof the datafiles in the RDBMS.

• To optimally load and access data in the RDBMS youwill need to create Keywords in the DBTUNE.SDE.

• The keywords control the size and the characteristicsof the datafiles in the RDBMS.

Page 29: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

ToolsTools

Page 30: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

ArcToolboxArcToolbox

Page 31: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

ArcCatalogArcCatalog

• For loading data• For loading data

Page 32: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

OtherOther

• ArcInfo Workstation• ArcSDE Command line: shp2sde, cov2sde, tbl2sde,

sde2tbl, sdeimport, sdeexport

• ArcInfo Workstation• ArcSDE Command line: shp2sde, cov2sde, tbl2sde,

sde2tbl, sdeimport, sdeexport

Page 33: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

What about appending tofeatureclasses?

What about appending tofeatureclasses?

• Tools– Simple Data Loader (ArcCatalog)– Object Loader (ArcMap)– Which one to use?

• Offsets– Must be set for all of the data to be loaded in one dataset.

CANNOT be changed once the data is loaded.

• Tools– Simple Data Loader (ArcCatalog)– Object Loader (ArcMap)– Which one to use?

• Offsets– Must be set for all of the data to be loaded in one dataset.

CANNOT be changed once the data is loaded.

Page 34: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

ArcCatalogArcCatalog

• For appending data• For appending data

Page 35: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

ArcMapArcMap

• Appending data• Appending data

Page 36: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

IssuesIssues

Page 37: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

AttributesAttributes

• Reserved words• Duplicate column names• Changing columns

– Names– Length– Deleting

• Type Mapping

• Reserved words• Duplicate column names• Changing columns

– Names– Length– Deleting

• Type Mapping

Page 38: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

ArcInfo Relates and RelationshipsArcInfo Relates and Relationships

• INFO Relates• Relationships• To migrate ArcInfo Workstation relates into to

geodatabase will require that you add a key column tothe related table(s) before you load the tables.

• Joins

• INFO Relates• Relationships• To migrate ArcInfo Workstation relates into to

geodatabase will require that you add a key column tothe related table(s) before you load the tables.

• Joins

Page 39: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

WrapupWrapup

Page 40: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

SessionsSessions

• This session is repeated on Wednesdayat 1:30 p.m. in this room.

• See pg. 74 of the Agenda for relatedsessions.

• This session is repeated on Wednesdayat 1:30 p.m. in this room.

• See pg. 74 of the Agenda for relatedsessions.

Page 41: (Session 1) - Esri Supportdownloads.esri.com/support/documentation/other_/uc1999/tw501.pdf · Single user vs. Multi-user Introduction. New Terminology. The geodatabase • A new geographic

QuestionsQuestions