SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
DATABASE SYSTEM
CONCEPTS AND
ARCHITECTURE
CHAPTER 2
1
LECTURE OUTLINE
• Data Models
• Three-Schema Architecture and Data Independence
• Database Languages and Interfaces
• The Database System Environment
• DBMS Architectures
• Classification of Database Management Systems
2
DATA MODEL
 Collection of concepts that describe the structure of a database
 Provides means to achieve data abstraction
• Suppression of details of data organization and storage
• Highlighting of the essential features for an improved
understanding of data
 Includes basic operations
• Retrievals and updates on the database
 Dynamic aspect or behavior of a database application
• Allows the database designer to specify a set of valid operations
allowed on database objects
3
CATEGORIES OF DATA MODELS
 High-level or conceptual data models
• Close to the way many users perceive data
• For example, object-oriented models
 Low-level or physical data models
• Describe the details of how data is stored on computer storage
media
• Include explicit access paths
• Structure that makes locating particular database records efficient
• Example: Index
• Allows direct access to record by looking up a value
 Compromise: Representational data models
• Abstract model of data
• Emphasize aspects that should be understood by end users
• Close enough to how data organized in computer storage that they
can be implemented efficiently
Where does the relational data model fit?
4
THREE-SCHEMA ARCHITECTURE
 Internal level
• Describes physical storage structure of the
database
 Conceptual level
• Describes structure of the whole database for
the complete community of users
 External or view level
• Describes part of the database of interest to a
particular user group
5
DATA INDEPENDENCE
 Capacity to change the schema at one level of a database system
without having to change the schema at the next higher level
• Change the mappings between schemas
 Conceptual schema reflects the enterprise
• Relatively stable
• Serves as Universe of Discourse
• Physical data independence achieved through conceptual/internal
mapping
• Logical data independence achieved through external/conceptual
mappings
6
DBMS LANGUAGES
 Data definition language (DDL)
• Defines conceptual schema
 Storage definition language (SDL)
• Specifies the internal schema
 View definition language (VDL)
• Specifies user views/mappings to conceptual schema
 Data manipulation language (DML)
• Allows retrieval, insertion, deletion, modification
• Low-level or procedural DML
• Must be embedded in a general-purpose programming language
• Record-at-a-time
• High-level or non-procedural DML
• Can be used on its own to specify complex database operations
concisely
• Set-at-a-time or set-oriented
8
DBMS INTERFACES
 Menu-based interfaces for Web clients or browsing
 Forms-based interfaces
 Graphical user interfaces
 Natural language interfaces
 Speech input and output
 Interfaces for parametric users
 Interfaces for the DBA
9
DBMS COMPONENT MODULES
 Stored data manager
 DDL compiler
 Interactive query interface
• Query compiler
• Query optimizer
 Precompiler
 Runtime database processor
 System catalog
 Concurrency control system
 Backup and recovery system
10
11
DBMS UTILITIES
 Loading
• Load existing data files
 Backup
• Creates a backup copy of the database
 Database storage reorganization
• Reorganize a set of database files into different file organizations
 Performance monitoring
• Monitors database usage and provides statistics to the DBA
13
DBMS-RELATED FACILITIES
 CASE Tools
 Data dictionary (data repository) system
• Stores design decisions, usage standards, application program
descriptions, and user information
 Application development environments
 Communications software
14
CENTRALIZED DBMS ARCHITECTURE
 All DBMS functionality, application program execution, and user
interface processing carried out on one machine
15
BASIC CLIENT/SERVER ARCHITECTURES
 Servers with specific functionalities
• File server
• Maintains the files of the client machines.
• Printer server
• Connected to various printers; all print requests by the clients are
forwarded to this machine
• Web servers or e-mail servers
 Client machines
• Provide user with:
• Appropriate interfaces to use these services
• Local processing power to run local applications
 DBMS example
• Server handles query, update, and transaction functionality
• Client handles user interface programs and application programs
16
CLIENT/SERVER DBMS SOFTWARE
 Open Database Connectivity (ODBC)
• Provides application programming interface (API) for C and C++
• Call Level Interface (CLI)
• Allows client-side programs to call the DBMS
• Both client and server machines must have the necessary software
installed
 JDBC
• Allows Java client programs to access one or more DBMSs through
a standard interface
 Alternative: Microsoft’s ADO.NET
17
3-TIER CLIENT-SERVER DBMS
ARCHITECTURE
 Code partitioned between clients (user interfaces), application
server, and DBMS modules
Database
18
19
CLASSIFICATION OF DBMSS
 General or special-purpose
 Data model
