22
Chapter 1 Introduction to Database Processing Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

  • View
    253

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1Introduction to

Database Processing

Database Processing

David M. Kroenke

Database Processing

© 2000 Prentice Hall

Page 2: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Database Example 1Mary Richards Housepainting

– Self Employed Entrepreneur– Single User Database– 3 Tables (Customers, Jobs, Source)– Data Needs:

• Track how customers, jobs, and referrals relate• Record bid estimates• Track referral sources• Produce mailing labels

Chapter 1

Page 4

Page 3: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Page 4

SOURCE

CUSTOMER

JOB

Tables of Data for Mary Richards Housepainting, Figure 1-1© 2000 Prentice Hall

Page 4: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Database Example 2

Chapter 1

Page 6

Treble Clef Music– Multi-User database on LAN– 3 Tables (Customers, Instruments, Rentals)– Data Needs:

• Track instrument rentals• Handle multi-user issues

Page 5: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Page 7Customer Form, Figure 1-5a

© 2000 Prentice Hall

Page 6: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Page 7Rental Agreement Form, Figure 1-5b

© 2000 Prentice Hall

Page 7: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Page 8Instrument Form, Figure 1-5c

© 2000 Prentice Hall

Page 8: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Database Example 3

Chapter 1

Page 6

State Licensing & Vehicle Registration– 52 Centers, 37 Offices, Hundreds of Users– 40 Tables– Data Needs:

• Track drivers licensing issues– traffic violations, accidents, arrests, limitations

• Track auto registration issues– revenue, law enforcement

• Integrate the needs of many departments

Page 9: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Database Example 4

Chapter 1

Page 8

Calvert Island Reservations Centre– Chamber of Commerce – Promotional database provides access to data – Customer and reservation database processes– Data Needs:

• Store multimedia data (photos, video clips, sound clips)• Must be Web / browser accessible• Uses Web technologies including HTTP, DHTML, and XML

Page 10: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Comparison of Database Examples

Chapter 1

Page 10 Figure 1-8© 2000 Prentice Hall

Page 11: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

File-Processing Systems

Page 12

Chapter 1

Figure 1-10© 2000 Prentice Hall

Page 12: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Problems with File-Processing Systems

Page 12

Chapter 1

• Data are separated and isolated• Data are often duplicated• Application program dependent• Incompatible data files• Difficult to understand

Page 13: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

File-Processing Systems

Page 12

Chapter 1

Create problems with data integrity because data is:

duplicated duplicatedduplicated duplicated

duplicated duplicatedduplicated duplicated

Page 14: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

DBMS Relationships

Page 11

Chapter 1

Figure 1-9© 2000 Prentice Hall

Page 15: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Benefits of DBMS

Page 13

Chapter 1

• Data is integrated• Data duplication is reduced• Data is program independent• Data is easy to understand

Page 16: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Database

Page 14

Chapter 1

“a self-describing collection of integrated records”

Page 17: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Data Dictionary

Page 15

Chapter 1

“a description of the structure of the database; data directory;

metadata”

Page 18: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Hierarchy of Data Elements

Page 16

Chapter 1

Figure 1-11 (a) File Processing (b) Database Systems© 2000 Prentice Hall

Page 19: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Transactions

Page 16

Chapter 1

“representations of events”– making a sale– receiving a payment– authorizing a new hire– accepting a shipment

Page 20: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Early Relational Model

Page 17

Chapter 1

• 1970, E.F. Codd• Normalization Process• Compute Intensive

Page 21: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Microcomputer DBMS

Page 19

Chapter 1

• Ashton - Tate: dBase II, now Borland

• Oracle, Focus, Ingress ported down• Paradox, Revelation, MDBS, Helix,

Foxpro, Access built specifically for microcomputers

Page 22: Chapter 1 Introduction to Database Processing David M. Kroenke Database Processing © 2000 Prentice Hall

Chapter 1

© 2000 Prentice Hall

Current Database Trends

Page 19

Chapter 1

• Client-Server Applications• Integration of Internet Technology• Distributed Processing• Object-Oriented DBMS