SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Chapter 1
Database and Database
Users
Dr. Bernard Chen Ph.D.
University of Central Arkansas
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS
approach
Database Examples
 Database is involved like everywhere in our
world
 For example:
If we go to bank to deposit or withdraw
Make hotel and airline reservation
Purchase something on line
Buy groceries in supermarkets
Database Applications
 These examples are what we called traditional
database applications
(First part of book focuses on traditional applications)
 More Recent Applications:
 Youtube
 iTunes
 Geographic Information Systems (GIS)
 Data Warehouses
 Many other applications
Database can be any size and
complexity
For example:
 A list of names and address
 IRS
(assume it has 100 million taxpayers and each
taxpayer file 5 forms with 400 characters of
information per form=800Gbyte)
 Amazon.com
(15 million people visit per day; about 100 people are
responsible for database update)
Database System
 Database:
A collection of related data.
 Data:
Known facts that can be recorded and have an
implicit meaning.
 Database Management System
(DBMS):
A software package/system to facilitate the
Define, Construct, Manipulate and Share functions
of a computerized database.
Typical DBMS Functionality
 Define a particular database in terms of its data types,
structures, and constraints
 Construct or Load the initial database contents on a secondary
storage medium
 Manipulate the database:
 Retrieval: Querying, generating reports
 Modification: Insertions, deletions and updates to its content
 Accessing the database through Web applications
 Share a database allows multiple users and programs to access
the database simultaneously
Database System
 Database System:
DBMS + Database
Simplified database system
environment
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS
approach
An UNIVERSITY example
 A UNIVERSITY database for maintaining information
concerning students, courses, and grades in a
university environment
 We have:
STUDENT file stores data on each student
COURSE file stores data on each course
SECTION file stores data on each section of each
course
GRADE_REPORT file stores the grades that students
receive
PREREQUISITE file stores the prerequisites
Example of a simple database
Database manipulation
 Database manipulation involves querying
and updating
 Examples of querying are:
Retrieve a transcript
List the prerequisites of the “Database” course
 Examples of updating are:
Enter a grade of “A” for “Smith” in “Database”
course
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS
approach
Database V.S. File
 In the database approach, a single repository of data
is maintained that is defined once then accessed by
various users
 The major differences between DB and File are:
1. Self-describing of a DB
2. Insulation between programs and data
3. Support of multiple views of the data
4. Sharing of data and multiuser transaction processing
Self-describing nature of a
database system
 Database system contains not only the
database itself but also a complete definition
of the database structure and constrains
 The information stored in the catalog is called
Meta-data (data about data), and it
describes the structure of the primary
database.
Example of a simplified Meta-
data
Insulation between programs
and data
 In file processing, if any changes to the
structure of a file may require changing all
programs that access the file
 In database system, the structure of data files
is stored in the DBMS catalog separately from
the access program
 This is called program-data
independence
Support of multiple views of
the data
 Each user may see a different view of
the database, which describes only the
data of interest to that user
 It may also contain some virtual data
that is derived from the database files
but its not explicitly stored
Sharing of data and multi-user
transaction processing
 Allowing a set of concurrent users to
retrieve from and to update the database.
 Concurrency control within the DBMS
guarantees that each transaction is
correctly executed or aborted
 For example, when several reservation clerks try
to assign a seat on an airplane flight
 (these types of applications are generally called
online transaction processing (OLTP))
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS
approach
Database Users
 Database administrators:
 Responsible for authorizing access to the database, for
coordinating and monitoring its use, acquiring software and
hardware resources, controlling its use and monitoring
efficiency of operations.
 Database Designers:
 Responsible to define the content, the structure, the
constraints, and functions or transactions against the
database. They must communicate with the end-users and
understand their needs.
 End Users
 System Analysts
End Users

Casual: access database occasionally by
sophisticated query language when needed.
(Manager)

Naïve: they make up a large section of the
end-user population. Learn only a few facilities
that they may use repeatedly
(bank clerk)

Sophisticated: These include business
analysts, scientists, engineers, others
thoroughly familiar with the system capabilities.

Stand-alone: maintain personal database by
using well designed GUI (Turbotax users)
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS
approach
Controlling Redundancy
 Controlling Redundancy is one of most
