SlideShare a Scribd company logo
6
Most read
12
Most read
13
Most read
Chapter 2
Database Environment
Thomas Connolly, Carolyn Begg, Database System, A
Practical Approach to Design Implementation and
Management, 4th Edition, Addison Wesley
Pg 33 ~ 62
Learning Outcomes
• Three-Level ANSI-SPARC Architecture
• Database Languages
• Data Models
• Functions of DBMS
• Components of DBMS
• Teleprocessing
Two-Level Approach
• Standard Terminology & General
Architecture of dadabase
• Produced in 1971 by DBTG
• Appointed by the CODASYL
• System View(Schema)
• User View (Sub schema)
ANSI/SPARC
• ANSI
– American National Standards Institute
• SPARC
– Standards Planning and Requirements
Committee
• 1975
– Proposed a framework for DBS
Three-Level ANSI-SPARC Architecture
• External level (Database Users)
– Provide a view of the database tailored to a user
• Data gathering
• Conceptual level (Database Designer)
– Deals with the organization of data as a whole
• Constraints and security
• Entity-relationship diagram
• Normalization
• Mapping & Desired independence
• Internal level (System Designer)
– Deal with physical storage of data
• Storage, index, compression, & encryption
• File organization
Three level Architecture
Database Schemas
• Database schema (intension) & database
instance (extension)
– External schemas (subschema)
– Conceptual schema (database schema)
– Internal schema
Mapping
• Translate information from one level to the
next
– External/conceptual mapping
– Conceptual/internal mapping
• Provide data independence
Data Independence
• Logical data independence
– Conceptual level changed shouldn’t affect
external levels
• Physical data independence
– Change to internal level shouldn’t affect
conceptual level
ANSI/SPARC Architecture
Database Languages
• Data Definition Language (DDL)
– Structured Query Language (SQL)
• Data Manipulation Language (DML)
– Procedural DML
– Non-procedural DML
• Structured Query Language (SQL)
• Query-by-Example (QBE)
• Fourth-Generation Language
– Form, report, graphics, & application generators
Data Models
• Definition
– Integrated concept for describing data,
relationships and constraints
• Types
– Object-based data models
– Record-based data models
– Physical data models (internal structure,
ordering, & paths)
Object-Based Data Models
• Entity-relationship
– Entity, attribute, relationship
– Usage: documentation
• Object-oriented
– Object, class, subclass, inheritance, state
(attributes), behavior (methods or actions),
encapsulation, message, polymorphism
– Usage: building software
Record-Based Data Models
• Relational data model
• Network model
• Hierarchical Model
Relational Data Model
• Terminology
– Relations
– Attributes
– Tuples
• Record relationship
– One-to-many relationship
• Usage
– Ad hoc reporting
Network Model
• CODASYL DBTG
• Terminology
– Data item & group item
– Record type: owner, member
– Set type: optional, mandatory, permanent
• Record relationship
– Many-to-many relationship
– Link or pointer between set owner and set member
• Usage
– Large volume transaction processing
Hierarchical Model
• IBM
• Information Management Systems
• Terminology
– Tree, general tree, & subtree
– Nodes, root node, parent node, and child node
– Segment type ( root, parent, child)
• Record relationship
– One-to-many relationship
– Link or pointer between parent node and child node
– No many-to-many relationship
• Usage
– Large volume transaction processing
Functions of a DBMS
• Data storage, retrieval and update
• A user-accessible catalog
• Transaction support
• Concurrency control
• Recovery
• Authorization
• Integrity
• Data independence
• Data communication
• Other Utilities
Components of a DBMS
• Query processor
• Database manager
• File manager
• DML preprocessor
• DDL compiler
• Catalog manager
Components of Database Manager
• Authorization control
• Command processor
• Integrity checker
• Query optimizer
• Transaction manager
• Scheduler
• Recovery manager
• Buffer manager
Teleprocessing - I
• Two-tier client-server architecture
– Client: user interface, business and data processing
logic
– Database server: data validation and database access
– Advantage
• Accessing to distributed database
• Increasing performance and consistency
• Lowering server and communication cost
• Supporting open systems architecture
Teleprocessing - II
• Three-tier client-server architecture
– Client: user interface
– Application server: business and processing logic
– Database server: data validation and database access
– Advantage
• Reducing client cost
• Software distribution
• Maintenance cost
• Balancing load
Teleprocessing - III
• Transaction processing (TP) monitor
– Transaction manager between client and server
– Advantage
• Transaction routing
• Distributed transaction for load balancing

More Related Content

