Database System Concepts and Architecture
Database System Concepts and Architecture
Database System Concepts and Architecture
Chapter 2 Outline
Data Models, Schemas, and Instances Three-Schema Architecture and Data Independence Database Languages and Interfaces The Database System Environment Centralized and Client/Server Architectures for DBMSs Classification of Database Management Systems
Copyright 2011 Ramez Elmasri and Shamkant Navathe
Suppression of details of data organization and storage Highlighting of the essential features for an improved understanding of data
Collection of concepts that describe the structure of a database Provides means to achieve data abstraction Basic operations
Specify retrievals and updates on the database
Close to the way many users perceive data Describe the details of how data is stored on computer storage media
Easily understood by end users Also similar to how data organized in computer storage
Copyright 2011 Ramez Elmasri and Shamkant Navathe
Attribute
New family of higher-level implementation data models Closer to conceptual data models
Index
Example of an access path Allows direct access to data using an index term or a keyword
Description of a database Displays selected aspects of schema Each object in the schema
Schema diagram
Schema construct
Describes physical storage structure of the database Describes structure of the whole database for a community of users Describes part of the database that a particular user group is interested in
Conceptual level
Data Independence
Capacity to change the schema at one level of a database system
Types:
Logical Physical
DBMS Languages
Data definition language (DDL)
Defines both schemas Specifies the internal schema Specifies user views/mappings to conceptual schema Allows retrieval, insertion, deletion, modification
Can be used on its own to specify complex database operations concisely Set-at-a-time or set-oriented
All DBMS functionality, application program execution, and user interface processing carried out on one machine
Query and transaction functionality related to SQL processing User interface programs and application programs
Client handles
Provides application programming interface (API) 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
Number of users
Single-user Multiuser
Copyright 2011 Ramez Elmasri and Shamkant Navathe
Centralized Distributed
Homogeneous Heterogeneous
Cost