SlideShare a Scribd company logo
Understanding Computers: Today and Tomorrow, 13th Edition
Chapter 14:
Databases and Database
Management Systems
Understanding Computers: Today and Tomorrow, 13th Edition
2
Learning Objectives
1. Explain what a database is, including common
database terminology, and list some of the advantages
and disadvantages of using databases.
2. Discuss some basic concepts and characteristics of
data, such as data hierarchy, entity relationships, and
data definition.
3. Describe the importance of data integrity, security, and
privacy, and how they affect database design.
Understanding Computers: Today and Tomorrow, 13th Edition
3
Learning Objectives
4. Identify some basic database classifications and
discuss their differences.
5. List the most common database models and discuss
how they are used today.
6. Understand how a relational database is designed,
created, used, and maintained.
7. Describe some ways databases are used on the Web.
Understanding Computers: Today and Tomorrow, 13th Edition
4
Overview
• This chapter covers:
– What a database is, the individuals who use them,
and how databases evolved
– Important database concepts and characteristics
– Database classifications and models
– How to create and use a relational database
– How databases are used on the Web
Understanding Computers: Today and Tomorrow, 13th Edition
5
What Is a Database?
• Database: A collection of related data stored in a manner
so it can be retrieved as needed
• Database management system (DBMS): Used to create,
maintain, and access databases
• A database typically consists of:
– Tables: Collection of related records
– Fields (columns): Single category of data to be stored
in a database (name, telephone number, etc.)
– Records (rows): Collection of related fields in a
database (all the fields for one customer, for example)
• Relational database: Data from several tables is tied
together (related) using a field that the tables have in
common
Understanding Computers: Today and Tomorrow, 13th Edition
6
A Simple Relational Database Example
Understanding Computers: Today and Tomorrow, 13th Edition
7
What Is a Database?
• Primary key: Specific field that uniquely identifies the
records in that table
– Used in a relational
database to relate tables
together
– Must be unique and a field
that doesn’t change
• PC DBMSs include:
– Microsoft Access, Corel
Paradox, Lotus Approach
• For more comprehensive
enterprise databases
– Oracle Database, IBM DB2, Microsoft SQL Server
Understanding Computers: Today and Tomorrow, 13th Edition
88
What Is a Database?
• Individuals involved with a DBMS:
– Database designers: Design the database
– Database developers: Create the database
– Database programmers: Write the programs needed
to access the database or tie the database to other
programs
– Database administrators: Responsible for managing
the databases within an organization
– Users: Individuals who enter data, update data, and
retrieve information out of the database
Understanding Computers: Today and Tomorrow, 13th Edition
9
The Evolution of Databases
Understanding Computers: Today and Tomorrow, 13th Edition
10
Advantages and Disadvantages of the
DBMS Approach
• Advantages
– Faster response time
– Lower storage requirements
– Easier to secure
– Increased data accuracy
• Disadvantages
– Increased vulnerability (backup is essential)
Understanding Computers: Today and Tomorrow, 13th Edition
11
Data Concepts and Characteristics
• Data hierarchy
– Characters
– Fields/columns: Hold single pieces of data
– Records/rows: Groups of related fields
– Tables: Collection of related records
– Database: Contains a group of related tables
• Entity: Something of importance to the organization
– Entities that the organization wants to store data
about typically becomes a database table
– Attributes: Characteristics of an entity
• Typically become fields in the entity’s database
table
Understanding Computers: Today and Tomorrow, 13th Edition
12
Data Concepts and Characteristics
• Entity relationships: Describe an association between
two or more entities
– One-to-one (1:1) entity relationships (not common)
• e.g. each store has a single manager
– One-to-many (O:M) entity relationships (most
common)
• e.g. a supplier supplies more than one product to a
company
– Many-to-many (M:M) entity relationships (requires a
third table to tie the tables together)
• e.g. an order can contain multiple products and a
product can appear on multiple orders
Understanding Computers: Today and Tomorrow, 13th Edition
13
Data Concepts and Characteristics
• Data definition: The process of describing the properties
of data to be included in a database table
– During data definition, each field is assigned:
• Name (must be unique within the table)
• Data type (such as Text, Number, Currency,
Date/Time)
• Description (optional description of the field)
• Properties (field size, format of the field, allowable
range, if field is required, etc.)
• Finished specifications for a table become the table
structure
Understanding Computers: Today and Tomorrow, 13th Edition
14
Data Definition
Understanding Computers: Today and Tomorrow, 13th Edition
15
Data Concepts and Characteristics
• Data dictionary: Contains all data definitions in a
database
– Table structures
• Names, types and properties of each field
– Security information (passwords, etc.)
– Relationships between the tables in the database
– Current information about each table, such as the
current number of records
– Does not contain any of the data in the tables
• Metadata: Data about the database tables
– Ensures that data being entered into the database
does not violate any specified criteria
Understanding Computers: Today and Tomorrow, 13th Edition
16
Data Concepts and Characteristics
• Data integrity: The accuracy of data
– Quality of data input determines the quality of
retrieved information
– Data validation: Ensuring that data entered into the
database is valid
• Record validation rules: Checks all fields before
changes to a record are saved
• Can be enforced on a per transaction basis so the
entire transaction will fail if one part is invalid
– Database locking
• Prevents two individuals from changing the same
data at the same time
Understanding Computers: Today and Tomorrow, 13th Edition
17
Data Validation
Understanding Computers: Today and Tomorrow, 13th Edition
18
Data Concepts and Characteristics
• Data security: Protecting data against destruction and
misuse
– Protects against unauthorized access
– Database activity monitoring programs can be used to
detect possible intrusions
– Should include strict backup and disaster-recovery
procedures (disaster-recovery plan)
• Protects against data loss
• Data privacy: Growing concern because of the vast
amounts of personal data stored in databases today
Understanding Computers: Today and Tomorrow, 13th Edition
19
Data Concepts and Characteristics
• Data organization: Arranging data for efficient
retrieval
– Indexed
organization
uses an
index to
keep track
of where
data is
stored
Understanding Computers: Today and Tomorrow, 13th Edition
20
Data Concepts and Characteristics
– Direct organization
• Uses hashing algorithms to specify the
exact storage location
• Location is based on primary key
• Algorithms should be
designed to limit collisions
– Sometimes a combination of
indexing and direct organization
is used within a database
system
Understanding Computers: Today and Tomorrow, 13th Edition
21
Quick Quiz
1. A column in a database in which customer names are
stored would be referred to as a
______________________.
a. field
b. record
c. table
2. True or False: Data validation procedures are used to
ensure that data entered into a database matches the
specified type, format, and allowable value.
3. The ______________________ contains metadata about
the database tables in a database.
Answers:
1) a; 2) True; 3) data dictionary
Understanding Computers: Today and Tomorrow, 13th Edition
22
Database Classifications
• Single-user database system: Designed to be accessed
by one user
• Multiuser database system: Designed to be accessed by
multiple users (most business databases today)
• Client-server
database systems:
Has both clients
(front end) and at
least one database
server (back end)
Understanding Computers: Today and Tomorrow, 13th Edition
23
Database Classifications
• N-tier database system: Has more than two tiers
– Middle tiers contain one or more programs stored on
one or more computers
• Program code is
separate from the
database
• Provides flexibility and
scalability
Understanding Computers: Today and Tomorrow, 13th Edition
24
Database Classifications
• Centralized database system: Database is located on a
single computer, such as a server or mainframe
• Distributed database system: Data is physically divided
among several computers connected by a network, but
the database logically looks like it is a single database
• Disk-based databases: Data is stored on hard drives
• In-memory databases (IMDBs): Data is stored in main
memory
– Faster, used when performance is critical
– Good backup procedures are essential
Understanding Computers: Today and Tomorrow, 13th Edition
25
Database Classifications
Understanding Computers: Today and Tomorrow, 13th Edition
26
Quick Quiz
1. Which type of database system is beginning to be used in
high-end systems where performance is crucial?
a. In-memory databases
b. Disk-based databases
c. Single-user databases
2. True or False: With the n-tier database model, there is at
least one middle piece of software between the client and
the server.
3. With a(n) ______________________ database system, the
databases used by the system are all located on a single
computer.
Answers:
1) a; 2) True; 3) centralized
Understanding Computers: Today and Tomorrow, 13th Edition
27
Database Models
• Two older models:
– Hierarchical databases: Store data in the form of a
tree, with typically a one-to-many relationship
between data entities
– Network databases: Show the relationship between
data elements usually as either one-to-many or many-
to-many
• Relational database management system (RDBMS)
– Data is organized in tables related by common fields
– Most widely used database model today
Understanding Computers: Today and Tomorrow, 13th Edition
• Database design steps
– Identify the purpose of the database
– Determine the tables and fields
– Assign the fields to a table and reorganize as needed
to minimize
redundancy
(normalization)
– Finalize the
structure
(primary keys,
field properties,
etc.)
28
The Relational Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
29
The Relational Database Model
• Creating a relational database:
– Create the database file
– Create the structure of each individual table (in
Access, can be performed in either Design or
Datasheet view)
– Enter data
• Existing data can be migrated to the new database
• New data can be added via form or the Design
view
– Relate tables as needed
Understanding Computers: Today and Tomorrow, 13th Edition
30
The Relational Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
31
The Relational Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
32
The Relational Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
33
The Relational Database Model
• Retrieving information from database
– Query: A request to see information from a database
that matches specific criteria
• Specifies which records should be retrieved by
specifying criteria
• Can specify the fields to be displayed
• Many programs have wizards or other tools to
make it easy to create a query
• Must be designed to extract information as
efficiently as possible
• Queries are saved so they can be retrieved again
when needed; proper results are displayed each
time the query is run
Understanding Computers: Today and Tomorrow, 13th Edition
34
The Relational Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
35
The Relational Database Model
– Report: Formatted means of looking at a database
table or the results of a query
• Reports can pull data from more than one table
• Many programs have wizards or other tools to
make it easy to create a report
• Can be modified and customized using the Design
view
• Reports are saved so they can be retrieved again
when needed; proper results are displayed each
time the query is run
Understanding Computers: Today and Tomorrow, 13th Edition
36
The Relational Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
37
The Relational Database Model
• Maintaining a database
– Data in tables can be edited as needed
– Table structures can be modified when needed
– Other possible modifications:
• Adding new indexes to speed up queries
• Deleting obsolete data
• Upgrading database software, installing patches
• Repairing/restoring data that has become corrupt
• Continuing to evaluate and improve security
Understanding Computers: Today and Tomorrow, 13th Edition
38
The Object-Oriented Database Model
• Object-oriented database management system
(OODBMS): Database system in which multiple types of
data are stored as objects along with their related code
– Objects contain data along with the methods that can
be taken with that data
– Objects in an OODBMS can contain virtually any type
of data—video clip, photograph with a narrative, text
with music, and so on—along with the methods to be
used with that data
– Objects can be retrieved using queries
• OQL – Object Query Language
– OO version of SQL
Understanding Computers: Today and Tomorrow, 13th Edition
39
The Object-Oriented Database Model
Understanding Computers: Today and Tomorrow, 13th Edition
40
Hybrid Database Models
• Hybrid database: A combination of database types or
models
– Hybrid XML/relational
database: Can store and
retrieve both XML data
and relational data
Understanding Computers: Today and Tomorrow, 13th Edition
41
Multidimensional Databases
• Multidimensional database (MDDB): Type of database
designed to be used with data warehousing
– Often used in conjunction with Online Analytical
Processing (OLAP)
• MOLAP (Multidimensional OLAP): Data is stored in
single structures called data cubes
• ROLAP (Relational OLAP): Data is stored in an
existing relational database using tables to store
the summary information
• HOLAP (Hybrid OLAP): Combination of MOLAP
and ROLAP technologies
Understanding Computers: Today and Tomorrow, 13th Edition
42
Databases and the Web
• Databases are commonly used on the Web
– Information retrieval, e-commerce, dynamic Web
pages (change based on user input), etc.
Understanding Computers: Today and Tomorrow, 13th Edition
43
Online Video
“Real Estate Searching with Google Maps”
(click below to start video)
Reminder: The complete set of online videos and video podcasts are available at:
www.cengage.com/computerconcepts/np/uc13
Courtesy of Google Inc.
Understanding Computers: Today and Tomorrow, 13th Edition
44
Databases and the Web
• How Web databases work
– Visitor makes request via a Web site
• Search form
• Logging on to personalize site
• Uploading user content
– Web server converts the request into a database
query and passes it onto the database server, and
then sends the results back to the visitor
Understanding Computers: Today and Tomorrow, 13th Edition
45
Databases and the Web
– Middleware is used to connect two otherwise
separate applications, such as a Web server and a
database management system
• Commonly written as scripts
– JavaScript
– VB Script
– CGI scripts
– Active Server Pages (ASPs)
– PHP scripts
Understanding Computers: Today and Tomorrow, 13th Edition
46
Databases and the Web
Understanding Computers: Today and Tomorrow, 13th Edition
47
Quick Quiz
1. Which of the following is the most widely used type of
database today?
a. Network
b. Relational
c. Object-oriented
2. True or False: Databases are often used in conjunction with
dynamic Web pages.
3. A(n) _______________________ is used to extract specific
information from a database by specifying particular
conditions about the data to be retrieved.
Answers:
1) b; 2) True; 3) query
Understanding Computers: Today and Tomorrow, 13th Edition
48
Summary
• What Is a Database?
• Data Concepts and Characteristics
• Database Classifications
• Database Models
• Databases and the Web

