Database Architecture Models and Design Ian Horrocks & Robert Stevens room: 2.75/2.91

Slides:



Advertisements
Similar presentations
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Advertisements

Database Architecture Models and Design Ian Horrocks Carole Goble John Sargeant Simon Harper.
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
--What is a Database--1 What is a database What is a Database.
CS1001 Lecture 26. Overview Artificial Intelligence Artificial Intelligence Database Systems Database Systems.
Chapter 2 Database Environment.
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Introduction to Databases Transparencies
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.
Lecture Two Database Environment Based on Chapter Two of this book:
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Introduction to Database Systems
Introduction and Conceptual Modeling
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
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 Slide 1- 1 Chapter 1 - Introduction: Databases and Database Users - Outline Types of Databases and.
Introduction to Database Systems Motivation Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
Chapter 2 CIS Sungchul Hong
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
CSC271 Database Systems Lecture # 4.
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
1 CS 430 Database Theory Winter 2005 Lecture 1: Introduction.
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
Introduction to Database Systems Fundamental Concepts Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Chapter 11 CS Introduction to Database Systems.
Database Design Chapter-1- Basic Concepts Reference:
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
Introduction to Databases
Database Systems DBMS Environment Data Abstraction.
8/31/2012ISC329 Isabelle Bichindaritz1 Database Environment.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: Monday, Wednesday 2:30 pm – 3:30.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
Database Environment Session 2 Course Name: Database System Year : 2013.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
DatabaseCSIE NUK1 Fundamentals of Database Systems Chapter 1 Database and Database Users.
1 Chapter 1 Introduction to Databases Transparencies.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
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.
1 Chapter 2 Database Environment Pearson Education © 2009.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
Computer Science Centre University of Indonesia Chapter 1 Database & Database Users.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction and Conceptual Modeling.
Advanced Databases COMP3017 Dr Nicholas Gibbins
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Database Management.
Datab ase Systems Week 1 by Zohaib Jan.
Outline Types of Databases and Database Applications Basic Definitions
Database and Database Users
Introduction to Database Systems
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
CS530: Databases.
Chapter 2 Database Environment Pearson Education © 2014.
Terms: Data: Database: Database Management System: INTRODUCTION
Database Dr. Roueida Mohammed.
Presentation transcript:

Database Architecture Models and Design Ian Horrocks & Robert Stevens room: 2.75/

Objectives  Raise awareness about databases, database design and database management systems  Enable you to design and use a database to support an application  To understand the implications of your design  To realise that designing databases is non- trivial and requires imagination, flexibility and thought

CS530 Course Structure  Introduction and motivation  A database model  Relational database model  Integrity  Oracle DBMS  SQL and Embedded SQL  Database design  Logical design  Conceptual design  Mapping conceptual to logical  Pragmatic issues  Physical design  Integrity and correctness  Architecture of DBMS  Client-server  Open architectures

Laboratory Exercise: Sweeney Tours  Use, design and build a database to support a holiday booking system  Oracle 8i DBMS  Exercise 1: using SQL  Exercise 2: EER modelling

Recommended Texts  Elmasri and Navathe  Fundamentals of Database Systems  3rd Edition, Addison Wesley  Atzeni, Ceri, Paraboschi and Torlone  Database Systems: Concepts, Languages an Architectures  MacGraw Hill  Ullman and Widom  A First Course in Databases

What is a database? a structured collection of information captures the semantics of an application  Logically coherent—so it makes sense  Inherent meaning—information vs data  Specific purpose—intended user group  Representation of the real world—changes in the real world reflected in the database

What is a Database Management System? a collection of programs and tools to create & maintain a database  Defining specifying types of data  Constructing storing & populating  Manipulating querying, updating, reporting

Actors Database Administrator DBA Database Database Designers End Users casual ‘parametric’ or ‘canned’ transactions sophisticated Database Management System DBMS Designers and Implementers Tool Developers Operators and Maintenance Personnel

Characteristics of a Database  Structure  data types  data behaviour  Persistence  store data on secondary storage  Retrieval  a declarative query language  a procedural database programming language  Performance  retrieve and store data quickly  Correctness  Sharing  concurrency  Reliability and resilience  Large volumes

File Management Systems: a physical interface Student Admin Scheduler Payroll Timetable Year Lists Cheques Student Data Lecturer Data Course Data

File Management Systems: Sharing data and operations Course Data Lecturer Data Student Admin Scheduler Payroll Schedule Lab Timetable Tutorials Student Data Teaching

Sharing data: replication—redundancy Student Data Course Data Lecturer Data Student Admin Payroll Teaching Schedule Lab Timetable Tutorials Scheduler

University Database Metadata DBMS: A Logical Interface student course lecturer Lab Timetable Teaching Schedule Tutorials Database Management System University Database Data Data Dictionary or System Catalog ? QUERIES

File Management Systems Uncontrolled redundancy Inconsistent data Inflexibility Limited data sharing Poor enforcement of standards Low programmer productivity Excessive program maintenance Excessive data maintenance

Database Management System Approach  Controlled redundancy  consistency of data & integrity constraints  Integration of data  self-contained & represents semantics of application  Data and operation sharing  multiple interfaces  Services & Controls  security & privacy controls  backup & recovery  enforcement of standards  Flexibility  data independence  data accessibility  reduced program maintenance  Ease of application development

However....  more expensive  more complex  general  simple  stringent real-time  single user  static Summary:  In a file management system data is PHYSICALLY accessed and UNINTEGRATED  In a database management system data is LOGICALLY accessed and INTEGRATED  a data dictionary  a query language

Simplified Environment (from Elmasri & Navathe) Users/Programmers Application Programs/Queries Software to Process Queries / Programs Software to Access Stored Data DBMS Software Database System Stored Database Definition (Metadata) Stored Database

Interfaces to a Data Dictionary Database Administrators Application Programmers End Users Data Dictionary Compilers / Precompilers Application Programs / Report Generators Integrity Constraint Enforcer Human Interfaces Software and DBMS Interfaces

Models and Schemas  Model  A structure that demonstrates all the required features of the parts of the real world which is of interest to the users of the information in the model.  Representation and reflection of the real world (Universe of Discourse)  Data Model  A set of concepts that can be used to describe the structure of a database: the data types, relationships, constraints, semantics and operational behaviour.  It is a tool for data abstraction  A model is described by the schema which is held in the data dictionary. Student(studno,name,address) Course(courseno,lecturer) Student(123,Bloggs,Woolton) (321,Jones,Owens) Schema Instance

Sharing—Multiple views of data DataBase Management System Database

Data Independence  Logical data independence  change the conceptual schema without having to change the external schemas  Physical data independence  change the internal schema without having to change the conceptual schema Database New hardware New functions New users New storage techniques Linkage to other databases New data User's view Change in use Change in technology

Ansi-Sparc Database Architecture Conceptual Schema Conceptual Level Internal schema Internal Level External Level External View A External View B External View N external/conceptual mapping conceptual/internal mapping End Users Stored Database