Академический Документы
Профессиональный Документы
Культура Документы
C H A P T E R
12 DATABASE
DESIGN
Chapter Map
File Information
System
Database
File Information File Information (consolidated Information
System System System
& integrated
data from files)
File Information
System
Pros Cons
• Easy to design because of • Harder to adapt to sharing
their single-application across applications
focus • Harder to adapt to new
• Excellent performance due requirements
to optimized organization • Need to duplicate attributes
for a single application in several files.
Pros Cons
• Ability to share data across • Harder to adapt to sharing
applications across applications
• Less, and controlled • Harder to adapt to new
redundancy (total non- requirements
redundancy is not • Need to duplicate attributes in
achievable) several files
• Data independence from • Somewhat slower performance
applications increases • Higher development costs
adaptability • Greater data vulnerability
• Superior scalability
Fields
Records
Files
Data Architecture
Users and
Programmers
Information System
File (built in-house)
A legacy
file-based Information Information
information File System System
system Operational
(built Database (built
Users and (built in-house) in-house)
Programmers in-house)
File
End-User
File Tools
Data
Warehouse
End-User Users
Applications Personal
File
DB
A legacy
file-based
information
system File
Users and (purchased)
Programmers Information
System
Operational Work-Group
File Database (purchased) Database
End-User
Work Group
Users and
Programmers
Administrators
Database Architecture
DBMS
Data Definition Proprietary Language Data Manipulation
Language (DDL) and Tools Language (DML)
DATABASE ENGINE
USER
METADATA
DATA
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights res
SYSTEMS ANALYSIS AND DESIGN METHODS 5th Edition Whitten Bentley Dittman
Relational Databases
Variable length character TEXT VARCHAR (max size) or VARCHAR (max size)
data (use for fields that character varying (max
require character data but size)
for which size varies
greatly--such as
ADDRESS)
Logical Data Type Physical Data Type Physical Data Type Physicall Data Type
to be stored in field) Microsoft Access Microsoft SQL Server Oracle
Database Integrity
• Key integrity
• Domain integrity
• Referential integrity