More Related Content

What's hot

System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
Zakaria Hossain
 
software management, project management,
software management, project management,software management, project management,
software management, project management,Lisa Elisa
 
Presentation(group j)implementing trustworthy computing by Sundas Ilyas
Presentation(group j)implementing  trustworthy computing by Sundas IlyasPresentation(group j)implementing  trustworthy computing by Sundas Ilyas
Presentation(group j)implementing trustworthy computing by Sundas IlyasSundas Kayani
 
Career paths in ICT
Career paths in ICTCareer paths in ICT
Career paths in ICT
Aurora Computer Studies
 
what is computer
what is computer what is computer
what is computer
RajaSharma63
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its ComponentsMahmuda Rahman
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
Chankey Pathak
 
CHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).ppt
CHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).pptCHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).ppt
CHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).ppt
RogerPrimo2
 
Comparision of scheduling algorithms
Comparision of scheduling algorithmsComparision of scheduling algorithms
Comparision of scheduling algorithms
Tanya Makkar
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_design
Tushar Rajput
 
Software Engineering - Ch1
Software Engineering - Ch1Software Engineering - Ch1
Software Engineering - Ch1Siddharth Ayer
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
Hans Raj
 
Intro Ch 07 A
Intro Ch 07 AIntro Ch 07 A
Intro Ch 07 A
ali00061
 
