Chapter 01
Chapter 01
The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning of each presentation. You may customize the presentations to fit your class needs. Some figures from the chapters are included. A complete set of images from the book can be found on the Instructor Resources disc.
Objectives
In this chapter, you will learn: The difference between data and information What a database is, the various types of databases, and why they are valuable assets for decision making The importance of database design How modern databases evolved from file systems
Database Systems, 9th Edition 3
Objectives (contd.)
About flaws in file system data management The main components of the database system The main functions of a database management system (DBMS)
Introduction
Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database Databases evolved from computer file systems Understanding file system characteristics is important
Why Databases?
Databases solve many of the problems encountered in data management
Used in almost all modern settings involving data management:
Business Research Administration
Important to understand how databases work and interact with other applications
Database Systems, 9th Edition 6
DBMS enables data to be shared DBMS integrates many users views of the data
10
11
Types of Databases
Databases can be classified according to:
Number of users Database location(s) Expected type and extent of use
Semistructured data have been processed to some extent Extensible Markup Language (XML) represents data elements in textual format
XML database supports semistructured XML data
Database Systems, 9th Edition 15
16
Well-designed database:
Facilitates data management Generates accurate and valuable information
File systems typically composed of collection of file folders, each tagged and kept in cabinet
Organized by expected use
Database Systems, 9th Edition 18
20
21
22
23
Structural independence: change file structure without affecting data access Data dependence: data access changes when data storage characteristics change Data independence: data storage characteristics do not affect data access
Database Systems, 9th Edition 26
27
Data Redundancy
File system structure makes it difficult to combine data from multiple sources
Vulnerable to security breaches
Data stored in different locations is unlikely to be updated consistently Data redundancy: same data stored unnecessarily in different places
Database Systems, 9th Edition 28
29
30
Database Systems
Database system consists of logically related data stored in a single logical data repository
May be physically distributed among multiple storage facilities DBMS eliminates most of file systems problems Current generation stores data structures, relationships between structures, and access paths
Also defines, stores, and manages all access paths and components
Database Systems, 9th Edition 31
32
33
34
35
Procedures: instructions and rules that govern the design and use of the database system Data: the collection of facts stored in the database
Database Systems, 9th Edition 36
37
DBMS Functions
Most functions are transparent to end users
Can only be achieved through the DBMS
38
39
41
Security management
DBMS creates a security system that enforces user security and data privacy Security rules determine which users can access the database, which items can be Databaseaccessed, Systems, 9th Edition etc.
42
Data relationships stored in data dictionary used to enforce data integrity Integrity is especially important in transactionoriented database systems
44
45
Database system enables more sophisticated use of the data Data structures created within the database and their relationships determine effectiveness
47
48
Summary
Data are raw facts Information is the result of processing data to reveal its meaning Accurate, relevant, and timely information is the key to good decision making Data are usually stored in a database DBMS implements a database and manages its contents
Database Systems, 9th Edition 49
Summary (cont'd.)
Metadata is data about data Database design defines the database structure
Well-designed database facilitates data management and generates valuable information Poorly designed database leads to bad decision making and organizational failure
Summary (cont'd.)
In a file system, data stored in independent files
Each requires its own management program
Summary (cont'd.)
Database management systems were developed to address file systems inherent weaknesses DBMS present database to end user as single repository
Promotes data sharing Eliminates islands of information