Module 1
Module 1
Database Systems
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 1
Chapter Objectives (1 of 2)
2. Describe what a database is, the various types of databases, and why they are
valuable assets for decision making
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 2
Chapter Objectives (2 of 2)
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 3
Why Databases?
• Information is the result of processing raw data to reveal the meaning of data
− To reveal meaning, information requires context
• Accurate, relevant, and timely information is the key to good decision making
• Data management is a discipline that focuses on the proper generation, storage, and
retrieval of data
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 5
Data versus Information (2 of 2)
& Metadata
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 6
Characteristics of Valuable Information
Characteristics Definitions
Accessible Info should be easily accessible by authorized users
Accurate Accurate info is error free. (Garbage in Garbage out)
Complete Complete info contains all the important facts.
Economical Info should also be economical to produce.
Flexible Flexible info can be used for a varieties of purposes.
Relevant Relevant info is important for decision makers
Reliable Reliable information can be trusted by users.
Secure Info should be secured from access by unauthorized users
Simple Info should be simple, not overly complex.
Timely Timely info is delivered when it is needed.
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 7
Introducing the Database
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 8
Role and Advantages of DBMS (1 of 2)
• The DBMS presents the end user with a single, integrated view of the data in the
database
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 9
Role and Advantages of DBMS (2 of 2)
Figure 1.4 The DBMS Manages the Interaction Between the End User and the Database
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 10
Types of Databases (1 of 4)
• Classification by Number of Users
• Classification by location
− A centralized database supports data located at a single site
− A distributed database supports data distributed across different sites
− A cloud database is created and maintained using cloud data services
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 11
Types of Databases (2 of 4)
• Classification by data type
− General-purpose databases contain a wide variety of data used in multiple
disciplines
− Discipline-specific databases contain data focused on specific subject areas
− An operational database is designed to support a company’s day-to-day
operations
− An analytical database stores historical data and business metrics used
exclusively for tactical or strategic decision making and is comprised of two main
components:
▪ The data warehouse stores data in a format optimized for decision support
▪ Online analytical processing (OLAP) is a set of tools for retrieving, processing,
and modeling data from the data warehouse
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 12
Types of Databases (3 of 4)
• Business intelligence describes a comprehensive approach to capture and process
business data to generate information that support decision making
• Databases can be classified to reflect the degree to which the data is structured
− Unstructured data exists in its original (raw) state
− Structured data is the result of formatting unstructured data to facilitate storage
and use
− Semistructured data has already been processed to some extent
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 13
Types of Databases (4 of 4)
• Social media refers to web and mobile technologies that enable “anywhere, anytime,
always on” human interaction
− Data is captured about end users and consumers that requires the use of
specialized database systems
• The term NoSQL (Not only SQL) is a new generation of DBMS that is not based on the
traditional relational database model
− These databases are designed to handle an unprecedented volume of data, variety
of data types and structures, and velocity of data operations of new business
requirements
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 14
Knowledge Check Activity 1-1
• What is a DBMS?
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 15
Knowledge Check Activity 1-1: Answer
• What is a DBMS?
Answer: A DBMS is best described as a collection of programs that
manage the database structure and that control shared access to the
data in the database. Current DBMSs also store the relationships
between the database components; they also take care of defining the
required access paths to those components.
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 16
Why Database Design is Important (1 of 3)
• Database design refers to the activities that focus on the design of the database
structure that will be used to store and manage end-user data
• A poorly designed database causes difficult-to-trace errors that may lead to poor
decision making
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 17
Why Database Design is Important (2 of 3)
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 18
Why Database Design is Important (3 of 3)
Figure 1.6 Employee Skills
Certification in a Good Design
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 19
Evolution of File System Data Processing
(1 of 2)
• Manual file systems are accomplished through a system of file folders and filing
cabinets
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 20
Evolution of File System Data Processing
(2 of 2)
Table 1.2 Basic File Terminology
Term Definition
Data Raw facts, such as a telephone number, a birth date, a customer name, and a year-to-date (YTD) sales value. Data has
little meaning unless it has been organized in some logical manner.
Field A character or group of characters (alphabetic or numeric) that has a specific meaning. A field is used to define and
store date.
Record A logically connected set of one or more fields that describes a person, place, or thing. For example the fields that
constitute a record for a customer might consist of the customer’s name, address, phone number, date of birth, credit
limit, and unpaid balance.
File A collection of related records. For example, a file might contain data about the students currently enrolled at Gigantic
University.
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 21
Problems with File System Data Processing
• The following problems with file systems challenge the types of information that can
be created from data as well as information accuracy:
− Lengthy development times
− Difficulty of getting quick answers
− Complex system administration
− Lack of security and limited data sharing
− Extensive programming
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 22
Structural and Data Dependence (1 of 2)
• A file system exhibits structural dependence, which means that access to a file is
dependent on its own structure
− All file system programs are modified to conform to a new file structure
• Structural independence exists when you change the file structure without affecting
the application’s ability to access the data
• Data dependence exists when all data access programs are subject to change when
data storage characteristics change
• Data independence exists when data storage characteristics are changed without
affecting the program’s ability to access the data
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 23
Structural and Data Dependence (2 of 2)
• The practical significance of data dependence is the difference between the logical
data format (how humans view the data) and the physical data format (how the
computer must work with the data)
• Any program that accesses a file system’s file must tell the computer not only what
to do but also how to do it
• Data dependence makes the file system cumbersome from the point of view of a
programmer and database manager
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 24
Data Redundancy
• Data redundancy exists when the same data is stored unnecessarily at different
places
− Database professionals use the term islands of information for scattered data
locations
− Increases the probability of having different versions of the same data
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 25
Data Anomalies
• A data anomaly develops when not all of the required changes in the redundant data
are made successfully
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 26
Knowledge Check Activity 1-2
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 27
Knowledge Check Activity 1-2: Answer
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 28
Database Systems (1 of 2)
• The database system consists of logically related data stored in a single logical data
repository
− However, the data might be physically distributed among multiple storage
facilities
• The database’s DBMS eliminates most of the file system’s data inconsistency, data
anomaly, data dependence, and structural dependence problems
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 29
Database Systems (2 of 2)
Figure 1.9
Contrasting
Database and
File Systems
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 30
Traditional approach to data management
Data Management Separate data files are created and stored for each
application program
27
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 31
The Database System Environment (1 of 2)
• The term database system refers to an organization of components that define and
regulate the collection, storage, management, and use of data within a database
environment
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 32
The Database System Environment (2 of 2)
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 33
DBMS Functions (1 of 3)
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 35
DBMS Functions (3 of 3)
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 36
Managing the Database System: A Shift in
Focus
• Disadvantages of database systems include the following:
− Increased costs
− Management complexity
− Maintaining currency
− Vendor dependence
− Frequent upgrade/replacement cycles
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 37
Preparing for Your Database Professional
Career
Table 1.3 Database Career Opportunities
Database Developer Create and maintain database-based applications Programming, database fundamentals, SQL
Database Designer Design and maintain databases Systems design, database design, SQL
Database Administrator Manage and maintain DBMS and databases Database fundamentals, SQL, vendor courses
Database Analyst Develop databases for decision support reporting SQL, query optimization, data warehouses
Database Architect Design and implementation of database environments (conceptual, DBMS fundamentals, data modeling, SQL, hardware knowledge, etc.
logical, and physical)
Database Consultant Help companies leverage database technologies to improve business Database fundamentals, data modeling, database design, SQL, DBMS,
processes and achieve specific goals hardware, vendor-specific technologies, etc.
Database Security Implement security policies for data DBMS fundamentals, database administration, SQL, data security
Officer administration technologies, etc.
Cloud Computing Data Design and implement the infrastructure for next-generation cloud Internet technologies, cloud storage technologies, data security,
Architect database systems performance tuning, large databases, etc.
Data Scientist Analyze large amounts of varied data to generate insights, Data analysis, statistics, advanced mathematics, SQL, programming, data
relationships, and predictable behaviors mining, machine learning, data visualization
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 38
Knowledge Check Activity 1-3
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 39
Knowledge Check Activity 1-3: Answer
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 40
Summary (1 of 2)
Now that the lesson has ended, you should be able to:
2. Describe what a database is, the various types of databases, and why they are
valuable assets for decision making
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 41
Summary (2 of 2)
Now that the lesson has ended, you should be able to (continued):
Coronel, Carlos and Morris, Steven, Database Systems: Design, Implementation, and Management, 14 Edition. © 2023 Cengage.
All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 42