Unit II - 2 - Operating System - Threads
Unit II - 2 - Operating System - ThreadsUnit II - 2 - Operating System - Threads
Unit II - 2 - Operating System - Threads
cscarcas
 
[PDF] Principles of Information Systems
[PDF] Principles of Information Systems[PDF] Principles of Information Systems
[PDF] Principles of Information Systems
SamsonBrown
 
Chapter 4 Peter Norton
Chapter 4 Peter NortonChapter 4 Peter Norton
Chapter 4 Peter Norton
রেদওয়ান হৃদয়
 
information system analysis and design
information system analysis and designinformation system analysis and design
information system analysis and design
EndalkachewYazie1
 
Computer ethics & copyright
Computer  ethics & copyrightComputer  ethics & copyright
Computer ethics & copyright
Vehitaltinci
 
System Analysis and Design
System Analysis and Design System Analysis and Design
System Analysis and Design Matthew McKenzie
 

What's hot (20)

System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 
software management, project management,
software management, project management,software management, project management,
software management, project management,
 
Presentation(group j)implementing trustworthy computing by Sundas Ilyas
Presentation(group j)implementing  trustworthy computing by Sundas IlyasPresentation(group j)implementing  trustworthy computing by Sundas Ilyas
Presentation(group j)implementing trustworthy computing by Sundas Ilyas
 
