Why do we need to manage data?
• Organizations could not function long without critical business data
• Cost to replace data would be very high
• Time to reconcile inconsistent data may be too long
• Data often needs to be accessed quickly
• Data should be:
- Cataloged
- Named in standard ways
- Protected
- Accessible to those with a need to know
- Maintained with high quality
A collection of data that is organized in a way that facilities retrieval and reporting
Database
Uses of Database
Advantages of Database Approach
Types of Database Software Packages
* Database Management System
‘flat-file’
records from only one file can be related at a time
File Management System
Allow records from multiple files to be related and manipulated at the same time
Database Management System
Collection of interrelated data and set of programs to access the data, that provides an environment that is both convenient and efficient to use
Database Management System
Database examples
Levels of abstraction
Physical level
Logical level
View level
Describes how a record is stored
Physical level
Describes data stored in database and the relationships among the data
Logical level
Application programs hide details of data types; views can also hide information for security purposes
View level
A way for human to visualize the relationships between records that are filed in complex database management systems
Data Model
A collection of tools for describing data, data relationships, data semantics and data constraints
Data Model
Types of data model
Hierarchical data model
Network data model
Relational data model
Object-oriented data model
The oldest data model
Has top-down design; resembles an organizational chart or an inverted tree
Hierarchical data model
Each record at one level is linked to (or has a parent at) the next level
Hierarchical data model
Multiple relationships are establish between different braches of the data
Network data model
The most flexible approach to database organization
Records can be related according to the contents of key fields, or common categories
Relational data model
The newest data model
They link objects
Object-oriented data model
Object-based logical models
• Entity-relationship model
• Object-oriented model
• Semantic model
• Functional model
Record-based logical models
A collection of related records that is self-describing
Database file