• Relational
• Object
• Object-relational
• Hierarchical and network
(legacy)
• Native XML
 Number of users
• Single-user
• Multiuser
 Number of sites
• Centralized
• Distributed
• Homogeneous
• Heterogeneous (Federated)
 Licensing
• Open source
• Proprietary
20
LECTURE SUMMARY
 Main categories of data models
 Three-schema architecture
 Types of languages and interfaces supported by DMBSs
 Components and services provided by the DBMS
 DBMS computing architectures
 DBMS classification criteria
22

Mais conteúdo relacionado

Mais procurados

Distributed databases
Distributed databasesDistributed databases
Distributed databases
sourabhdave
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
Sulemang
 

Mais procurados (20)

Modern database management jeffrey a. hoffer, mary b. prescott,
Modern database management   jeffrey a. hoffer, mary b. prescott,  Modern database management   jeffrey a. hoffer, mary b. prescott,
Modern database management jeffrey a. hoffer, mary b. prescott,
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management System
 
Design concept -Software Engineering
Design concept -Software EngineeringDesign concept -Software Engineering
Design concept -Software Engineering
 
Database design process
Database design processDatabase design process
Database design process
 
Normalization of Data Base
Normalization of Data BaseNormalization of Data Base
Normalization of Data Base
 
Database management systems cs403 power point slides lecture 05
Database management systems   cs403 power point slides lecture 05Database management systems   cs403 power point slides lecture 05
Database management systems cs403 power point slides lecture 05
 
Data Models.ppt
Data Models.pptData Models.ppt
Data Models.ppt
 
Job Automation using Linux
Job Automation using LinuxJob Automation using Linux
Job Automation using Linux
 
Distributed databases
Distributed databasesDistributed databases
Distributed databases
 
Distributed Databases
Distributed DatabasesDistributed Databases
Distributed Databases
 
Advanced DBMS presentation
Advanced DBMS presentationAdvanced DBMS presentation
Advanced DBMS presentation
 
System Administration
System AdministrationSystem Administration
System Administration
 
Chapter05 identifying and selecting systems development projects
Chapter05 identifying and selecting systems development projectsChapter05 identifying and selecting systems development projects
Chapter05 identifying and selecting systems development projects
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Managing software project, software engineering
Managing software project, software engineeringManaging software project, software engineering
Managing software project, software engineering
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Data Designs (Software Engg.)
Data Designs (Software Engg.)Data Designs (Software Engg.)
Data Designs (Software Engg.)
 
Chapter07 determining system requirements
Chapter07 determining system requirementsChapter07 determining system requirements
Chapter07 determining system requirements
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 

Semelhante a DBMS CONCEPT

Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
TOUSEEQHAIDER14
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
Riannel Tecson
 

Semelhante a DBMS CONCEPT (20)

INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Data base chapter 5 | complete details
Data base chapter 5  |  complete detailsData base chapter 5  |  complete details
Data base chapter 5 | complete details
 
8028.ppt
8028.ppt8028.ppt
8028.ppt
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Db_05.ppt
Db_05.pptDb_05.ppt
Db_05.ppt
 
Presentation 5 (4).pdf
Presentation 5 (4).pdfPresentation 5 (4).pdf
Presentation 5 (4).pdf
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
 
Chapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemChapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management System
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
Introduction of Database
Introduction of Database Introduction of Database
Introduction of Database
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
02 - DatabaseConcepts.pdf
02 - DatabaseConcepts.pdf02 - DatabaseConcepts.pdf
02 - DatabaseConcepts.pdf
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
IBM InterConnect 2015 - IIB Effective Application Development
IBM InterConnect 2015 - IIB Effective Application DevelopmentIBM InterConnect 2015 - IIB Effective Application Development
IBM InterConnect 2015 - IIB Effective Application Development
 
Database Management System Course Material
Database Management System Course MaterialDatabase Management System Course Material
Database Management System Course Material
 
DataBase Management systems (IM).pptx
DataBase Management systems (IM).pptxDataBase Management systems (IM).pptx
DataBase Management systems (IM).pptx
 
MS ACCESS.pptx
MS ACCESS.pptxMS ACCESS.pptx
MS ACCESS.pptx
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 

Último

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