important feature to use DBMS
 The traditional file approach, each group
independently keeps their own file.
 For example: accounting office keeps data on
registration and billing info; whereas the
registration office keeps track of registration,
student courses and grades.
Controlling Redundancy
 This redundancy in storing the same data
multiple times leads to several problems:
1. Logic update – we need to update several
times
2. Storage space is wasted
3. The file that represent the same data may
become inconsistent
Other Advantages of using the
DBMS approach
 Restricting unauthorized access to data
 Providing Storage Structures (e.g.
indexes) for efficient Query Processing
 Providing backup and recovery services
Other Advantages of using the
DBMS approach
 Providing multiple interfaces to different
classes of users
 Representing complex relationships among
data
.
.
.
When NOT to use DBMS?
 The overhead cost of using DBMS:
 High initial investment in hardware,
software and training
 The cost of defining and processing data
 Overhead for security, concurrency control,
recovery, and integrity functions
When NOT to use DBMS?
 Hence, it may be more desirable to use
regular files under the following
situations:
 Simple, well-defined database applications
that are not expected to change
 Real-time requirements for some programs
that may not be met due to DBMS
overheads
 No multiple-user access to data

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Dbms
DbmsDbms
Dbms
 
A concept of dbms
A concept of dbmsA concept of dbms
A concept of dbms
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
Dbms
DbmsDbms
Dbms
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Dbms
DbmsDbms
Dbms
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
 
L8 components and properties of dbms
L8  components and properties of dbmsL8  components and properties of dbms
L8 components and properties of dbms
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Database management system1
Database management system1Database management system1
Database management system1
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database management system
Database management systemDatabase management system
Database management system
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
01 dbms-introduction
01 dbms-introduction01 dbms-introduction
01 dbms-introduction
 

Andere mochten auch

Magnet Program Overview
Magnet Program OverviewMagnet Program Overview
Magnet Program OverviewCCNG
 
NEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III English
NEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III EnglishNEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III English
NEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III EnglishCaparas222
 
OSS 2016 Remarks Gourlay
OSS 2016 Remarks GourlayOSS 2016 Remarks Gourlay
OSS 2016 Remarks GourlayDavid Gourlay
 
The New Face of R&D
The New Face of R&DThe New Face of R&D
The New Face of R&DNapkin Labs
 
Hipertension arterial informatica
Hipertension arterial informaticaHipertension arterial informatica
Hipertension arterial informaticajennyyalex2010
 
Formação - Bloco 1 - Processos
Formação - Bloco 1 - Processos Formação - Bloco 1 - Processos
Formação - Bloco 1 - Processos Roberto Cohen
 
4830039321 Pechakucha
4830039321 Pechakucha4830039321 Pechakucha
4830039321 Pechakuchakittee
 
C:\Documents And Settings\Utilizador\Ambiente De Trabalho\Sdsdsds
C:\Documents And Settings\Utilizador\Ambiente De Trabalho\SdsdsdsC:\Documents And Settings\Utilizador\Ambiente De Trabalho\Sdsdsds
C:\Documents And Settings\Utilizador\Ambiente De Trabalho\SdsdsdsRosa7
 
2 12 ecodhybat-andrés pascual
2 12 ecodhybat-andrés pascual2 12 ecodhybat-andrés pascual
2 12 ecodhybat-andrés pascualRedit
 
Bsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsBsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsRai University
 
Kabir das ji the great poet
Kabir das ji the great poet Kabir das ji the great poet
Kabir das ji the great poet TRIPURARI RAI
 

Andere mochten auch (14)

Magnet Program Overview
Magnet Program OverviewMagnet Program Overview
Magnet Program Overview
 
NEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III English
NEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III EnglishNEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III English
NEW DESIGNS FOR LEARNING reported by Maria Angela B. Caparas BSE III English
 
Digitalizar0004
Digitalizar0004Digitalizar0004
Digitalizar0004
 
OSS 2016 Remarks Gourlay
OSS 2016 Remarks GourlayOSS 2016 Remarks Gourlay
OSS 2016 Remarks Gourlay
 
