GEO 488556 Lecture 5 - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

GEO 488556 Lecture 5

Description:

Scotch Ale. Bottle22. Bottle12. Slogdobber. Ice Storm. Brown Ale ... Scotch Ale. Kegs. Bottle22. Bottle12. Brown Ale. British Ale. Zing's Tailchaser. Candlemas ... – PowerPoint PPT presentation

Number of Views:98
Avg rating:3.0/5.0
Slides: 21
Provided by: douglasfl
Category:
Tags: geo | lecture | scotch

less

Transcript and Presenter's Notes

Title: GEO 488556 Lecture 5


1
GEO 488/556Lecture 5
Wit is the sudden marriage of ideas which before
their union were not perceived to have any
relation. Mark Twain
  • Douglas Flewelling
  • University at Buffalo/Geography

2
Readings?
  • Arlow Neustadt - Chapters 12
  • Brooks The Surgical Team

3
Database Management Systems (DBMS)
  • Provide services to manage buckets of data
  • Basic function is to safely store and retrieve
    data
  • Read
  • Write
  • Delete
  • Query (Retrieve)

4
Early DBMS Models
  • Hierarchical
  • Network

5
Relational Model
  • Tables (Relations)
  • Collections of data
  • Rows (Tuples)
  • Data pertaining to an individual
  • Fields (Attributes)
  • A particular fact about the individuals

6
Relational DB Model
Relation/Table
Rel_Name
Tuples/Rows
Attributes/Columns
7
Dr. Dougs Homebrew
Homebrew
Name
Style
Kegs
Bottle22
Bottle12
8
The Select Operator
Homebrew
Name
Style
Kegs
Bottle22
Bottle12
Macintyre
Scotch Ale
2
6
0
Slogdobber
Brown Ale
0
12
0
Ice Storm
Porter
0
0
0
Mead
My Honeys Raspberry
0
2
0
Brown Ale
Zings Tailchaser
3
0
12
Mead
Millennium Ginger
0
24
0
Pilsner
Rocky Raccoon
0
0
6
British Ale
Candlemas
1
2
36
9
The Select Operator
Homebrew
Name
Style
Kegs
Bottle22
Bottle12
Macintyre
Scotch Ale
2
6
0
Brown Ale
Zings Tailchaser
3
0
12
British Ale
Candlemas
1
2
36
10
The Select Operator
KegBrew
Kegs
Name
Style
Kegs
Bottle22
Bottle12
Macintyre
Scotch Ale
2
6
0
Brown Ale
Zings Tailchaser
3
0
12
British Ale
Candlemas
1
2
36
11
The Project Operator
KegBrew
Kegs
Name
Style
Kegs
Bottle22
Bottle12
Macintyre
Scotch Ale
2
6
0
Brown Ale
Zings Tailchaser
3
0
12
British Ale
Candlemas
1
2
36
12
The Project Operator
KegBrew2
Name
Kegs
Bottle22
Bottle12
Style
Macintyre
2
6
Scotch Ale
0
Zings Tailchaser
3
0
Brown Ale
12
Candlemas
1
2
British Ale
36
13
The Project Operator
KegBrew2
Name
Kegs
Macintyre
2
Zings Tailchaser
3
Candlemas
1
14
The Union Operator
15
Union Operator II
KegBrew2
Name
Macintyre
Zings Tailchaser
Candlemas
16
The Cartesian Product
KegBrew2
Name
Macintyre
Zings Tailchaser
Candlemas
BottleBrew
Name
Zings Tailchaser
Rocky Raccoon
Candlemas
17
Difference Operator
KegBrew2
Name
Macintyre
Zings Tailchaser
Candlemas
18
Intersect Operator
KegBrew2
Name
Macintyre
Zings Tailchaser
Candlemas
19
The Join Operator
Bottle12
12
6
36
20
Flexible Design
  • High Cohesion
  • One abstraction, not one function
  • Low Coupling
  • Limit the worldliness of an objects knowledge
  • Even Distribution of Behavior
  • Self-reliance
  • Avoid state-passing
  • Strong Modularity
  • Group like things
Write a Comment
User Comments (0)
About PowerShow.com