File Processing Systems: Billing Program Purchasing Program
File Processing Systems: Billing Program Purchasing Program
File Processing Systems: Billing Program Purchasing Program
Billing Purchasing
Program Program
Inventory Employee
Vendor Invoice Customer
file file
file file file
Database Approach
Order Dept. Accounting Payroll
Dept. Dept.
A B C
Ordering
Invoicing Payroll
filing
System System
System
Application Programs/Queries
DBMS
Software Software to Process Queries/Programs
Stored DB
Stored
Definition
Database
(Meta-Data)
Why the Database Approach?
• Application needs constantly changing
• Ad hoc questions need rapid answers
• Need to reduce long lead times and high
cost in new application development
• Lots of data shared throughout the
organization
• Need to improve data consistency and
control access to data
• Substantial dedicated programming
assistance typically not available
Core DB Technology Trend
• Relational Database
• Distributed Database
• Multi-dimensional databases
• Object Relational Database
• Object-Oriented Database
• Multimedia Database
• Intelligent Database
• Data warehousing, data marts, data mining
• Web-based Databases
DB Time Line Web-based
Data Warehousing
Client-server
multimedia
heterogeneous
Data Management object-oriented
expert, distributed
Capability
SQL Standard
commercial DBMS
PC DBMS
ER model
network model
Relational Model: Codd
Hierarchical: IMS
file management
magnetic tape
1945 1961 1970 1976 1980 1985 1990 2000
DBMS
• A collection of software
– manage different applications for a multi-user
database system
– enable users to define/create and manipulate
data
• Basic functions:
– multiple user interfaces
– controlled redundancy
– integrity control
– security: authorization & protection
– concurrency & recovery control
Example Database (with
Conceptual Data Model)
• Mini-world for the example: Part of a
UNIVERSITY environment.
• Some mini-world entities:
– STUDENTs
– COURSEs
– SECTIONs (of COURSEs)
– (academic) DEPARTMENTs
– INSTRUCTORs
Note: The above could be expressed in the
ENTITY-RELATIONSHIP data model.
Example Database (with
Conceptual Data Model) – 2.
• Some mini-world relationships:
– SECTIONs are of specific COURSEs
– STUDENTs take SECTIONs
– COURSEs have prerequisite COURSEs
– INSTRUCTORs teach SECTIONs
– COURSEs are offered by DEPARTMENTs
– STUDENTs major in DEPARTMENTs
OLCP
On-Line Complex Processing EIS
OLAP
data mining & On-Line Analytical Processing
knowledge discovery Data Warehousing
Data Marts
DSS
DP
OLTP
On-line Transaction Processing
Operational databases
Legacy systems