Career paths in ICT
Career paths in ICTCareer paths in ICT
Career paths in ICT
 
what is computer
what is computer what is computer
what is computer
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
 
CHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).ppt
CHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).pptCHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).ppt
CHAPTER 1 - PROFESSIONAL ISSUES (Lecture 1.2).ppt
 
Comparision of scheduling algorithms
Comparision of scheduling algorithmsComparision of scheduling algorithms
Comparision of scheduling algorithms
 
Uc14 chap04
Uc14 chap04Uc14 chap04
Uc14 chap04
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_design
 
Software Engineering - Ch1
Software Engineering - Ch1Software Engineering - Ch1
Software Engineering - Ch1
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
Intro Ch 07 A
Intro Ch 07 AIntro Ch 07 A
Intro Ch 07 A
 
Unit II - 2 - Operating System - Threads
Unit II - 2 - Operating System - ThreadsUnit II - 2 - Operating System - Threads
Unit II - 2 - Operating System - Threads
 
[PDF] Principles of Information Systems
[PDF] Principles of Information Systems[PDF] Principles of Information Systems
[PDF] Principles of Information Systems
 
Chapter 4 Peter Norton
Chapter 4 Peter NortonChapter 4 Peter Norton
Chapter 4 Peter Norton
 
information system analysis and design
information system analysis and designinformation system analysis and design
information system analysis and design
 
Computer ethics & copyright
Computer  ethics & copyrightComputer  ethics & copyright
Computer ethics & copyright
 
System Analysis and Design
System Analysis and Design System Analysis and Design
System Analysis and Design
 

Viewers also liked

Longevity Network - Key Opportunities & Trends
Longevity Network - Key Opportunities & TrendsLongevity Network - Key Opportunities & Trends
Longevity Network - Key Opportunities & Trends
Longevity Network
 
Social Media _______Corporate Information Strategy and Management
Social Media _______Corporate Information Strategy and ManagementSocial Media _______Corporate Information Strategy and Management
Social Media _______Corporate Information Strategy and ManagementQasim Raza
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
yaminohime
 
ICAB - ITK Chapter 2 Set 2 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 2 - Information Technology ArchitectureICAB - ITK Chapter 2 Set 2 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 2 - Information Technology Architecture
Mohammad Abdul Matin Emon
 
ICAB - ITK Chapter 2 Set 1 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 1 - Information Technology ArchitectureICAB - ITK Chapter 2 Set 1 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 1 - Information Technology Architecture
Mohammad Abdul Matin Emon
 
Architecture Series 5-1 EA As Corporate Strategy Introduction
Architecture Series 5-1   EA As Corporate Strategy   IntroductionArchitecture Series 5-1   EA As Corporate Strategy   Introduction
Architecture Series 5-1 EA As Corporate Strategy Introduction
Frankie Hsiang
 
Corporate information strategy & management
Corporate information strategy & managementCorporate information strategy & management
Corporate information strategy & managementschool teaching
 
2006-2007 Information Technology Strategy
2006-2007 Information Technology Strategy2006-2007 Information Technology Strategy
2006-2007 Information Technology Strategywebhostingguy
 
News Corporation - Corporate Strategy
News Corporation - Corporate StrategyNews Corporation - Corporate Strategy
News Corporation - Corporate Strategy
Vishal Sharma
 
CHAPTER 6 Strategy at the Corporate Level
CHAPTER 6 Strategy at the Corporate LevelCHAPTER 6 Strategy at the Corporate Level
CHAPTER 6 Strategy at the Corporate Level5045033
 
Laudon mis12 ppt01
Laudon mis12 ppt01Laudon mis12 ppt01
Laudon mis12 ppt01Norazila Mat
 
IT Strategy Framework
IT Strategy FrameworkIT Strategy Framework
IT Strategy Framework
Vishal Sharma
 
Women empowerment
Women empowermentWomen empowerment
Women empowerment
Menaal Kaushal
 

Viewers also liked (13)

Longevity Network - Key Opportunities & Trends
Longevity Network - Key Opportunities & TrendsLongevity Network - Key Opportunities & Trends
Longevity Network - Key Opportunities & Trends
 
Social Media _______Corporate Information Strategy and Management
Social Media _______Corporate Information Strategy and ManagementSocial Media _______Corporate Information Strategy and Management
Social Media _______Corporate Information Strategy and Management
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
 
ICAB - ITK Chapter 2 Set 2 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 2 - Information Technology ArchitectureICAB - ITK Chapter 2 Set 2 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 2 - Information Technology Architecture
 
ICAB - ITK Chapter 2 Set 1 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 1 - Information Technology ArchitectureICAB - ITK Chapter 2 Set 1 - Information Technology Architecture
ICAB - ITK Chapter 2 Set 1 - Information Technology Architecture
 
Architecture Series 5-1 EA As Corporate Strategy Introduction
Architecture Series 5-1   EA As Corporate Strategy   IntroductionArchitecture Series 5-1   EA As Corporate Strategy   Introduction
Architecture Series 5-1 EA As Corporate Strategy Introduction
 
