Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Chapter 2 Database System Concepts and Architecture
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Database Systems Chapter 2
1 Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Databases and Database Users
Chapter 2 Database Environment Pearson Education © 2014.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Lecture Two Database Environment Based on Chapter Two of this book:
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 2 Database System Concepts and Architecture.
Database System Concepts and Architecture Dr. Ali Obaidi.
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 2 Database System Concepts and Architecture
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Database System Architecture.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 2: Database System Concepts and Architecture - Outline Data Models and Their.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Database System Concepts and Architecture
Chapter 2 CIS Sungchul Hong
Faculty of Information Science and Technology Mahanakorn University of Technology Topic 2 Database System Concepts and Architecture.
CSC271 Database Systems Lecture # 4.
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
2. Database System Concepts and Architecture
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
Database system concept and Architecture
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
Instructors: Churee Techawut Introduction to Database System Chapter 1 CS (204)321 Database System I.
Database System Concepts and Architecture. Relational Model Concepts relational model represents the database as a collection of relations. Each relation.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter-2- Database System Concepts and Architecture Text Book : “Fundamentals of Database Systems” Additional References: Prof. Beat Signer Lecture notes.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 2-1 Data Models Data Model: A set.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture Presented & Modified.
1Mr.Mohammed Abu Roqyah. Database System Concepts and Architecture 2Mr.Mohammed Abu Roqyah.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
DBMS_Week 3-4 DBMS. Three-Schema Architecture – Internal schema (one view) describes physical storage structures access paths, indexes used Typically.
DataBase System Concepts and Architecture
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Chapter 2 Database Environment.
1 Database Environment. 2 Objectives of Three-Level Architecture u All users should be able to access same data. u A user’s view is immune to changes.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
1 Database Design Chapter-2- Database System Concepts and Architecture Reference: Prof. Mona Mursi Lecture notes.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Database Systems 主講人 : 陳建源 日期 :99/9/14 研究室 : 法 Chapter 2 Database System Concepts and Architecture.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Copyright © 2011 Ramez Elmasri and Shamkant Navathe Chapter 2 Database System Concepts and Architecture.
Databases and Database User ch1 Define Database? A database is a collection of related data.1 By data, we mean known facts that can be recorded and that.
Chapter (2) Database Systems Concepts and Architecture Objectives
Databases (CS507) CHAPTER 2.
Chapter 2: Database System Concepts and Architecture - Outline
Chapter (2) Database Systems Concepts and Architecture Objectives
Chapter 2 Database System Concepts and Architecture
Database System Concepts and Architecture
Database System Concepts and Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2: Database System Concepts and Architecture
Data, Databases, and DBMSs
Database System Concepts and Architecture
Presentation transcript:

Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture

Copyright © 2011 Ramez Elmasri and Shamkant Navathe 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

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Data Models, Schemas, and Instances  Data abstraction  Suppression of details of data organization and storage  Highlighting of the essential features for an improved understanding of data

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Data Models, Schemas, and Instances (cont'd.)  Data model  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  Dynamic aspect or behavior of a database application Allows the database designer to specify a set of valid operations allowed on database objects

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Categories of Data Models  High-level or conceptual data models  Close to the way many users perceive data  Low-level or physical data models  Describe the details of how data is stored on computer storage media  Representational data models  Easily understood by end users  Also similar to how data organized in computer storage

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Categories of Data Models (cont'd.)  Entity  Represents a real-world object or concept  Attribute  Represents some property of interest  Further describes an entity  Relationship among two or more entities  Represents an association among the entities  Entity-Relationship model

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Categories of Data Models (cont'd.)  Relational data model  Used most frequently in traditional commercial DBMSs  Object data model  New family of higher-level implementation data models  Closer to conceptual data models

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Categories of Data Models (cont'd.)  Physical data models  Describe how data is stored as files in the computer  Access path Structure that makes the search for particular database records efficient  Index Example of an access path Allows direct access to data using an index term or a keyword

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Schemas, Instances, and Database State  Database schema  Description of a database  Schema diagram  Displays selected aspects of schema  Schema construct  Each object in the schema  Database state or snapshot  Data in database at a particular moment in time

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Schemas, Instances, and Database State (cont'd.)

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Schemas, Instances, and Database State (cont'd.)  Define a new database  Specify database schema to the DBMS  Initial state  Populated or loaded with the initial data  Valid state  Satisfies the structure and constraints specified in the schema

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Schemas, Instances, and Database State (cont'd.)  Schema evolution  Changes applied to schema as application requirements change

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Three-Schema Architecture and Data Independence  Internal level  Describes physical storage structure of the database  Conceptual level  Describes structure of the whole database for a community of users  External or view level  Describes part of the database that a particular user group is interested in

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Three-Schema Architecture and Data Independence (cont'd.)

Copyright © 2011 Ramez Elmasri and Shamkant Navathe DBMS Languages  Data definition language (DDL) Defines both schemas  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

Copyright © 2011 Ramez Elmasri and Shamkant Navathe 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

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Centralized and Client/Server Architectures for DBMSs  Centralized DBMSs Architecture  All DBMS functionality, application program execution, and user interface processing carried out on one machine

Copyright © 2011 Ramez Elmasri and Shamkant Navathe

Basic Client/Server Architectures  Client  User machine that provides user interface capabilities and local processing  Server  System containing both hardware and software  Provides services to the client machines Such as file access, printing, archiving, or database access

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Two-Tier Client/Server Architectures for DBMSs  Server handles  Query and transaction functionality related to SQL processing  Client handles  User interface programs and application programs

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Two-Tier Client/Server Architectures (cont'd.)  Open Database Connectivity (ODBC)  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

Copyright © 2011 Ramez Elmasri and Shamkant Navathe Three-Tier and n-Tier Architectures for Web Applications  Application server or Web server  Adds intermediate layer between client and the database server  Runs application programs and stores business rules  N-tier  Divide the layers between the user and the stored data further into finer components