Database Systems Background Review Dr. Muhammad Shafique
Description:
Data Abstraction. program-data independence. Support of multiple views of the data ... Time Series and Historical Data Management ... – PowerPoint PPT presentation
Title: Database Systems Background Review Dr. Muhammad Shafique
1 Database Systems Background ReviewDr. Muhammad Shafique 2 Outline
Databases and Database Users
Database System Concepts and Architecture
3 Databases and Database Users (1)
Database concepts
Database
A database represents some aspect of the real world
A database is a logically coherent collection of data with some inherent meaning.
A database is designed, built, and populated with data for a specific purpose.
It has an intended group of users and some preconceived applications in which these users are interested.
Database Management System
A database management system (DBMS) is a collection of programs that enables users to create and maintain a database.
4 Databases and Database Users (2)
Typical DBMS Functionality
Define a database
Construct or Load the Database
Manipulating the database
Concurrent Processing and Sharing
Other features
Protection or Security measures to prevent unauthorized access
Active processing to take internal actions on data
Presentation and Visualization of data
5 Databases and Database Users (3) 6 Databases and Database Users (4)
Characteristics of the Database Approach
Self-describing nature of a database system
Insulation between programs and data
Data Abstraction
program-data independence
Support of multiple views of the data
Sharing of data and multi-user transaction processing
7 Databases and Database Users (5)
Database Users
Database administrators
Database Designers
End-users
Casual
Naïve or Parametric
Sophisticated
Stand-alone
8 Databases and Database Users (6)
Advantages of Using the Database Approach
Controlling redundancy
Sharing of data among multiple users
Restricting unauthorized access to data
Providing persistent storage
Providing Storage Structures for efficient Query Processing
Providing backup and recovery services
Providing multiple interfaces to different classes of users
Representing complex relationships among data
Enforcing integrity constraints on the database
Drawing Inferences and Actions using rules
9 Databases and Database Users (7)
Additional Implications of Using the Database Approach
Potential for enforcing standards
Reduced application development time
Flexibility to change data structures
Availability of up-to-date information
Economies of scale
10 Databases and Database Users (8)
Historical Development of Database Technology
Early Database Applications
Hierarchical and Network Models
Relational Model based Systems
Object-oriented applications
Data on the Web and E-commerce Applications
11 Databases and Database Users (9)
Extending Database Capabilities
Scientific Applications
Image Storage and Management
Audio and Video data management
Data Mining
Spatial data management
Time Series and Historical Data Management
The above gives rise to new research and development in incorporating new data types, complex data structures, new operations and storage and indexing schemes in database systems.
12 Database System Concepts and Architecture (1)
Data model
A collection of concepts that can be used to describe the structure of a database
Categories of data models
Conceptual (high-level, semantic) data models
Logical/Implementation (representational) data models
Physical (low-level, internal) data models
13 Database System Concepts and Architecture (2)
Schemas and Instances
Database Schema
The description of a database is called the database schema, which is specified during database design and is expected not to change frequently
Schema Diagram
Schema Construct
Database Instance
The actual data stored in a database at a particular moment in time. Also called database state (or occurrence).
14 Database System Concepts and Architecture (3)
Database Schema Vs. Database State
Database State
Initial Database State
Valid State
Distinction
The database schema changes very infrequently
The database state changes every time the database is updated.
Schema is also called intension, whereas state is called extension.
15 Database System Concepts and Architecture (4)
Three-Schema Architecture
Internal schema
Conceptual schema
External schemas
Mappings
Transformations from one schema level to the other are needed to translate requests and data.
Programs refer to an external schema, and are mapped by the DBMS to the internal schema for execution
16 Database System Concepts and Architecture (5) 17 Database System Concepts and Architecture (6)
Data Independence
Logical Data Independence
Physical Data Independence
DBMS Languages
Data Definition Language (DDL)
Storage Definition Language (SDL)
View Definition Language (VDL)
Data Manipulation Language (DML)
DML commands (data sublanguage) can be embedded in a general-purpose programming language (host language)
DML commands can be applied directly (query language).
18 Database System Concepts and Architecture (7)
DBMS Interfaces
Stand-alone query language interfaces
Programming interfaces
Pre-compiler Approach
Procedure (Subroutine) Call Approach
User-friendly interfaces
Menu-based
Forms-based
Graphics-based
Natural language
Speech as Input (?) and Output
Web Browser
Parametric interfaces
Interfaces for the DBA
19 Database System Concepts and Architecture (8)
Database System Utilities
Loading data
Backing up
Reorganizing
Performance monitoring
Sorting
User monitoring
Data compression
20 DBMS Component Modules 21 Database System Architectures (1)
PowerShow.com is a leading presentation sharing website. It has millions of presentations already uploaded and available with 1,000s more being uploaded by its users every day. Whatever your area of interest, here you’ll be able to find and view presentations you’ll love and possibly download. And, best of all, it is completely free and easy to use.
You might even have a presentation you’d like to share with others. If so, just upload it to PowerShow.com. We’ll convert it to an HTML5 slideshow that includes all the media types you’ve already added: audio, video, music, pictures, animations and transition effects. Then you can share it with your target audience as well as PowerShow.com’s millions of monthly visitors. And, again, it’s all free.
About the Developers
PowerShow.com is brought to you by CrystalGraphics, the award-winning developer and market-leading publisher of rich-media enhancement products for presentations. Our product offerings include millions of PowerPoint templates, diagrams, animated 3D characters and more.