Download presentation
Presentation is loading. Please wait.
Published byBella Satterfield Modified over 9 years ago
1
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class room Cell phones off Pagers on vibrate Phasers on stun
2
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing
3
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/3 Copyright © 2004 To understand and describe the problems that occur with data lists. To gain a general understanding of tables and relationships. To describe the four components of a Database System and explain the functions they perform. To define the term database and describe what is contained within the database. To define the term metadata and provide examples of metadata. To distinguish between personal, workgroup, and organizational databases and provide characteristics of each. To explain the activities that occur in the Requirements, Design, and Implementation phases of database development. To name two early database models and understand their shortcomings. To be familiar with current and future database models CHAPTER OBJECTIVES
4
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/4 Copyright © 2004 Why Use A Database? The purpose of a database is to help people and organizations keep track of things Problems of using list to store data –Data inconsistencies –Data privacy: The departments want to share some, but not all, of their data Databases store data in single-theme tables Tables are related through primary and foreign keys
5
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/5 Copyright © 2004 Components of A Database System
6
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/6 Copyright © 2004 Application Programs Functions: –Create and process forms –Create and transmit queries –Create and process reports –Execute application logic –Control application
7
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/7 Copyright © 2004 DBMS DBMS: Database Management System Functions: –Create database, tables, and supporting structures –Read and update database data –Maintain database structures –Enforce rules –Control concurrency –Provide security –Perform backup and recovery Example: Oracle, DB2, Microsoft Access, SQL Server
8
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/8 Copyright © 2004 Database Database is a self-describing collection of related records or tables Components: –User Data –Metadata: data about the structure of a database –Indexes and related structures –Stored procedures: program modules stored within the database –Triggers: a procedure that is executed when a particular data activity occurs –Application metadata: data describing application elements such as forms and reports
9
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/9 Copyright © 2004 Types of Database Personal database –1 user; < 10 MB Workgroup database –< 25 users; < 100 MB Organizational database –Hundreds to thousands users –>1 Trillion bytes, possibly several databases
10
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/10 Copyright © 2004 Example: Organizational Database
11
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/11 Copyright © 2004 Building a Database System 3 Phases Requirements phase: a data model is developed –Data model is a logical representation of the database structure Design phase: the data model is transformed into tables and relationships Implementation phase: –Tables, relationships, and constraints are created –Stored procedures and triggers are written –The database is filled and systems are tested Database and its applications will be modified (through these same three phases) to meet new requirements
12
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/12 Copyright © 2004 Example: Data Model
13
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/13 Copyright © 2004 Application Development Application development proceeds in parallel with database development
14
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/14 Copyright © 2004 History of Database Processing
15
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/15 Copyright © 2004 Early Database Models Before mid-1960s, only sequential file processing using magnetic tape was possible In mid-1960s, disk storage enabled hierarchical and network database –IBM’s DL/I (Data Language One) –CODAYSL’s DBTG (Data Base Task Group) model the basis of current DBMSs
16
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/16 Copyright © 2004 The Relational Model E.F. Codd introduced the relational model in 1970 DB2 from IBM is the first DBMS product based on the relational model Other DBMS based on the relational model were developed in the late 1980s Today, DB2, Oracle, and SQL Server are the most prominent commercial DBMS products based on the relational model
17
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/17 Copyright © 2004 Personal Computer DBMS The advent of microcomputer increases popularity of personal databases Graphical User Interface (GUI) make it easy to use –Examples of early DBMS products: dBase, R:base, and Paradox
18
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/18 Copyright © 2004 Object Oriented DBMS (OODBMS) Object-oriented programming started in the mid-1980s Goal of OODBMS is to store object-oriented programming objects in a database without having to transform them into relational format Object-relational DBMS products, such as Oracle 8i and 9i, allow both relational and object views of data on the same database Currently, OODBMS have not been a commercial success due to high cost of relational to object- oriented transformation
19
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/19 Copyright © 2004 Recent History Success story of the Microsoft Access –Microsoft Office suite and Windows integration –Easy-to-use and powerful personal DBMS Internet database XML and database integration
20
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/20 Copyright © 2004 Summary Purpose of a database is to help people keep track of things Databases consist of groups of related tables. A key is a column that identifies a unique row A foreign key is a column in one table that is a unique identifier in a second table
21
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/21 Copyright © 2004 Summary (Continued) Database Systems are developed using a process of three phases: –Requirements –Design, and –Implementation An entity-relationship diagram is a tool used to represent a data model The data model is transformed into tables and relationships during the design phase
22
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/22 Copyright © 2004 Reminder DO NOT FORGET TO SIGN THE ATTENDANCE SHEET BEFORE YOU LEAVE TONIGHT
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.