Corporate information strategy & management
Corporate information strategy & managementCorporate information strategy & management
Corporate information strategy & management
 
2006-2007 Information Technology Strategy
2006-2007 Information Technology Strategy2006-2007 Information Technology Strategy
2006-2007 Information Technology Strategy
 
News Corporation - Corporate Strategy
News Corporation - Corporate StrategyNews Corporation - Corporate Strategy
News Corporation - Corporate Strategy
 
CHAPTER 6 Strategy at the Corporate Level
CHAPTER 6 Strategy at the Corporate LevelCHAPTER 6 Strategy at the Corporate Level
CHAPTER 6 Strategy at the Corporate Level
 
Laudon mis12 ppt01
Laudon mis12 ppt01Laudon mis12 ppt01
Laudon mis12 ppt01
 
IT Strategy Framework
IT Strategy FrameworkIT Strategy Framework
IT Strategy Framework
 
Women empowerment
Women empowermentWomen empowerment
Women empowerment
 

Similar to Uc13.chapter.14

Uc14 chap14
Uc14 chap14Uc14 chap14
Uc14 chap14ayahye
 
Database management system
Database management systemDatabase management system
Database management system
sangeethachandrabose
 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topic
hoseg78377
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applications
RAJESH S
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
dhanajimirajkar1
 
Emerging Technologies in IT
Emerging Technologies in ITEmerging Technologies in IT
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
Merlin Florrence
 
Anshu Joshi_2371050_DBMS.pptxData base management system
Anshu Joshi_2371050_DBMS.pptxData base management systemAnshu Joshi_2371050_DBMS.pptxData base management system
Anshu Joshi_2371050_DBMS.pptxData base management system
anshjoshi7417
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
Lijo Stalin
 
Database Systems
Database SystemsDatabase Systems
Database Systems
Usman Tariq
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
Dilawar Khan
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdf
MuniraALmogren
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
Chapter 7. Databases Chapter In Introduction to Computer. Pptx
Chapter 7. Databases Chapter In Introduction to Computer. PptxChapter 7. Databases Chapter In Introduction to Computer. Pptx
Chapter 7. Databases Chapter In Introduction to Computer. Pptx
MohsinChaudhary17
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
Sreenivas R
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
jayussuryawan
 

Similar to Uc13.chapter.14 (20)

Uc14 chap14
Uc14 chap14Uc14 chap14
Uc14 chap14
 
Uc14 chap14
Uc14 chap14Uc14 chap14
Uc14 chap14
 
Database management system
Database management systemDatabase management system
Database management system
 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topic
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applications
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
Is ch05
Is ch05Is ch05
Is ch05
 
Emerging Technologies in IT
Emerging Technologies in ITEmerging Technologies in IT
Emerging Technologies in IT
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Anshu Joshi_2371050_DBMS.pptxData base management system
Anshu Joshi_2371050_DBMS.pptxData base management systemAnshu Joshi_2371050_DBMS.pptxData base management system
Anshu Joshi_2371050_DBMS.pptxData base management system
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdf
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Chapter 7. Databases Chapter In Introduction to Computer. Pptx
Chapter 7. Databases Chapter In Introduction to Computer. PptxChapter 7. Databases Chapter In Introduction to Computer. Pptx
Chapter 7. Databases Chapter In Introduction to Computer. Pptx
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
 

More from Irfan Ali Memon

MaMarksheet
MaMarksheetMaMarksheet
MaMarksheet
Irfan Ali Memon
 
IT Ait ict quiz_two
IT Ait ict quiz_twoIT Ait ict quiz_two
IT Ait ict quiz_two
Irfan Ali Memon
 
Week14 final
Week14 finalWeek14 final
Week14 final
Irfan Ali Memon
 
Week13 final
Week13 finalWeek13 final
Week13 final
Irfan Ali Memon
 
Week12 final
Week12 finalWeek12 final
Week12 final
Irfan Ali Memon
 
Week11 final
Week11 finalWeek11 final
Week11 final
Irfan Ali Memon
 
Week10 final
Week10 finalWeek10 final
Week10 final
Irfan Ali Memon
 
Week9 final
Week9 finalWeek9 final
Week9 final
Irfan Ali Memon
 
Week8 final
Week8 finalWeek8 final
Week8 final
Irfan Ali Memon
 
Week7 final
Week7 finalWeek7 final
Week7 final
Irfan Ali Memon
 
Uc13.chapter.16
Uc13.chapter.16Uc13.chapter.16
Uc13.chapter.16
Irfan Ali Memon
 
Uc13.chapter.15
Uc13.chapter.15Uc13.chapter.15
Uc13.chapter.15
Irfan Ali Memon
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
Irfan Ali Memon
 
Uc13.chapter.12
Uc13.chapter.12Uc13.chapter.12
Uc13.chapter.12
Irfan Ali Memon
 
Uc13.chapter.11
Uc13.chapter.11Uc13.chapter.11
Uc13.chapter.11
Irfan Ali Memon
 
Uc13.chapter.10
Uc13.chapter.10Uc13.chapter.10
Uc13.chapter.10
Irfan Ali Memon
 
Uc13.chapter.09
Uc13.chapter.09Uc13.chapter.09
Uc13.chapter.09
Irfan Ali Memon
 
Uc13.chapter.08
Uc13.chapter.08Uc13.chapter.08
Uc13.chapter.08
Irfan Ali Memon
 
