Bounded Rationality

Download Report

Transcript Bounded Rationality

Welcome
Management Information Systems
Session 2
Data Bases
Who uses them??







Banks
Airlines
Business
Libraries
Governments, FBI, CIA, Interpol
Artisists, film makers
Scientists, DNA sequences…
Astronomers…Chemeists…
Who does not?
 ?????
 8-12 billion USD annual
 IBM, Oracle, Informix, Sybase, NCR,
Microsoft, MySQL,…
History
 1890 US Census asked Herman Hollerith to
develop punch card machine.
 Hollerith founded company, merged with
another firm which became IBM.
 Computer development fuelled by military
in WW1, to track logistics and production of
weapons. WWII, advanced optimization and
cryptography
 1960 US DOD commissions COBOL
(Common business oriented language)
 Codasyl (US Gov) and IMS (IBM and NASA)
History
 "A Relational Model of Data for Large
Shared Data Banks," Edgar F. (Ted)
Codd Communications of the ACM
1970.
 Data independence from hardware
 High level procedural language to
manipulate data
 IBM had IMS
 System R (SQL)
 Ingres (US Military, UC Berkeley)
History
 Ingres & System R employees
circulate through Silicon valley circles
 1980 IBM SQL/DS hits market
 Codd awarded ACM Turing Award
 1980s - Oracle marketing
demonstrates superiority of relational
model
Terminology
 Data sources
 Database: persistent collection of data
 Database Management System (DBMS):
software that controls access to the database
 Database Administrator (DBA): person who
controls database
 Data Model: general structure of the data in
the database
 Data Language: commands used to define
the data model and give users access to the
database; SQL (Structured Query Language)
Normal Forms
 Non-normalized data
 1NF
 no repeating fields or groups of fields
 all values in field are “atomic”
 2NF
 Already in 1NF
 Each non-key field is FD on entire primary key
 3NF
 Already in 2NF
 no non-key element is FD on any non-key
element
Normal forms inclusive
ONF2
1NF
2NF
3NF
BCNF
4NF
5NF
Up 270+ Normal forms in Lit – Academic
abstractions
To 1NF
u s e rs
nam e
com pany
c o m p a n y _ a d d re s s
u rl1
u rl2
Joe
ABC
1 W o rk L a n e
a b c .c o m
x y z .c o m
J ill
XYZ
1 J o b S tre e t
a b c .c o m
x y z .c o m
What if some companies have 3 URLS? 4, 5, …N?
1st Normal Form
u s e rs
u s e rId
nam e
com pany
c o m p a n y _ a d d re s s
u rl
1
Joe
ABC
1 W o rk L a n e
a b c .c o m
1
Joe
ABC
1 W o rk L a n e
x y z .c o m
2
J ill
XYZ
1 J o b S tre e t
a b c .c o m
2
J ill
XYZ
1 J o b S tre e t
x y z .c o m
We have solved the URL problem,
But created another….
Eliminate horizontal redundancies
2nd Normal Form
Primary Key
u s e rs
u s e rId
nam e
com pany
c o m p a n y _ a d d re s s
1
Joe
ABC
1 W o rk L a n e
2
J ill
XYZ
1 J o b S tre e t
u rls
Foreign Key
u rlId
re lU s e rId
u rl
1
1
a b c .c o m
2
1
x y z .c o m
3
2
a b c .c o m
4
2
x y z .c o m
Eliminate vertical redundancies
3rd Normal Form
u s e rs
u s e rId
nam e
re lC o m p Id
1
Joe
1
2
J ill
2
c o m p a n ie s
c o m p Id
com pany
c o m p a n y _ a d d re s s
1
ABC
1 W o rk L a n e
2
XYZ
1 J o b S tre e t
u rls
u rlId
re lU s e rId
u rl
1
1
a b c .c o m
2
1
x y z .c o m
3
2
a b c .c o m
4
2
x y z .c o m
All columns must relate directly to the primary key
Finding Balance
user
PK
user_id
FK1
first_name
last_name
nickname
unit
street_number
street_name
street_type
quadrant
web_url
picture
notes
postal_code
user_phone
PK,FK1
PK,FK2
postal_code
FK1
city_id
PK
phone_id
FK1
type_id
area_code
NXX
NCX
country_id
extension
email
postal_code
PK
user_id
phone_id
phone
PK
address
FK1
user_id
format
FK2
city
PK
city_id
FK1
name
province_id
PK
type_id
user_id
department_id
province_id
FK1
Name
Abbreviation
country_id
country_id
Name
phone_code
department
PK
department_id
FK1
name
company_id
province
PK
PK
type
user_department
PK,FK1
PK,FK2
country
type
company
PK
company_id
name
Open Source…









www.opensource.org
Linux (OS)
Apache (Web Server)
MySQL (DB)
PhP (Scripting)
JBoss (Web Server)
Samba (file & content)
OpenOffice (Office Apps.)
Many more…
Open Source Pros..
 Cost. As far as software acquisition
costs go, open source products are free.
 Flexibility. Just like Linux, open source
software frees companies from vendor
lock-in.
 Close to the code. With open source,
enterprise users can pinpoint problems in
specific code and suggest patches to solve
problems.
 Growing support. Vendors such as HP,
Red Hat and Novell are enhancing support
for open source products beyond Linux.
Open Source Cons..
 Cost. While acquisition costs are free, corporate users
must pay for support and services, and there are often
costs associated with training IT staff.
 Integration. Today, users are on their own when it
comes to integrating open source products into legacy
infrastructure, although this is starting to change with
companies as varied as Gluecode and HP rolling out
support for open source stacks.
 Capabilities. Today’s open source databases and
application servers are technically very good, but still
not up to par with heavy-duty commercial offerings
such as DB2 or WebLogic.
 Intellectual property. The SCO Group’s legal assault
against Linux should serve as a warning shot for any
company considering open source. Understand the
open source license governing the product and what
your rights and responsibilities are.