Chapter 1 Database Systems
Chapter 1 Database Systems
Systems
Objectives:
– Understand the terms
data, database, DBMS,
database systems,
database application
program, entity
– Understand the
importance of database
systems
– Familiarize with the major
components of a DBMS
– Familiarize with the
personnel involved in the
DBMS environment
1
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Database Principles:
Fundamentals of Design,
Implementation, and
Management
Ninth Edition
Carlos Coronel, Steven Morris, and Peter Rob
Chapter 1
Database Systems
Objectives
What a database is, the various types of databases, and why they
are valuable assets for decision making
3
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Objectives (cont’d.)
6
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Data vs. Information
8
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Introducing the Database
• Database: shared, integrated computer
structure that stores a collection of:
– End-user data: raw facts of interest to end user
– Metadata: data about data
• Provides description of data characteristics and
relationships in data
• Complements and expands value of data
9
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Introducing the Database
• Database
management
system (DBMS):
collection of
programs
– Manages structure
and controls
access to data
10
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Role and Advantages of the DBMS
12
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
13
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Role and Advantages of the DBMS
(cont’d.)
• Advantages of a DBMS:
– Improved data sharing
– Improved data
security
– Better data integration
– Minimized data
inconsistency
– Improved data access
– Improved decision
making
– Increased end-user
productivity
14
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Types of Databases
• Databases can be classified
according to:
– Number of users
– Database location(s)
– Expected type and extent of use
• Single-user database supports
only one user at a time
– Desktop database: single-user;
runs on PC
• Multiuser database supports
multiple users at the same time
– Workgroup and enterprise
databases
15
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Types of Databases (cont’d.)
• Centralized database: data
located at a single site
• Distributed database: data
distributed across several
different sites
• Operational database:
supports a company’s day-
to-day operations
– Transactional or
production database
• Data warehouse: stores
data used for tactical or
strategic decisions
16
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Types of Databases (cont'd.)
• Unstructured data exist in their
original state
• Structured data result from
formatting
– Structure applied based on type
of processing to be performed
• Semistructured data have been
processed to some extent
• Extensible Markup Language
(XML) represents data elements in
textual format
– XML database supports
semistructured XML data
17
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
18
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Why Database Design Is Important
• Database design focuses on
design of database structure
used for end-user data
– Designer must identify
database’s expected use
• Well-designed database:
– Facilitates data management
– Generates accurate and
valuable information
• Poorly designed database:
– Causes difficult-to-trace
errors
19
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Evolution of File System Data
Processing
Manual systems
26
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Problems with File System Data
Processing (cont'd.)
Security features difficult to program
28
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Structural and Data Dependence
(cont'd.)
Practical significance of data dependence is difference
between logical and physical format
29
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Data Redundancy
File system structure makes it
difficult to combine data from Vulnerable to security breaches
multiple sources
Organizational structure
promotes storage of same data Islands of information
in different locations
30
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Data Redundancy (cont'd.)
33
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Database Systems, 9th Edition 34
© 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the
U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
The Database System Environment
Security management