What's hot (20)

PPT
String matching with finite state automata
Anmol Hamid
 
PPSX
Stack
Seema Sharma
 
PPTX
Solving recurrences
Megha V
 
PDF
Algorithm and Data Structure - Queue
AndiNurkholis1
 
PPTX
Local search algorithm
Megha Sharma
 
PDF
String matching algorithms
Mahdi Esmailoghli
 
PPTX
finite automata
sabiya sabiya
 
PDF
Bankers
mandeep kaur virk
 
PPT
KMP Pattern Matching algorithm
Kamal Nayan
 
PPTX
Knowledge representation and reasoning
Maryam Maleki
 
PDF
P, NP, NP-Complete, and NP-Hard
Animesh Chaturvedi
 
PDF
Recursive algorithms
subhashchandra197
 
PPTX
Unit I - Evaluation of expression
DrkhanchanaR
 
PPTX
Rabin Carp String Matching algorithm
sabiya sabiya
 
PDF
Lecture 6 expert systems
Vajira Thambawita
 
PPT
Recurrences
Ala' Mohammad
 
PPT
1.5 binary search tree
Krish_ver2
 
PPTX
Knuth morris pratt string matching algo
sabiya sabiya
 
PDF
OS - Deadlock
vinay arora
 
String matching with finite state automata
Anmol Hamid
 
Solving recurrences
Megha V
 
Algorithm and Data Structure - Queue
AndiNurkholis1
 
Local search algorithm
Megha Sharma
 
String matching algorithms
Mahdi Esmailoghli
 
finite automata
sabiya sabiya
 
KMP Pattern Matching algorithm
Kamal Nayan
 
Knowledge representation and reasoning
Maryam Maleki
 
P, NP, NP-Complete, and NP-Hard
Animesh Chaturvedi
 
Recursive algorithms
subhashchandra197
 
Unit I - Evaluation of expression
DrkhanchanaR
 
Rabin Carp String Matching algorithm
sabiya sabiya
 
Lecture 6 expert systems
Vajira Thambawita
 
Recurrences
Ala' Mohammad
 
1.5 binary search tree
Krish_ver2
 
Knuth morris pratt string matching algo
sabiya sabiya
 
OS - Deadlock
vinay arora
 

Similar to vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-database-system.ppt (20)

PPT
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
PPTX
Database Management Systems Lecture # 2 Inter
UsmanJaved520550
 
PPTX
DBMS.pptx
SityogInstituteOfTec1
 
PPTX
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
Saikiran Panjala
 
PPTX
CS3270 - DATABASE SYSTEM - Lecture (2)
Dilawar Khan
 
PPTX
BM322_03.pptx123456786546654525165654646564
DrMoizAkhtar
 
PPT
various data models used in database management system
mani651780
 
PPT
8028.ppt
PVinayIT
 
PPTX
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
PPTX
Database-management-system-dbms-ppt.pptx
DhruveeHalvadiya
 
