Database System Concepts and Architecture
Database System Concepts and Architecture
Database System Concepts and Architecture
CONCEPTS AND
ARCHITECTURE
CHAPTER 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
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
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
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
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
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
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
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
14
Communications software
15
Printer server
Connected to various printers; all print requests by the clients are
forwarded to this machine
DBMS example
16
JDBC
Allows Java client programs to access one or more DBMSs through
a standard interface
17
18
Database
19
CLASSIFICATION OF DBMSS
General or special-purpose
Data model
Relational
Object
Object-relational
Hierarchical and network
(legacy)
Native XML
Number of sites
Centralized
Distributed
Homogeneous
Heterogeneous (Federated)
Licensing
Open source
Proprietary
Number of users
20
Single-user
Multiuser
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
22