DB - Chapter 1
DB - Chapter 1
“Facts concerning objects and events that could be recorded and stored on
computer media.”
For Example:
In a salesperson’s database, the data would include facts such as customer name,
address, and telephone number.
Data - Continue
“Data that have been processed in such a way as to increase the knowledge of
the person who uses the data.”
For example, consider the following list of facts:
Baker, Kenneth D. 324917628
“Data that describe the properties or characteristics of end-user data and the
context of those data.”
- Some of the properties that are typically described include data names,
definitions, length (or size), and allowable values.
- Metadata describing data context include the source of the data, where the
data are stored, ownership, and usage.
Example Metadata for Class Roster
Progression from File Processing
Systems to Databases
Traditional File Processing Systems
1. Program-Data Dependence
2. Duplication of Data
3. Limited Data Sharing
4. Lengthy Development Times
5. Excessive Program Maintenance
Disadvantages of File Processing Systems
1. Program-Data Dependence
2. Duplication of Data
3. Limited Data Sharing
4. Lengthy Development Times
5. Excessive Program Maintenance
Disadvantages of File Processing Systems
1. Program-Data Dependence
2. Duplication of Data
3. Limited Data Sharing
4. Lengthy Development Times
5. Excessive Program Maintenance
Disadvantages of File Processing Systems
1. Program-Data Dependence
2. Duplication of Data
3. Limited Data Sharing
4. Lengthy Development Times
5. Excessive Program Maintenance
Disadvantages of File Processing Systems
1. Program-Data Dependence
2. Duplication of Data
3. Limited Data Sharing
4. Lengthy Development Times
5. Excessive Program Maintenance
Can these limitations arise in
Database?
The Database Approach
● Data Models:
Graphical systems used to capture the nature and relationships among data.
The Database Approach
● Entity:
● Relationship:
● Relational Database:
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Advantages of the Database Approach
● Program-data independence
● Planned data redundancy
● Improved data consistency
● Improved data sharing
● Enforcement of standards
● Improved data quality
● Improved data accessibility and responsiveness
● Reduced program maintenance
● Improved decision support
Tell some limitations that arise in
Database?
Components of Database Environment
Exercise:
For each of the following pairs of related entities, indicate whether (under
typical circumstances) there is a one-to-many or a many-to-many relationship.
Then, draw a diagram for each of the relationships.