PPTX
[Lec#4]databases and database management systems.pptx
NoorNoora5
 
PPTX
Introduction to Database
Siti Ismail
 
PDF
database introductoin optimization1-app6891.pdf
parveen204931475
 
PPTX
Database Languages Architecture Data Model.pptx
shahid1204as
 
PDF
Chapter 1 Fundamentals of Database Management System
Eddyzulham Mahluzydde
 
PDF
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
PPTX
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
PPTX
PPT-UEU-Basis-Data-Pertemuan-1.pptx
UbaidURRahman78
 
PPS
Database Design Slide 1
ahfiki
 
PDF
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Database Management Systems Lecture # 2 Inter
UsmanJaved520550
 
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
Saikiran Panjala
 
CS3270 - DATABASE SYSTEM - Lecture (2)
Dilawar Khan
 
BM322_03.pptx123456786546654525165654646564
DrMoizAkhtar
 
various data models used in database management system
mani651780
 
8028.ppt
PVinayIT
 
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
Database-management-system-dbms-ppt.pptx
DhruveeHalvadiya
 
[Lec#4]databases and database management systems.pptx
NoorNoora5
 
Introduction to Database
Siti Ismail
 
database introductoin optimization1-app6891.pdf
parveen204931475
 
Database Languages Architecture Data Model.pptx
shahid1204as
 
Chapter 1 Fundamentals of Database Management System
Eddyzulham Mahluzydde
 
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
UbaidURRahman78
 
Database Design Slide 1
ahfiki
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
Ad

Recently uploaded (20)

PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PPT
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PPTX
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
Presentation 2.pptx AI-powered home security systems Secure-by-design IoT fr...
SoundaryaBC2
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Thermal runway and thermal stability.pptx
godow93766
 
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Presentation 2.pptx AI-powered home security systems Secure-by-design IoT fr...
SoundaryaBC2
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Ad

vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-database-system.ppt

  • 1. Chapter 2 Database Environment Thomas Connolly, Carolyn Begg, Database System, A Practical Approach to Design Implementation and Management, 4th Edition, Addison Wesley Pg 33 ~ 62
  • 2. Learning Outcomes • Three-Level ANSI-SPARC Architecture • Database Languages • Data Models • Functions of DBMS • Components of DBMS • Teleprocessing
  • 3. Two-Level Approach • Standard Terminology & General Architecture of dadabase • Produced in 1971 by DBTG • Appointed by the CODASYL • System View(Schema) • User View (Sub schema)
  • 4. ANSI/SPARC • ANSI – American National Standards Institute • SPARC – Standards Planning and Requirements Committee • 1975 – Proposed a framework for DBS
  • 5. Three-Level ANSI-SPARC Architecture • External level (Database Users) – Provide a view of the database tailored to a user • Data gathering • Conceptual level (Database Designer) – Deals with the organization of data as a whole • Constraints and security • Entity-relationship diagram • Normalization • Mapping & Desired independence • Internal level (System Designer) – Deal with physical storage of data • Storage, index, compression, & encryption • File organization
  • 7. Database Schemas • Database schema (intension) & database instance (extension) – External schemas (subschema) – Conceptual schema (database schema) – Internal schema
  • 8. Mapping • Translate information from one level to the next – External/conceptual mapping – Conceptual/internal mapping • Provide data independence
  • 9. Data Independence • Logical data independence – Conceptual level changed shouldn’t affect external levels • Physical data independence – Change to internal level shouldn’t affect conceptual level
  • 11. Database Languages • Data Definition Language (DDL) – Structured Query Language (SQL) • Data Manipulation Language (DML) – Procedural DML – Non-procedural DML • Structured Query Language (SQL) • Query-by-Example (QBE) • Fourth-Generation Language – Form, report, graphics, & application generators
  • 12. Data Models • Definition – Integrated concept for describing data, relationships and constraints • Types – Object-based data models – Record-based data models – Physical data models (internal structure, ordering, & paths)
  • 13. Object-Based Data Models • Entity-relationship – Entity, attribute, relationship – Usage: documentation • Object-oriented – Object, class, subclass, inheritance, state (attributes), behavior (methods or actions), encapsulation, message, polymorphism – Usage: building software
  • 14. Record-Based Data Models • Relational data model • Network model • Hierarchical Model
  • 15. Relational Data Model • Terminology – Relations – Attributes – Tuples • Record relationship – One-to-many relationship • Usage – Ad hoc reporting
  • 16. Network Model • CODASYL DBTG • Terminology – Data item & group item – Record type: owner, member – Set type: optional, mandatory, permanent • Record relationship – Many-to-many relationship – Link or pointer between set owner and set member • Usage – Large volume transaction processing
  • 17. Hierarchical Model • IBM • Information Management Systems • Terminology – Tree, general tree, & subtree – Nodes, root node, parent node, and child node – Segment type ( root, parent, child) • Record relationship – One-to-many relationship – Link or pointer between parent node and child node – No many-to-many relationship • Usage – Large volume transaction processing
  • 18. Functions of a DBMS • Data storage, retrieval and update • A user-accessible catalog • Transaction support • Concurrency control • Recovery • Authorization • Integrity • Data independence • Data communication • Other Utilities
  • 19. Components of a DBMS • Query processor • Database manager • File manager • DML preprocessor • DDL compiler • Catalog manager
  • 20. Components of Database Manager • Authorization control • Command processor • Integrity checker • Query optimizer • Transaction manager • Scheduler • Recovery manager • Buffer manager
  • 21. Teleprocessing - I • Two-tier client-server architecture – Client: user interface, business and data processing logic – Database server: data validation and database access – Advantage • Accessing to distributed database • Increasing performance and consistency • Lowering server and communication cost • Supporting open systems architecture
  • 22. Teleprocessing - II • Three-tier client-server architecture – Client: user interface – Application server: business and processing logic – Database server: data validation and database access – Advantage • Reducing client cost • Software distribution • Maintenance cost • Balancing load
  • 23. Teleprocessing - III • Transaction processing (TP) monitor – Transaction manager between client and server – Advantage • Transaction routing • Distributed transaction for load balancing