05 UnderstandingRDBMS
05 UnderstandingRDBMS
RDBMS
IT4GIS
Keith T. Weber, GISP
GIS Director
ISU-GIS Training and Research Center
FUNDAMENTALS
RDBMS
• Relational Database Management System
• The “I” in GIS (Information)
BTW
• The Data-to-Wisdom Pathway
cf.,
https://en.wikipedia.org/wiki/DIKW_pyramid
Database software...
• Light Duty
• Medium Duty
• Heavy Duty
Database software...
• Light Duty
• Medium Duty
• Heavy Duty
Relational
Databases
• Why are databases
important?
– Drive many business
processes
– Store large amounts of
data
– Retrieve data quickly
Spreadsheets vs. Databases
• Integrit
y!
• Structu
re
RDBMS CONCEPTS AND TERMS
Independence
• Physical
• Logical
Logical Consistency Example
• Character based database design
– FirstName (1-4)
– LastName (5-10)
– Address (11-46)
• Programmatic
• Systematic
Index fields versus Key fields
• Unique Identifiers
are Index fields
• Relate fields are Key
fields
– Primary key
– Foreign key
RDBMS STRUCTURE
Database Tables
Database
BUILDINGS
DINING
K BldgNum:
K Restaurant
126 Number
DINING
Name:
NameGraveley Hall
Type:
TypeEducation
of food
Relationships
• Determine the Relationship between Entity
Types.
• Add these to the ERM