Uc13.chapter.07
Uc13.chapter.07Uc13.chapter.07
Uc13.chapter.07
Irfan Ali Memon
 
Uc13.chapter.06
Uc13.chapter.06Uc13.chapter.06
Uc13.chapter.06
Irfan Ali Memon
 

More from Irfan Ali Memon (20)

MaMarksheet
MaMarksheetMaMarksheet
MaMarksheet
 
IT Ait ict quiz_two
IT Ait ict quiz_twoIT Ait ict quiz_two
IT Ait ict quiz_two
 
Week14 final
Week14 finalWeek14 final
Week14 final
 
Week13 final
Week13 finalWeek13 final
Week13 final
 
Week12 final
Week12 finalWeek12 final
Week12 final
 
Week11 final
Week11 finalWeek11 final
Week11 final
 
Week10 final
Week10 finalWeek10 final
Week10 final
 
Week9 final
Week9 finalWeek9 final
Week9 final
 
Week8 final
Week8 finalWeek8 final
Week8 final
 
Week7 final
Week7 finalWeek7 final
Week7 final
 
Uc13.chapter.16
Uc13.chapter.16Uc13.chapter.16
Uc13.chapter.16
 
Uc13.chapter.15
Uc13.chapter.15Uc13.chapter.15
Uc13.chapter.15
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
 
Uc13.chapter.12
Uc13.chapter.12Uc13.chapter.12
Uc13.chapter.12
 
Uc13.chapter.11
Uc13.chapter.11Uc13.chapter.11
Uc13.chapter.11
 
Uc13.chapter.10
Uc13.chapter.10Uc13.chapter.10
Uc13.chapter.10
 
Uc13.chapter.09
Uc13.chapter.09Uc13.chapter.09
Uc13.chapter.09
 
Uc13.chapter.08
Uc13.chapter.08Uc13.chapter.08
Uc13.chapter.08
 
Uc13.chapter.07
Uc13.chapter.07Uc13.chapter.07
Uc13.chapter.07
 
Uc13.chapter.06
Uc13.chapter.06Uc13.chapter.06
Uc13.chapter.06
 

Recently uploaded

test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 

Recently uploaded (20)

test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 

