geodatabase: best practices - esri · best practices – data ownership grant the fewest...
TRANSCRIPT
![Page 1: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/1.jpg)
Geodatabase: Best PracticesMike Flanagan, Senior Instructor
![Page 2: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/2.jpg)
Agenda
Geodatabase Creation
Data Ownership
Data Model Configuration Geodatabase Behaviors Validation
Extending
Performance
![Page 3: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/3.jpg)
Geodatabase Life Cycle
ManagePrivileges
Load Data
Share Data
Extend
Create
Configure
Consume
Maintain
Geodatabase
![Page 4: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/4.jpg)
Geodatabase: Extending the Database
Database Tables and Native geometry types Short transaction/Security model
Geodatabase Information model, short/long transaction model, metadata tables, and extension*
Benefits Improved data quality Editing efficiency Web model (WebGIS/services) *ArcGIS Pro Software Developer Kit (SDK)
![Page 5: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/5.jpg)
Geodatabase: Transaction Models & Archiving
Transaction models: Single User: 1 editor, many readers at a time Multi-user: Many editors, many readers at a time (versioning and long transactions/high
isolation)
Archiving The mechanism for capturing, managing, and analyzing data change over time Enable archiving in versioned or non-versioned data Enables a time slider in ArcGIS Pro, can view historical moments
![Page 6: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/6.jpg)
Types of geodatabasesOverview
File
Enterprise
File System
RDBMS
Single Editor
Multiple Editor
![Page 7: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/7.jpg)
Geodatabase Creation
Single user geodatabases Create File Geodatabase
Multiuser geodatabases Create Enterprise Geodatabase
All in one (creates database, geodatabase admin account, etc.) Requires access to DBA account
Enable Enterprise Geodatabase No access to DBA account Two steps: DBA sets up database and SDE enables the geodatabase
![Page 8: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/8.jpg)
Best Practice – Geodatabase Creation
For File Geodatabases Use the “Create File Geodatabase” GP tool – supported across the platform
For Enterprise Geodatabases Use the “Create Enterprise Geodatabase” GP tool Fallback to the “Enable Enterprise Geodatabase” GP tool
![Page 9: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/9.jpg)
Enterprise Geodatabase Administration
Geodatabase Administration tasks Geodatabase Creation/Upgrade
Geodatabase configuration tasks Configure Geodatabase Log File Tables Import/Export GDB Configuration Keywords
Database/Geodatabase admin tasks Create Database User/Create Role Rebuild Indexes Analyze Datasets Change Privileges Compress
![Page 10: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/10.jpg)
Data Ownership Considerations
POLP – Principle of least privilege Database Admin / Geodatabase Admin / Data Owner / End User
Data owner Responsibilities: Manage privileges Manages indexes Manages schema Register data as versioned
Geodatabase admin responsibilities: Ownership and maintenance on repository Manages the DEFAULT version Runs the COMPRESS GP tool Performs maintenance tasks Manages geodatabase configuration Configures DBTUNE
![Page 11: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/11.jpg)
Best Practices – Data Ownership
Grant the fewest permissions to the fewest number of users
Have a unique Geodatabase Admin user (i.e. SDE)
Have a non-Geodatabase Admin create data (i.e. Data Owner or End User)
![Page 12: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/12.jpg)
Create Enterprise GDB tool
Geodatabase creation
![Page 13: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/13.jpg)
Agenda
Geodatabase Creation
Data Ownership
Data Model
Data Configuration
Geodatabase Behaviors
Data Validation
Extending
Performance
![Page 14: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/14.jpg)
Data Model
What is a Data Model? Collection of elements in a Geodatabase Feature classes, attributes, subtypes,
domains, etc.
Picking a Data Model Jump start your work! What data are you representing ArcGIS Data Models
http://solutions.arcgis.com/
![Page 15: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/15.jpg)
Best Practices – Data Model
Use an ArcGIS Data Model - http://solutions.arcgis.com/
Use a Data Model provided by an Esri business partner
Build a custom model (if): You have an understanding of: Your data The geodatabase How your decisions will affect cross-platform performance
![Page 16: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/16.jpg)
Agenda
Geodatabase Creation
Data Ownership
Data Model
Data Configuration Feature Classes Feature Datasets Fields
Geodatabase Behaviors
Data Validation
Extending
Performance
![Page 17: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/17.jpg)
Data Configuration – Feature Classes
What is a Feature Class? A table that stores spatial data Stores attributes in fields about features
Many data types supported
Single Geometry representation (point, line, polygon, annotation, dimension, multipoint and multipatch) Used throughout ArcGIS
![Page 18: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/18.jpg)
Feature datasetBasic Geodatabase Functionality - Rules
• Collection of spatial datasets• Specifies spatial reference• Treated as a single object• Necessary for
- Networks- Topologies- Terrains
• Not a folder
ParcelCorner
Parcel
ParcelAnno
LotLines
Parcel_Topo
LotDimensions
Subdivision
BoundryLines
![Page 19: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/19.jpg)
Best Practices – Data Configuration
Use a Feature Dataset when you want to:- Apply geodatabase behaviors- Group similar themed classes
Minimize the number of Feature Classes - Group together similar features- Find a balance between grouping and null or empty attributes
Field data types and field order:
- Consider field order during creation
- Keep text fields short, expand later
- Will data be entered via web/mobile clients?
![Page 20: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/20.jpg)
Create feature class, load data
Geodatabase configuration
![Page 21: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/21.jpg)
Agenda
Geodatabase Creation
Data Ownership
Data Model
Data Configuration
Geodatabase Behaviors Subtypes Default values Domains
Relationship Classes
Data Validation
Extending
Performance
![Page 22: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/22.jpg)
SubtypeBasic Geodatabase Functionality - Rules
• Define categories / classes • Set rules for each field by category
- Default values- Domains- Behaviors
• Property of tableor feature class
Subtype code (Integer)
Subtype description
![Page 23: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/23.jpg)
DomainBasic Geodatabase Functionality - Rules
• Specify valid values- List of valid values- Min and max value
• Apply to multiple attribute fields
• Property of geodatabase
Coded Value DomainFRC_DESC in (“Freeway or Other Major Road”, “Other Major Road”,…)
Range Domain -FRC between 0 and 5
![Page 24: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/24.jpg)
Domains
Define a set of permissible values
Range Domains A range domain specifies a valid range of values for a numeric attribute (minimum and maximum valid
values) May be applied to numeric and date attribute types
Coded Value Domains Can be applied to text, numeric, and date fields Uses a Code & Description Editor sees a drop down with valid attributes Field calculation – code can be used
Validation will compare actual values against their domain to determine if the entries are correct
![Page 25: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/25.jpg)
Attribute Rules
User-defined rules created to enhance the editing experience and help enforce data integrity
Can be added to a dataset to constrain permissible feature configurations based upon specified attribute or geometry criteria and to automatically populate attribute values
They are created on specific feature classes or tables in a geodatabase using Arcade script expressions
Available types of rule include: Calculation rules Constraint rules
![Page 26: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/26.jpg)
Best Practices – Geodatabase Behaviors
Subtypes Use subtypes where possible,
instead of adding additional feature classes If features share a large majority
of their attributes with other features Group the features into a single
class differentiated by subtype
Attribute rules Powerful Can limit amount of entry
required in web/mobile environments
Default Values Always set up default values to limit
the <Null> entries in a table Editing using web/mobile?
Limits the amount of data entry required
Domains Use Domains to simplify attribute
editing Use Domains to make sure valid
attribute values are being entered
![Page 27: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/27.jpg)
Relationship Classes
• A persisted relationship between objects in different feature classes or tables• Visible using the Attribute Pane or Attribute Table in ArcGIS Pro• Support rules for data integrity
• No relationship rules (constraints) = no validation- Business logic by defining constraints on the classes’ objects or features that is accessed
during validation- Setup after relationship class creation
![Page 28: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/28.jpg)
Best Practices - Relationship Classes
Use relationship classes for those relationships that will enforce some data integrity
Create rules to further ensure data integrity These rules are not reactively checked
Avoid creating relationship classes between two feature classes residing in separate feature datasets
![Page 29: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/29.jpg)
Data Loading - Tools
Loading new objects Import/Export XML Workspace Document GP Tool Feature Class to Feature Class GP Tool Feature Class to Geodatabase GP Tool Copy/Paste or Drag/Drop functionality
Updating existing objects Append GP Tool
![Page 30: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/30.jpg)
Data Loading - Tools
Load all data before registering as versioned – loads directly into the BASE table
If you need to load data into a versioned system, consider unregistering as versioned prior to loading the data to prevent state doubling.
![Page 31: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/31.jpg)
Subtypes and domains
Geodatabase behaviors
![Page 32: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/32.jpg)
Attribute Editing while Editing
The Geodatabase provides functionality to help maintain attribute quality while editing
Attribute domains Subtypes Default attribute values Relationship classes
![Page 33: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/33.jpg)
Attribute Editing while Editing
The Geodatabase provides functionality to help maintain attribute quality while editing
Attribute domains Subtypes Default attribute values Relationship classes
![Page 34: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/34.jpg)
Attribute Editing while Editing
The Geodatabase provides functionality to help maintain attribute quality while editing
Attribute domains Subtypes Default attribute values Relationship classes
Attribute Assistant Editor Add-In from the Esri Solutions team Reduced # of mouse clicks during editing Standardizes editing procedures
![Page 35: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/35.jpg)
Attribute Editing while Editing
The Geodatabase provides functionality to help maintain attribute quality while editing Attribute domains Subtypes Default attribute values Relationship classes
![Page 36: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/36.jpg)
Add/update roadsData editing
![Page 37: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/37.jpg)
Maintain – Enterprise Administration
In order to maximally compress the geodatabase: Remove locks (disconnect users, stop
services) Reconcile, Post, and delete Versions Synchronize any geodatabase replicas
![Page 38: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/38.jpg)
Maintain – Enterprise Administration
Rebuild indexes / Analyze datasets Data owner can analyze the tables
they own GDB Admin can analyze all tables,
including system tables
![Page 39: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/39.jpg)
ArcGIS Security Update – TLS 1.2
• Esri is committed to using the latest industry standards and best practices for security protocols
• On April 16, 2019, we are updating ArcGIS Online to enforce the use of TLS (Transport Layer Security) version 1.2
• What Does This Mean For You?- Users of most ArcGIS software or custom solutions using Esri technology may be affected
by this planned update - If you have not updated and validated your system's support for TLS v1.2 only, you may lose your ability to connect to ArcGIS Online.
• What Do You Need to Do?- Go to the Esri TLS Support page for information, patches, and instructions for updating
software:
support.esri.com/en/tls
![Page 40: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/40.jpg)
![Page 41: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/41.jpg)
Print Your Certificate of AttendancePrint Stations Located at L Street Bridge
Tuesday Wednesday12:30 pm – 6:30 pm GIS Solutions Expo Hall D
5:15 pm – 6:30 pm GIS Solutions Expo SocialHall D
10:45 am – 5:15 pm GIS Solutions Expo Hall D
6:30 pm – 9:00 pm Networking ReceptionNational Museum ofNatural History
![Page 42: Geodatabase: Best Practices - Esri · Best Practices – Data Ownership Grant the fewest permissions to the fewest number of users Have a unique Geodatabase Admin user (i.e. SDE)](https://reader031.vdocuments.net/reader031/viewer/2022011905/5f30c236c38f766b6c5a4770/html5/thumbnails/42.jpg)
Please Take Our Survey on the AppDownload the Esri Events app and find your event
Select the session you attended
Scroll down to find the feedback section
Complete answersand select “Submit”