Qual é o teu motivo
Qual é o teu motivoQual é o teu motivo
Qual é o teu motivo
 
The New Face of R&D
The New Face of R&DThe New Face of R&D
The New Face of R&D
 
Hipertension arterial informatica
Hipertension arterial informaticaHipertension arterial informatica
Hipertension arterial informatica
 
Formação - Bloco 1 - Processos
Formação - Bloco 1 - Processos Formação - Bloco 1 - Processos
Formação - Bloco 1 - Processos
 
4830039321 Pechakucha
4830039321 Pechakucha4830039321 Pechakucha
4830039321 Pechakucha
 
C:\Documents And Settings\Utilizador\Ambiente De Trabalho\Sdsdsds
C:\Documents And Settings\Utilizador\Ambiente De Trabalho\SdsdsdsC:\Documents And Settings\Utilizador\Ambiente De Trabalho\Sdsdsds
C:\Documents And Settings\Utilizador\Ambiente De Trabalho\Sdsdsds
 
2 12 ecodhybat-andrés pascual
2 12 ecodhybat-andrés pascual2 12 ecodhybat-andrés pascual
2 12 ecodhybat-andrés pascual
 
Bsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsBsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systems
 
Kabir das ji the great poet
Kabir das ji the great poet Kabir das ji the great poet
Kabir das ji the great poet
 
2 tier and 3 tier architecture
2 tier and 3 tier architecture2 tier and 3 tier architecture
2 tier and 3 tier architecture
 

Ähnlich wie Chapter 1 - testing

Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsRai University
 
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1Raj vardhan
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfparveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Fundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersFundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersMustafa Kamel Mohammadi
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_materialgayaramesh
 
20MCA21_Module1.ppt
20MCA21_Module1.ppt20MCA21_Module1.ppt
20MCA21_Module1.pptAshokBP1
 
DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDivyaKS12
 

Ähnlich wie Chapter 1 - testing (20)

Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
 
En ch01
En ch01En ch01
En ch01
 
Chapter01
Chapter01Chapter01
Chapter01
 
Ena ch01
Ena ch01Ena ch01
Ena ch01
 
Ena ch01
Ena ch01Ena ch01
Ena ch01
 
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
 
Chapter one
Chapter oneChapter one
Chapter one
 
Introduction DBMS.pptx
Introduction DBMS.pptxIntroduction DBMS.pptx
Introduction DBMS.pptx
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Dbms models
Dbms modelsDbms models
Dbms models
 
Fundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersFundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database Users
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
20MCA21_Module1.ppt
20MCA21_Module1.ppt20MCA21_Module1.ppt
20MCA21_Module1.ppt
 
DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptx
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
Database Concepts.ppt
Database Concepts.pptDatabase Concepts.ppt
Database Concepts.ppt
 

Kürzlich hochgeladen

FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
India Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportIndia Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportMintel Group
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 

Kürzlich hochgeladen (20)

FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Corporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information TechnologyCorporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information Technology
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
Call Us ➥9319373153▻Call Girls In North Goa
Call Us ➥9319373153▻Call Girls In North GoaCall Us ➥9319373153▻Call Girls In North Goa
Call Us ➥9319373153▻Call Girls In North Goa
 
India Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportIndia Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample Report
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 