DBMS CONCEPT

  • 2. LECTURE OUTLINE • Data Models • Three-Schema Architecture and Data Independence • Database Languages and Interfaces • The Database System Environment • DBMS Architectures • Classification of Database Management Systems 2
  • 3. DATA MODEL  Collection of concepts that describe the structure of a database  Provides means to achieve data abstraction • Suppression of details of data organization and storage • Highlighting of the essential features for an improved understanding of data  Includes basic operations • Retrievals and updates on the database  Dynamic aspect or behavior of a database application • Allows the database designer to specify a set of valid operations allowed on database objects 3
  • 4. CATEGORIES OF DATA MODELS  High-level or conceptual data models • Close to the way many users perceive data • For example, object-oriented models  Low-level or physical data models • Describe the details of how data is stored on computer storage media • Include explicit access paths • Structure that makes locating particular database records efficient • Example: Index • Allows direct access to record by looking up a value  Compromise: Representational data models • Abstract model of data • Emphasize aspects that should be understood by end users • Close enough to how data organized in computer storage that they can be implemented efficiently Where does the relational data model fit? 4
  • 5. THREE-SCHEMA ARCHITECTURE  Internal level • Describes physical storage structure of the database  Conceptual level • Describes structure of the whole database for the complete community of users  External or view level • Describes part of the database of interest to a particular user group 5
  • 6. DATA INDEPENDENCE  Capacity to change the schema at one level of a database system without having to change the schema at the next higher level • Change the mappings between schemas  Conceptual schema reflects the enterprise • Relatively stable • Serves as Universe of Discourse • Physical data independence achieved through conceptual/internal mapping • Logical data independence achieved through external/conceptual mappings 6
  • 7. DBMS LANGUAGES  Data definition language (DDL) • Defines conceptual schema  Storage definition language (SDL) • Specifies the internal schema  View definition language (VDL) • Specifies user views/mappings to conceptual schema  Data manipulation language (DML) • Allows retrieval, insertion, deletion, modification • Low-level or procedural DML • Must be embedded in a general-purpose programming language • Record-at-a-time • High-level or non-procedural DML • Can be used on its own to specify complex database operations concisely • Set-at-a-time or set-oriented 8
  • 8. DBMS INTERFACES  Menu-based interfaces for Web clients or browsing  Forms-based interfaces  Graphical user interfaces  Natural language interfaces  Speech input and output  Interfaces for parametric users  Interfaces for the DBA 9
  • 9. DBMS COMPONENT MODULES  Stored data manager  DDL compiler  Interactive query interface • Query compiler • Query optimizer  Precompiler  Runtime database processor  System catalog  Concurrency control system  Backup and recovery system 10
  • 10. 11
  • 11. DBMS UTILITIES  Loading • Load existing data files  Backup • Creates a backup copy of the database  Database storage reorganization • Reorganize a set of database files into different file organizations  Performance monitoring • Monitors database usage and provides statistics to the DBA 13
  • 12. DBMS-RELATED FACILITIES  CASE Tools  Data dictionary (data repository) system • Stores design decisions, usage standards, application program descriptions, and user information  Application development environments  Communications software 14
  • 13. CENTRALIZED DBMS ARCHITECTURE  All DBMS functionality, application program execution, and user interface processing carried out on one machine 15
  • 14. BASIC CLIENT/SERVER ARCHITECTURES  Servers with specific functionalities • File server • Maintains the files of the client machines. • Printer server • Connected to various printers; all print requests by the clients are forwarded to this machine • Web servers or e-mail servers  Client machines • Provide user with: • Appropriate interfaces to use these services • Local processing power to run local applications  DBMS example • Server handles query, update, and transaction functionality • Client handles user interface programs and application programs 16
  • 15. CLIENT/SERVER DBMS SOFTWARE  Open Database Connectivity (ODBC) • Provides application programming interface (API) for C and C++ • Call Level Interface (CLI) • Allows client-side programs to call the DBMS • Both client and server machines must have the necessary software installed  JDBC • Allows Java client programs to access one or more DBMSs through a standard interface  Alternative: Microsoft’s ADO.NET 17
  • 16. 3-TIER CLIENT-SERVER DBMS ARCHITECTURE  Code partitioned between clients (user interfaces), application server, and DBMS modules Database 18
  • 17. 19
  • 18. CLASSIFICATION OF DBMSS  General or special-purpose  Data model • Relational • Object • Object-relational • Hierarchical and network (legacy) • Native XML  Number of users • Single-user • Multiuser  Number of sites • Centralized • Distributed • Homogeneous • Heterogeneous (Federated)  Licensing • Open source • Proprietary 20
  • 19. LECTURE SUMMARY  Main categories of data models  Three-schema architecture  Types of languages and interfaces supported by DMBSs  Components and services provided by the DBMS  DBMS computing architectures  DBMS classification criteria 22