Docsity

DBMS- Database Applications, Study notes of Database Management Systems (DBMS)

Partial preview of the text

Download DBMS- Database Applications and more Study notes Database Management Systems (DBMS) in PDF only on Docsity!

CDBMMODULE02 1

Database Applications Database Applications

Overall System Structure Overall System Structure

Data in Context Large volume of facts, difficult to interpret or make decisions based on

Summarized data Useful information that managers can use for decision making and interpretation

Three file processing systems at Pine Valley Furniture Duplicate Data

Disadvantages of File Processing Disadvantages of File Processing

 Program-Data Dependence

  • (^) All programs maintain metadata for each file they use

 Data Redundancy (Duplication of data)

  • (^) Different systems/programs have separate copies of the same data

 Limited Data Sharing

  • (^) No centralized control of data

 Lengthy Development Times

  • (^) Programmers must design their own file formats

 Excessive Program Maintenance

  • (^) 80% of of information systems budget

Problems with Data Problems with Data

Redundancy Redundancy

Waste of space to have duplicate data

Causes more maintenance headaches

The biggest Problem:

– When data changes in one file, could cause

inconsistencies

– Compromises data integrity

SOLUTION: SOLUTION:

The DATABASE Approach The DATABASE Approach

Central repository of shared data

Data is managed by a controlling agent

Stored in a standardized, convenient

form

Requires a Database Management System (DBMS)

Database Management Database Management

System System

DBMS manages data resources like an operating system manages hardware resources

DBMS DBMS

**Database containing centralized shared data Application

Application

Application #**

Advantages of Database Approach Advantages of Database Approach

Program-Data Independence

  • (^) Metadata stored in DBMS, so applications don’t need to worry about data formats
  • (^) Data queries/updates managed by DBMS so programs don’t need to process data access routines
  • (^) Results in: increased application development and maintenance productivity

Minimal Data Redundancy

  • (^) Leads to increased data integrity/consistency

Costs and Risks of the Costs and Risks of the

Database Approach Database Approach

Up-front costs:

  • (^) Installation Management Cost and Complexity
  • (^) Conversion Costs

Ongoing Costs

  • (^) Requires New, Specialized Personnel
  • (^) Need for Explicit Backup and Recovery

Organizational Conflict

  • (^) Old habits die hard

Figure 3

Segment from enterprise data model

Figure 3

Segment from enterprise data model One order has many order lines; each order line is associated with a single order  One-to-many relationship

Figure 3

Segment from enterprise data model One product can be in many order lines, each order line refers to a single product  One-to-many relationship