Chapter 1 - testing

  • 1. Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas
  • 2. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 3. Database Examples  Database is involved like everywhere in our world  For example: If we go to bank to deposit or withdraw Make hotel and airline reservation Purchase something on line Buy groceries in supermarkets
  • 4. Database Applications  These examples are what we called traditional database applications (First part of book focuses on traditional applications)  More Recent Applications:  Youtube  iTunes  Geographic Information Systems (GIS)  Data Warehouses  Many other applications
  • 5. Database can be any size and complexity For example:  A list of names and address  IRS (assume it has 100 million taxpayers and each taxpayer file 5 forms with 400 characters of information per form=800Gbyte)  Amazon.com (15 million people visit per day; about 100 people are responsible for database update)
  • 6. Database System  Database: A collection of related data.  Data: Known facts that can be recorded and have an implicit meaning.  Database Management System (DBMS): A software package/system to facilitate the Define, Construct, Manipulate and Share functions of a computerized database.
  • 7. Typical DBMS Functionality  Define a particular database in terms of its data types, structures, and constraints  Construct or Load the initial database contents on a secondary storage medium  Manipulate the database:  Retrieval: Querying, generating reports  Modification: Insertions, deletions and updates to its content  Accessing the database through Web applications  Share a database allows multiple users and programs to access the database simultaneously
  • 8. Database System  Database System: DBMS + Database
  • 10. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 11. An UNIVERSITY example  A UNIVERSITY database for maintaining information concerning students, courses, and grades in a university environment  We have: STUDENT file stores data on each student COURSE file stores data on each course SECTION file stores data on each section of each course GRADE_REPORT file stores the grades that students receive PREREQUISITE file stores the prerequisites
  • 12. Example of a simple database
  • 13. Database manipulation  Database manipulation involves querying and updating  Examples of querying are: Retrieve a transcript List the prerequisites of the “Database” course  Examples of updating are: Enter a grade of “A” for “Smith” in “Database” course
  • 14. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 15. Database V.S. File  In the database approach, a single repository of data is maintained that is defined once then accessed by various users  The major differences between DB and File are: 1. Self-describing of a DB 2. Insulation between programs and data 3. Support of multiple views of the data 4. Sharing of data and multiuser transaction processing
  • 16. Self-describing nature of a database system  Database system contains not only the database itself but also a complete definition of the database structure and constrains  The information stored in the catalog is called Meta-data (data about data), and it describes the structure of the primary database.
  • 17. Example of a simplified Meta- data
  • 18. Insulation between programs and data  In file processing, if any changes to the structure of a file may require changing all programs that access the file  In database system, the structure of data files is stored in the DBMS catalog separately from the access program  This is called program-data independence
  • 19. Support of multiple views of the data  Each user may see a different view of the database, which describes only the data of interest to that user  It may also contain some virtual data that is derived from the database files but its not explicitly stored
  • 20. Sharing of data and multi-user transaction processing  Allowing a set of concurrent users to retrieve from and to update the database.  Concurrency control within the DBMS guarantees that each transaction is correctly executed or aborted  For example, when several reservation clerks try to assign a seat on an airplane flight  (these types of applications are generally called online transaction processing (OLTP))
  • 21. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 22. Database Users  Database administrators:  Responsible for authorizing access to the database, for coordinating and monitoring its use, acquiring software and hardware resources, controlling its use and monitoring efficiency of operations.  Database Designers:  Responsible to define the content, the structure, the constraints, and functions or transactions against the database. They must communicate with the end-users and understand their needs.  End Users  System Analysts
  • 23. End Users  Casual: access database occasionally by sophisticated query language when needed. (Manager)  Naïve: they make up a large section of the end-user population. Learn only a few facilities that they may use repeatedly (bank clerk)  Sophisticated: These include business analysts, scientists, engineers, others thoroughly familiar with the system capabilities.  Stand-alone: maintain personal database by using well designed GUI (Turbotax users)
  • 24. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 25. Controlling Redundancy  Controlling Redundancy is one of most important feature to use DBMS  The traditional file approach, each group independently keeps their own file.  For example: accounting office keeps data on registration and billing info; whereas the registration office keeps track of registration, student courses and grades.
  • 26. Controlling Redundancy  This redundancy in storing the same data multiple times leads to several problems: 1. Logic update – we need to update several times 2. Storage space is wasted 3. The file that represent the same data may become inconsistent
  • 27. Other Advantages of using the DBMS approach  Restricting unauthorized access to data  Providing Storage Structures (e.g. indexes) for efficient Query Processing  Providing backup and recovery services
  • 28. Other Advantages of using the DBMS approach  Providing multiple interfaces to different classes of users  Representing complex relationships among data . . .
  • 29. When NOT to use DBMS?  The overhead cost of using DBMS:  High initial investment in hardware, software and training  The cost of defining and processing data  Overhead for security, concurrency control, recovery, and integrity functions
  • 30. When NOT to use DBMS?  Hence, it may be more desirable to use regular files under the following situations:  Simple, well-defined database applications that are not expected to change  Real-time requirements for some programs that may not be met due to DBMS overheads  No multiple-user access to data