Uc13.chapter.14

  • 1. Understanding Computers: Today and Tomorrow, 13th Edition Chapter 14: Databases and Database Management Systems
  • 2. Understanding Computers: Today and Tomorrow, 13th Edition 2 Learning Objectives 1. Explain what a database is, including common database terminology, and list some of the advantages and disadvantages of using databases. 2. Discuss some basic concepts and characteristics of data, such as data hierarchy, entity relationships, and data definition. 3. Describe the importance of data integrity, security, and privacy, and how they affect database design.
  • 3. Understanding Computers: Today and Tomorrow, 13th Edition 3 Learning Objectives 4. Identify some basic database classifications and discuss their differences. 5. List the most common database models and discuss how they are used today. 6. Understand how a relational database is designed, created, used, and maintained. 7. Describe some ways databases are used on the Web.
  • 4. Understanding Computers: Today and Tomorrow, 13th Edition 4 Overview • This chapter covers: – What a database is, the individuals who use them, and how databases evolved – Important database concepts and characteristics – Database classifications and models – How to create and use a relational database – How databases are used on the Web
  • 5. Understanding Computers: Today and Tomorrow, 13th Edition 5 What Is a Database? • Database: A collection of related data stored in a manner so it can be retrieved as needed • Database management system (DBMS): Used to create, maintain, and access databases • A database typically consists of: – Tables: Collection of related records – Fields (columns): Single category of data to be stored in a database (name, telephone number, etc.) – Records (rows): Collection of related fields in a database (all the fields for one customer, for example) • Relational database: Data from several tables is tied together (related) using a field that the tables have in common
  • 6. Understanding Computers: Today and Tomorrow, 13th Edition 6 A Simple Relational Database Example
  • 7. Understanding Computers: Today and Tomorrow, 13th Edition 7 What Is a Database? • Primary key: Specific field that uniquely identifies the records in that table – Used in a relational database to relate tables together – Must be unique and a field that doesn’t change • PC DBMSs include: – Microsoft Access, Corel Paradox, Lotus Approach • For more comprehensive enterprise databases – Oracle Database, IBM DB2, Microsoft SQL Server
  • 8. Understanding Computers: Today and Tomorrow, 13th Edition 88 What Is a Database? • Individuals involved with a DBMS: – Database designers: Design the database – Database developers: Create the database – Database programmers: Write the programs needed to access the database or tie the database to other programs – Database administrators: Responsible for managing the databases within an organization – Users: Individuals who enter data, update data, and retrieve information out of the database
  • 9. Understanding Computers: Today and Tomorrow, 13th Edition 9 The Evolution of Databases
  • 10. Understanding Computers: Today and Tomorrow, 13th Edition 10 Advantages and Disadvantages of the DBMS Approach • Advantages – Faster response time – Lower storage requirements – Easier to secure – Increased data accuracy • Disadvantages – Increased vulnerability (backup is essential)
  • 11. Understanding Computers: Today and Tomorrow, 13th Edition 11 Data Concepts and Characteristics • Data hierarchy – Characters – Fields/columns: Hold single pieces of data – Records/rows: Groups of related fields – Tables: Collection of related records – Database: Contains a group of related tables • Entity: Something of importance to the organization – Entities that the organization wants to store data about typically becomes a database table – Attributes: Characteristics of an entity • Typically become fields in the entity’s database table
  • 12. Understanding Computers: Today and Tomorrow, 13th Edition 12 Data Concepts and Characteristics • Entity relationships: Describe an association between two or more entities – One-to-one (1:1) entity relationships (not common) • e.g. each store has a single manager – One-to-many (O:M) entity relationships (most common) • e.g. a supplier supplies more than one product to a company – Many-to-many (M:M) entity relationships (requires a third table to tie the tables together) • e.g. an order can contain multiple products and a product can appear on multiple orders
  • 13. Understanding Computers: Today and Tomorrow, 13th Edition 13 Data Concepts and Characteristics • Data definition: The process of describing the properties of data to be included in a database table – During data definition, each field is assigned: • Name (must be unique within the table) • Data type (such as Text, Number, Currency, Date/Time) • Description (optional description of the field) • Properties (field size, format of the field, allowable range, if field is required, etc.) • Finished specifications for a table become the table structure
  • 14. Understanding Computers: Today and Tomorrow, 13th Edition 14 Data Definition
  • 15. Understanding Computers: Today and Tomorrow, 13th Edition 15 Data Concepts and Characteristics • Data dictionary: Contains all data definitions in a database – Table structures • Names, types and properties of each field – Security information (passwords, etc.) – Relationships between the tables in the database – Current information about each table, such as the current number of records – Does not contain any of the data in the tables • Metadata: Data about the database tables – Ensures that data being entered into the database does not violate any specified criteria
  • 16. Understanding Computers: Today and Tomorrow, 13th Edition 16 Data Concepts and Characteristics • Data integrity: The accuracy of data – Quality of data input determines the quality of retrieved information – Data validation: Ensuring that data entered into the database is valid • Record validation rules: Checks all fields before changes to a record are saved • Can be enforced on a per transaction basis so the entire transaction will fail if one part is invalid – Database locking • Prevents two individuals from changing the same data at the same time
  • 17. Understanding Computers: Today and Tomorrow, 13th Edition 17 Data Validation
  • 18. Understanding Computers: Today and Tomorrow, 13th Edition 18 Data Concepts and Characteristics • Data security: Protecting data against destruction and misuse – Protects against unauthorized access – Database activity monitoring programs can be used to detect possible intrusions – Should include strict backup and disaster-recovery procedures (disaster-recovery plan) • Protects against data loss • Data privacy: Growing concern because of the vast amounts of personal data stored in databases today
  • 19. Understanding Computers: Today and Tomorrow, 13th Edition 19 Data Concepts and Characteristics • Data organization: Arranging data for efficient retrieval – Indexed organization uses an index to keep track of where data is stored
  • 20. Understanding Computers: Today and Tomorrow, 13th Edition 20 Data Concepts and Characteristics – Direct organization • Uses hashing algorithms to specify the exact storage location • Location is based on primary key • Algorithms should be designed to limit collisions – Sometimes a combination of indexing and direct organization is used within a database system
  • 21. Understanding Computers: Today and Tomorrow, 13th Edition 21 Quick Quiz 1. A column in a database in which customer names are stored would be referred to as a ______________________. a. field b. record c. table 2. True or False: Data validation procedures are used to ensure that data entered into a database matches the specified type, format, and allowable value. 3. The ______________________ contains metadata about the database tables in a database. Answers: 1) a; 2) True; 3) data dictionary
  • 22. Understanding Computers: Today and Tomorrow, 13th Edition 22 Database Classifications • Single-user database system: Designed to be accessed by one user • Multiuser database system: Designed to be accessed by multiple users (most business databases today) • Client-server database systems: Has both clients (front end) and at least one database server (back end)
  • 23. Understanding Computers: Today and Tomorrow, 13th Edition 23 Database Classifications • N-tier database system: Has more than two tiers – Middle tiers contain one or more programs stored on one or more computers • Program code is separate from the database • Provides flexibility and scalability
  • 24. Understanding Computers: Today and Tomorrow, 13th Edition 24 Database Classifications • Centralized database system: Database is located on a single computer, such as a server or mainframe • Distributed database system: Data is physically divided among several computers connected by a network, but the database logically looks like it is a single database • Disk-based databases: Data is stored on hard drives • In-memory databases (IMDBs): Data is stored in main memory – Faster, used when performance is critical – Good backup procedures are essential
  • 25. Understanding Computers: Today and Tomorrow, 13th Edition 25 Database Classifications
  • 26. Understanding Computers: Today and Tomorrow, 13th Edition 26 Quick Quiz 1. Which type of database system is beginning to be used in high-end systems where performance is crucial? a. In-memory databases b. Disk-based databases c. Single-user databases 2. True or False: With the n-tier database model, there is at least one middle piece of software between the client and the server. 3. With a(n) ______________________ database system, the databases used by the system are all located on a single computer. Answers: 1) a; 2) True; 3) centralized
  • 27. Understanding Computers: Today and Tomorrow, 13th Edition 27 Database Models • Two older models: – Hierarchical databases: Store data in the form of a tree, with typically a one-to-many relationship between data entities – Network databases: Show the relationship between data elements usually as either one-to-many or many- to-many • Relational database management system (RDBMS) – Data is organized in tables related by common fields – Most widely used database model today
  • 28. Understanding Computers: Today and Tomorrow, 13th Edition • Database design steps – Identify the purpose of the database – Determine the tables and fields – Assign the fields to a table and reorganize as needed to minimize redundancy (normalization) – Finalize the structure (primary keys, field properties, etc.) 28 The Relational Database Model
  • 29. Understanding Computers: Today and Tomorrow, 13th Edition 29 The Relational Database Model • Creating a relational database: – Create the database file – Create the structure of each individual table (in Access, can be performed in either Design or Datasheet view) – Enter data • Existing data can be migrated to the new database • New data can be added via form or the Design view – Relate tables as needed
  • 30. Understanding Computers: Today and Tomorrow, 13th Edition 30 The Relational Database Model
  • 31. Understanding Computers: Today and Tomorrow, 13th Edition 31 The Relational Database Model
  • 32. Understanding Computers: Today and Tomorrow, 13th Edition 32 The Relational Database Model
  • 33. Understanding Computers: Today and Tomorrow, 13th Edition 33 The Relational Database Model • Retrieving information from database – Query: A request to see information from a database that matches specific criteria • Specifies which records should be retrieved by specifying criteria • Can specify the fields to be displayed • Many programs have wizards or other tools to make it easy to create a query • Must be designed to extract information as efficiently as possible • Queries are saved so they can be retrieved again when needed; proper results are displayed each time the query is run
  • 34. Understanding Computers: Today and Tomorrow, 13th Edition 34 The Relational Database Model
  • 35. Understanding Computers: Today and Tomorrow, 13th Edition 35 The Relational Database Model – Report: Formatted means of looking at a database table or the results of a query • Reports can pull data from more than one table • Many programs have wizards or other tools to make it easy to create a report • Can be modified and customized using the Design view • Reports are saved so they can be retrieved again when needed; proper results are displayed each time the query is run
  • 36. Understanding Computers: Today and Tomorrow, 13th Edition 36 The Relational Database Model
  • 37. Understanding Computers: Today and Tomorrow, 13th Edition 37 The Relational Database Model • Maintaining a database – Data in tables can be edited as needed – Table structures can be modified when needed – Other possible modifications: • Adding new indexes to speed up queries • Deleting obsolete data • Upgrading database software, installing patches • Repairing/restoring data that has become corrupt • Continuing to evaluate and improve security
  • 38. Understanding Computers: Today and Tomorrow, 13th Edition 38 The Object-Oriented Database Model • Object-oriented database management system (OODBMS): Database system in which multiple types of data are stored as objects along with their related code – Objects contain data along with the methods that can be taken with that data – Objects in an OODBMS can contain virtually any type of data—video clip, photograph with a narrative, text with music, and so on—along with the methods to be used with that data – Objects can be retrieved using queries • OQL – Object Query Language – OO version of SQL
  • 39. Understanding Computers: Today and Tomorrow, 13th Edition 39 The Object-Oriented Database Model
  • 40. Understanding Computers: Today and Tomorrow, 13th Edition 40 Hybrid Database Models • Hybrid database: A combination of database types or models – Hybrid XML/relational database: Can store and retrieve both XML data and relational data
  • 41. Understanding Computers: Today and Tomorrow, 13th Edition 41 Multidimensional Databases • Multidimensional database (MDDB): Type of database designed to be used with data warehousing – Often used in conjunction with Online Analytical Processing (OLAP) • MOLAP (Multidimensional OLAP): Data is stored in single structures called data cubes • ROLAP (Relational OLAP): Data is stored in an existing relational database using tables to store the summary information • HOLAP (Hybrid OLAP): Combination of MOLAP and ROLAP technologies
  • 42. Understanding Computers: Today and Tomorrow, 13th Edition 42 Databases and the Web • Databases are commonly used on the Web – Information retrieval, e-commerce, dynamic Web pages (change based on user input), etc.
  • 43. Understanding Computers: Today and Tomorrow, 13th Edition 43 Online Video “Real Estate Searching with Google Maps” (click below to start video) Reminder: The complete set of online videos and video podcasts are available at: www.cengage.com/computerconcepts/np/uc13 Courtesy of Google Inc.
  • 44. Understanding Computers: Today and Tomorrow, 13th Edition 44 Databases and the Web • How Web databases work – Visitor makes request via a Web site • Search form • Logging on to personalize site • Uploading user content – Web server converts the request into a database query and passes it onto the database server, and then sends the results back to the visitor
  • 45. Understanding Computers: Today and Tomorrow, 13th Edition 45 Databases and the Web – Middleware is used to connect two otherwise separate applications, such as a Web server and a database management system • Commonly written as scripts – JavaScript – VB Script – CGI scripts – Active Server Pages (ASPs) – PHP scripts
  • 46. Understanding Computers: Today and Tomorrow, 13th Edition 46 Databases and the Web
  • 47. Understanding Computers: Today and Tomorrow, 13th Edition 47 Quick Quiz 1. Which of the following is the most widely used type of database today? a. Network b. Relational c. Object-oriented 2. True or False: Databases are often used in conjunction with dynamic Web pages. 3. A(n) _______________________ is used to extract specific information from a database by specifying particular conditions about the data to be retrieved. Answers: 1) b; 2) True; 3) query
  • 48. Understanding Computers: Today and Tomorrow, 13th Edition 48 Summary • What Is a Database? • Data Concepts and Characteristics • Database Classifications • Database Models • Databases and the Web