Orientation for module. Critique of Relational Database Models. Orientation / schedule for module 2005

Size: px
Start display at page:

Download "Orientation for module. Critique of Relational Database Models. Orientation / schedule for module 2005"

Transcription

1 Critique of Relational Database Models Wk 2 Wk 3-7 Wk 8 Wks 9-10 Orientation for module Basic ideas of databases Relational database theory SQL and object-relational DBs Comparative study, reflection on DBs Timetable wk 9-10 Why relational? Relational, network and CODASYL DBs Advantages of RDBs classified wk 9: wk 10: Why relational? Why not relational? Is there no alternative? The future of DBs 4/20/ /20/ Orientation / schedule for module 2005 Why relational? C.J. Date Wk 1-2 Generalities on databases 3 Wk 2-6 Relational database theory 13 Wk 7 Evaluating relational databases 3 Wk 8 SQL and object-relational DBs 4 Wk 9 Temporal Relational Databases 4 Wk 10 Reflection on DBs 3 Hugh Darwen in weeks 8 and 9 Week 8 - Monday 2pm + 5pm, Thursday 2pm + 5pm Week 9 - Monday 2pm + 5pm, Thursday 2pm + 5pm Relational Database Writings Purpose of the paper a succint and reasonably comprehensive summary of the main advantages of the relational approach concerned with technical not business advantages to evaluate relational models in DBs fully we must also consider the most fundamental issues 4/20/ /20/2005 4

2 The agenda for reading Why Relational? Where is Date coming from? what is his bias? How do we classify Date's perceived virtues of relational models? Some virtues differ in nature from others... To what extent are the qualities of relational databases fundamentally to do with relations? What is the future for databases as a concept? Orientation on the issues raised by Date Paper has a rationale behind it - to defend relational models from emerging new technologies (c. 1989) Date has a long history as a relational DB champion Even the initial claim of the paper is contested (by 1989) First and primary advantage of RDB model: simplicity Issue: is SQL and ORACLE simple...? but with what is it being compared? 4/20/ /20/ Context: candidate abstract data models 3 classical models: hierarchical e.g. Information Management System (IMS) developed late 1960s for Apollo mission network Conference on Data Systems Languages CODASYL : standardised COBOL CODASYL : Database Task Group (DBTG) Official CODASYL reports Context: candidate abstract data models (cont.) 3 classical models: hierarchical, network,... relational proposed by E.F. Codd in 1970 E.F. Codd was at IBM San Jose RL Examples: System R [Sequel -> SQL], Ingres [Quel], QBE, PRTV [ISBL] Commercial Relational Systems in 1980s 4/20/ /20/2005 8

3 Context: Other Candidate Models Clear that relational database are good for many commercial enterprises involved in data processing What about other applications? need different models? interactive design human interaction & intervention essential in design real-time applications need fast response, no encoding overheads integrated project support environments need to store pieces of code, diagrams etc. Context: Other Candidate Models Possible alternative approaches Extensions to relational e.g. deductive dbs Datalog (proper subset of Prolog) logic language cf. Kowalski Logic for Problem Solving object-oriented databases application of OOP to DBs dates from late 1980s: e.g. Orion, Kim, Cactis, Gemstone, O2, Iris 4/20/ /20/ Putting Date's view in context... is Date biased? list of advantages could go on for ever, or at least for a very long time (p3) anywhere from 5-fold to 20-fold increases in productivity (p5) cf. quotes from other sources... tables are sufficient, in the sense that there is no known data that cannot be represented in tabular form (p5) (what about the Mona Lisa", or "the sound of the last act of Marriage of Figaro?) 4/20/ Useful to put Date's view in historical context Brief history establishes the historical context. CODASYL databases on the network model Outline of a network model for the HVFC MEMBERS (NAME, ADDRESS, BALANCE) ORDERS (ORDER_NO, NAME, ITEM, QUANTITY) SUPPLIERS (SNAME, SADDR, ITEM, PRICE) Develop an entity-relationship diagram... 4/20/

4 CODASYL databases on the network model 1 Network model for the HVFC: MEMBERS (NAME, ADDRESS, BALANCE) ORDERS (ORDER_NO, NAME, ITEM, QUANTITY) SUPPLIERS (SNAME, SADDR, ITEM, PRICE) Develop an entity-relationship diagram have two many-many relationships SUPPLIES (SUPPLIERS, ITEMS) ORDERS (MEMBERS, ITEMS) Principle of querying in a CODASYL model replace many-many relationships by functions navigate around sets of records via functions 4/20/ CODASYL databases on the network model 2 A many-many relationship X Y can be expressed as a -1 b where a: R X & b: R Y are many-one functions Example: to factorise many-many relationship in HVFC ORDERS (MEMBERS, ITEMS) Introduce a set of records to represent ORDERS Typical record is (m_name, i_name, quantity) 4/20/ CODASYL databases on the network model 3 A many-many relationship X Y can be expressed as a -1 b where a: R X & b: R Y are many-one functions Factorise ORDERS into two projection maps: MEMBORD : ORDERS MEMBERS ITEMORD : ORDERS ITEMS where MEMBORD (m_name, i_name, quantity) = m_name ITEMORD (m_name, i_name, quantity) = i_name Represent many-many ORDERS relationship by MEMBORD -1. ITEMORD by combining the two projections thus: MEMBERS ORDERS ITEMS 4/20/ A Sample CODASYL query "Find how much Granola Brooks has ordered" NAME := "Brooks" FIND MEMBERS RECORD USING CALC-KEY LOOP: repeat forever FIND NEXT ORDERS RECORD IN CURRENT MEMBORD SET if FAIL then break LOOP FIND OWNER OF CURRENT ITEMORD SET GET ITEMS; INAME if ITEMS.INAME = "Granola" then do FIND CURRENT OF ORDERS RECORD GET ORDERS; QUANTITY print QUANTITY break LOOP end end LOOP 4/20/

5 Commentary on the CODASYL query 1 NAME := "Brooks" > find the MEMBERS record associated with Brooks > assume stored by CALC_key (hash-code) NAME FIND MEMBERS RECORD USING CALC-KEY LOOP: repeat forever FIND NEXT ORDERS RECORD IN CURRENT MEMBORD SET > traverse link MEMBORD: ORDERS MEMBERS > current MEMBERS record is Brooks s > link to his orders if FAIL then break LOOP FIND OWNER OF CURRENT ITEMORD SET > apply link ITEMORD: ORDERS ITEMS > to determine what item was ordered 4/20/ Commentary on the CODASYL query (cont.)... > apply link ITEMORD: ORDERS ITEMS > to determine what item was ordered GET ITEMS; INAME > access name of the item ordered if ITEMS.INAME = "Granola" then do > check to see if item ordered is Granola FIND CURRENT OF ORDERS RECORD > current orders record is order by Brooks of Granola GET ORDERS; QUANTITY > access quantity of Granola ordered by Brooks print QUANTITY break LOOP end end LOOP 4/20/ About the CODASYL environment Issue: is SQL and ORACLE simple...? The sheer range of FIND commands and their almost Byzantine intricacy is one of the reasons why DBTG databases are programmed by experts The efficiency of CODASYL implementations for performing access and update has been a very large factor in their widespread use. This efficiency has been purchased at the cost of using a baffling variety of storage strategies and DML commands Peter Gray: Logic, Algebra and Databases 4/20/ SQL is simple - relative to CODASYL ORDERS (ORDER_NO, NAME, ITEM, QUANTITY) "Find how much Granola Brooks has ordered select QUANTITY from ORDERS where NAME= Brooks and ITEM= Granola The SQL-CODASYL comparison highlights reason for Date-Darwen concern about back-to-the-future in DBs 4/20/

6 Why relational? 1 CODASYL is bad, but is relational good? [ also beware! CODASYL is bad, but is network bad? ]... first try to understand Date's claims by comparing the two models... Areas of usefulness for relational model: data manipulation database design database definition database installation... Why relational? 2 Advantages of relational technology: usability productivity... promotes end-user programming Evident in relation to the CODASYL alternative! cf Korth and Silberchatz file system vs DBMS 4/20/ /20/ Why relational? 3 Perceived advantages of relational DBs: simple data structure simple operators no frivolous distinctions SQL support the view mechanism sound theoretical base small number of concepts the dual-mode principle physical data independence logical data independence Why relational? 4 Perceived advantages of relational DBs (cont.): ease of application development dynamic data definition ease of installation and ease of operations simplified database design integrated dictionary distributed database support performance extendability all evident in relation to CODASYL comparison 4/20/ /20/

7 A brief elaboration of Date's concerns 1 simple data structure table is the basis of the relational model simple operators 5 relational operators for completeness set-level operations / closure / declarative no frivolous distinctions uniform methods of interaction with DB e.g. for update relation, or impose constraint SQL support high-level queries / widespread use, acceptance the view mechanism means to customise the DB without new concepts sound theoretical base relational model is mathematically rigorous 4/20/ A brief elaboration of Date's concerns 2 small number of concepts single mode of representation + uniform update cf multi-mode + proliferation of mechanisms the dual-mode principle embedded DML to access the DB from programs autonomous activity resembles user interaction physical data independence separate conceptual model / physical database logical data independence separate conceptual model / user views ease of application development makes application generators possible makes high-level prototyping easy dynamic data definition can modify a relational DB design incrementally 4/20/ A brief elaboration of Date's concerns 3 ease of installation and ease of operations robust, easy to manage by few personnel simplified database design have principles for database design integrated dictionary consistent interface for meta-level access metadata-driven programs can be written distributed database support high semantic content of queries, declarative nature cf. problems of breaking up procedural chains performance down to optimiser, not applications programmer extendability can easily build on relational database models 4/20/ Date's concerns and CODASYL 1 simple data structure? cf complexity of DBTG sets and pointers simple operators? no high-level operators, nothing at the set-level have to record state, pointers create modes no frivolous distinctions? complex methods of interaction with DB e.g. update relation and impose constraint would be dealt with in entirely separate ways SQL support? no concept of high-level query, was widespread! the view mechanism? has no analogue for CODASYL sound theoretical base? no discernible theory in CODASYL framework 4/20/

8 Date's concerns and CODASYL 2 small number of concepts? multi-mode + proliferation of mechanisms representation ways to select, insert, delete, update the dual-mode principle? no clear distinction between high-level queries and application programmer's mode of access physical data independence? conceptual model mixed with physical database logical data independence? no provision for user views ease of application development? CODASYL doesn't make data access much easier dynamic data definition? DB design has to be carefully preconceived and can't easily be adapted 4/20/ Date's concerns and CODASYL 3 ease of installation and ease of operations? CODASYL probably keeps program surgery busy simplified database design? principles for database design more suspect integrated dictionary? meta-level issues not addressed within model distributed database support? who'd like to parallelise CODASYL updates? performance? was traditionally better than relational models! extendability? CODASYL not something to be built on... 4/20/ Interpreting Date s defence of relational models Date s arguments in defence of relational models are very powerful when seen in the context of CODASYL Need to understand them in relation what might be the best data modelling practices for today and the future Important for this purpose to classify the defences: defence from theory? is the theory adequate defence from practice? will the practice change special qualities exhibited by the relational model? are they particular to RDBs, or generalisable Classifying the advantages cited by Date 1 Will classify Date s list of advantages into THEORY, PRINCIPLES and CONSEQUENCES and further subdivide PRINCIPLES into PRACTICAL & FOUNDATIONAL THEORY simple data structure simple operators no frivolous distinctions sound theoretical base small number of concepts 4/20/ /20/

9 Classifying the advantages cited by Date 2 PRINCIPLES - PRACTICAL ASPECT SQL support the view mechanism the dual-mode principle physical data independence logical data independence dynamic data definition PRINCIPLES - FOUNDATIONAL ASPECT simplified database design integrated dictionary: metadata-driven distributed database support: atomicity Classifying the advantages cited by Date 3 CONSEQUENCES ease of application development ease of installation and ease of operations performance extendability The status of these advantages is relevant when we come to consider what is really siginificant about the relational model in comparison with other alternatives... 4/20/ /20/ What are the virtues of the relational model? 1 Certain features of relational models wish to retain... will return to express personal views concerning the defence of the relational position later turn next to the issue of Why not Relational?! whynotrel.ppt 4/20/ The defence from theory simple data structure want elegant and consistent structures simple operators want high-level operators need techniques at the set-level don't want to have to record state don't want to maintain pointers 4/20/

10 What are the virtues of the relational model? 2 Certain features of relational models wish to retain... The defence from theory small number of concepts want a unified view for representation uniform ways to manipulate sound theoretical base want to be able to apply mathematical techniques... but all these attributes apply to Miranda, for example, and this hasn't made it widely / wildly successful 4/20/ What are the virtues of the relational model? 3 The defence from practice... SQL support need concept of high-level query the view mechanism must be able to represent different user views the dual-mode principle invoking user commands automatically is a powerful principle for program development and debugging physical and logical data independence must be possible to separate concerns at high and low levels of abstraction... but do these qualities fit into a general scheme or are they specific to the relational framework? 4/20/ What are the virtues of the relational model? 4 Evidence of special suitability for real-world modelling... simplified database design have principles for database design contrast the messiness of CODASYL integrated dictionary can write metadata-driven programs no chance to take high-level view in CODASYL distributed database support high semantic content of queries, atomicity of action queries in CODASYL not much about the real-world 4/20/ What are the virtues of the relational model? 5 Evidence of special suitability for real-world modelling database design reveals very direct connections between dependencies amongst attributes of realworld objects and forms for their representation in relation schemes content = real-world meaning dictating form = structure of the representation Fundamental conflict between theory and practice over the relationship between form and content 4/20/

11 What are the virtues of the relational model? 6 Important aspects of relational DBs (in WMB s view) What are the virtues of the relational model? 7 Important aspects of relational DBs (in WMB s view) THEORY aspect underlying algebraic model PRACTICAL aspect provides basis for unambiguous evaluation closure properties potential for optimisation & axiomatisation PRINCIPLES represented in views + application generators + spreadsheets 4/20/ involve state essentially, so not purely declarative good for expressing agent actions / views good for representing levels of abstraction cf ACE & A Small Matter of Programming, Bonnie Nardi Represents a framework for managing state cleaner than procedural programming, more expressive than FP 4/20/ What are the virtues of the relational model? 8 Important aspects of relational DBs (in WMB s view) FOUNDATIONAL aspect concerned with metaphor not symbolic representation invokes form and content in combination Notes on these respective issues metaphor: the form reflects the content [as is true to some degree of relational models] cf logicism debate in AI: A Critique of Pure Reason McDermott et seq 4/20/ Issues for database development 1 How to avoid "back to the future"? need theoretical foundation need qualities of declarative query need principles to handle abstraction at many levels: data independence need to support interaction of agents at high-levels of abstraction need to retain / replace the form-content relationships that relational DB design theory introduces 4/20/

12 Issues for database development 2 Modern database demands enormous volumes of data high-performance e.g. for multi-media, real-time support for metaphor e.g. visual image not table concurrent access, distributed data closer integration between direct (human) and programmed (computer) data access support for modern data abstractions: objects, inheritance, aggregation applicability to design environment needs: incremental intensional change 4/20/

Chapter 2. Data Model. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel

Chapter 2. Data Model. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel 1 In this chapter, you will learn: Why data models are important About the basic data-modeling

More information

Overview of Data Management

Overview of Data Management Overview of Data Management Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Winter 2015 CS 348 (Intro to DB Mgmt) Overview of Data Management

More information

Overview of Database Management

Overview of Database Management Overview of Database Management M. Tamer Özsu David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Fall 2012 CS 348 Overview of Database Management

More information

Chapter 1: Introduction. Database Management System (DBMS) University Database Example

Chapter 1: Introduction. Database Management System (DBMS) University Database Example This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS contains information

More information

Database Management. Chapter Objectives

Database Management. Chapter Objectives 3 Database Management Chapter Objectives When actually using a database, administrative processes maintaining data integrity and security, recovery from failures, etc. are required. A database management

More information

CSE 233. Database System Overview

CSE 233. Database System Overview CSE 233 Database System Overview 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric: web knowledge harvesting,

More information

History of Database Systems

History of Database Systems History of Database Systems By Kaushalya Dharmarathna(030087) Sandun Weerasinghe(040417) Early Manual System Before-1950s Data was stored as paper records. Lot of man power involved. Lot of time was wasted.

More information

CSE 132A. Database Systems Principles

CSE 132A. Database Systems Principles CSE 132A Database Systems Principles Prof. Victor Vianu 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric:

More information

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system Introduction: management system Introduction s vs. files Basic concepts Brief history of databases Architectures & languages System User / Programmer Application program Software to process queries Software

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db book.com for conditions on re use Chapter 1: Introduction Purpose of Database Systems View of Data Database Languages Relational Databases

More information

Introduction: Database management system

Introduction: Database management system Introduction Databases vs. files Basic concepts Brief history of databases Architectures & languages Introduction: Database management system User / Programmer Database System Application program Software

More information

1 File Processing Systems

1 File Processing Systems COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.

More information

Database System Concepts

Database System Concepts s Design Chapter 1: Introduction Departamento de Engenharia Informática Instituto Superior Técnico 1 st Semester 2008/2009 Slides (fortemente) baseados nos slides oficiais do livro c Silberschatz, Korth

More information

Relational Database Basics Review

Relational Database Basics Review Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on

More information

Database Systems. Lecture 1: Introduction

Database Systems. Lecture 1: Introduction Database Systems Lecture 1: Introduction General Information Professor: Leonid Libkin Contact: libkin@ed.ac.uk Lectures: Tuesday, 11:10am 1 pm, AT LT4 Website: http://homepages.inf.ed.ac.uk/libkin/teach/dbs09/index.html

More information

Week 1 Part 1: An Introduction to Database Systems. Databases and DBMSs. Why Use a DBMS? Why Study Databases??

Week 1 Part 1: An Introduction to Database Systems. Databases and DBMSs. Why Use a DBMS? Why Study Databases?? Week 1 Part 1: An Introduction to Database Systems Databases and DBMSs Data Models and Data Independence Concurrency Control and Database Transactions Structure of a DBMS DBMS Languages Databases and DBMSs

More information

Lecture 1: Introduction

Lecture 1: Introduction Programming Languages Lecture 1: Introduction Benjamin J. Keller Department of Computer Science, Virginia Tech Programming Languages Lecture 1 Introduction 2 Lecture Outline Preview History of Programming

More information

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage Database Design Process there are six stages in the design of a database: 1. requirement analysis 2. conceptual database design 3. choice of the DBMS 4. data model mapping 5. physical design 6. implementation

More information

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè.

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè. CMPT-354-Han-95.3 Lecture Notes September 10, 1995 Chapter 1 Introduction 1.0 Database Management Systems 1. A database management system èdbmsè, or simply a database system èdbsè, consists of æ A collection

More information

Overview of Database Management Systems

Overview of Database Management Systems Overview of Database Management Systems Goals: DBMS basic concepts Introduce underlying managerial issues Prepare for discussion of uses of DBMS, such as OLAP and database mining 1 Overview of Database

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database

More information

CHAPTER 6 DATABASE MANAGEMENT SYSTEMS. Learning Objectives

CHAPTER 6 DATABASE MANAGEMENT SYSTEMS. Learning Objectives CHAPTER 6 DATABASE MANAGEMENT SYSTEMS Management Information Systems, 10 th edition, By Raymond McLeod, Jr. and George P. Schell 2007, Prentice Hall, Inc. 1 Learning Objectives Understand the hierarchy

More information

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 The Relational Model CS2 Spring 2005 (LN6) 1 The relational model Proposed by Codd in 1970. It is the dominant data

More information

Databases What the Specification Says

Databases What the Specification Says Databases What the Specification Says Describe flat files and relational databases, explaining the differences between them; Design a simple relational database to the third normal form (3NF), using entityrelationship

More information

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML? CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 Introduction to Databases CS2 Spring 2005 (LN5) 1 Why databases? Why not use XML? What is missing from XML: Consistency

More information

Contents RELATIONAL DATABASES

Contents RELATIONAL DATABASES Preface xvii Chapter 1 Introduction 1.1 Database-System Applications 1 1.2 Purpose of Database Systems 3 1.3 View of Data 5 1.4 Database Languages 9 1.5 Relational Databases 11 1.6 Database Design 14 1.7

More information

Introduction to Object-Oriented and Object-Relational Database Systems

Introduction to Object-Oriented and Object-Relational Database Systems , Professor Uppsala DataBase Laboratory Dept. of Information Technology http://www.csd.uu.se/~udbl Extended ER schema Introduction to Object-Oriented and Object-Relational Database Systems 1 Database Design

More information

Introduction to database management systems

Introduction to database management systems Introduction to database management systems Database management systems module Myself: researcher in INRIA Futurs, Ioana.Manolescu@inria.fr The course: follows (part of) the book "", Fourth Edition Abraham

More information

COURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases;

COURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases; COURSE NAME: Database Management TOPIC: Database Design LECTURE 3 The Database System Life Cycle (DBLC) The database life cycle contains six phases; 1 Database initial study. Analyze the company situation.

More information

Lesson 8: Introduction to Databases E-R Data Modeling

Lesson 8: Introduction to Databases E-R Data Modeling Lesson 8: Introduction to Databases E-R Data Modeling Contents Introduction to Databases Abstraction, Schemas, and Views Data Models Database Management System (DBMS) Components Entity Relationship Data

More information

The Relational Data Model: Structure

The Relational Data Model: Structure The Relational Data Model: Structure 1 Overview By far the most likely data model in which you ll implement a database application today. Of historical interest: the relational model is not the first implementation

More information

Object Oriented Databases. OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar

Object Oriented Databases. OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar Object Oriented Databases OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar Executive Summary The presentation on Object Oriented Databases gives a basic introduction to the concepts governing OODBs

More information

Database Concepts. Database & Database Management System. Application examples. Application examples

Database Concepts. Database & Database Management System. Application examples. Application examples Database & Database Management System Database Concepts Database = A shared collection of logically related (and a description of this data), designed to meet the information needs of an organization.

More information

McGraw-Hill The McGraw-Hill Companies, Inc., 20 1. 01 0

McGraw-Hill The McGraw-Hill Companies, Inc., 20 1. 01 0 1.1 McGraw-Hill The McGraw-Hill Companies, Inc., 2000 Objectives: To describe the evolution of programming languages from machine language to high-level languages. To understand how a program in a high-level

More information

Database Management Systems

Database Management Systems Database Management Systems UNIT -1 1.0 Introduction and brief history to Database 1.1 Characteristics of database 1.2 Difference between File System & DBMS. 1.3 Advantages of DBMS 1.4 Functions of DBMS

More information

Commercial Database Software Development- A review.

Commercial Database Software Development- A review. Commercial Database Software Development- A review. A database software has wide applications. A database software is used in almost all the organizations. Over 15 years many tools have been developed

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions. Chapter 3

The Relational Model. Why Study the Relational Model? Relational Database: Definitions. Chapter 3 The Relational Model Chapter 3 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase,

More information

Study Notes for DB Design and Management Exam 1 (Chapters 1-2-3) record A collection of related (logically connected) fields.

Study Notes for DB Design and Management Exam 1 (Chapters 1-2-3) record A collection of related (logically connected) fields. Study Notes for DB Design and Management Exam 1 (Chapters 1-2-3) Chapter 1 Glossary Table data Raw facts; that is, facts that have not yet been processed to reveal their meaning to the end user. field

More information

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont. Objectives To describe the services an operating system provides to users, processes, and other systems To discuss the various ways of structuring an operating system Chapter 2: Operating-System Structures

More information

Chapter 1: Introduction. Database Management System (DBMS)

Chapter 1: Introduction. Database Management System (DBMS) Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database

More information

A Review of Database Schemas

A Review of Database Schemas A Review of Database Schemas Introduction The purpose of this note is to review the traditional set of schemas used in databases, particularly as regards how the conceptual schemas affect the design of

More information

Chapter 13: Program Development and Programming Languages

Chapter 13: Program Development and Programming Languages Understanding Computers Today and Tomorrow 12 th Edition Chapter 13: Program Development and Programming Languages Learning Objectives Understand the differences between structured programming, object-oriented

More information

1. INTRODUCTION TO RDBMS

1. INTRODUCTION TO RDBMS Oracle For Beginners Page: 1 1. INTRODUCTION TO RDBMS What is DBMS? Data Models Relational database management system (RDBMS) Relational Algebra Structured query language (SQL) What Is DBMS? Data is one

More information

WHITE PAPER A COMPARISON BETWEEN RELATIONAL AND OBJECT ORIENTED DATABASES FOR OBJECT ORIENTED APPLICATION DEVELOPMENT JONATHAN ROBIE DIRK BARTELS

WHITE PAPER A COMPARISON BETWEEN RELATIONAL AND OBJECT ORIENTED DATABASES FOR OBJECT ORIENTED APPLICATION DEVELOPMENT JONATHAN ROBIE DIRK BARTELS WHITE PAPER A COMPARISON BETWEEN RELATIONAL AND OBJECT ORIENTED DATABASES FOR OBJECT ORIENTED APPLICATION DEVELOPMENT BY: JONATHAN ROBIE DIRK BARTELS POET SOFTWARE CORPORATION 800-950- 8845 Introduction

More information

The Entity-Relationship Model

The Entity-Relationship Model The Entity-Relationship Model 221 After completing this chapter, you should be able to explain the three phases of database design, Why are multiple phases useful? evaluate the significance of the Entity-Relationship

More information

Course Notes on A Short History of Database Technology

Course Notes on A Short History of Database Technology Course Notes on A Short History of Database Technology Traditional File-Based Approach Three Eras of Database Technology (1) Prehistory file systems hierarchical and network systems (2) The revolution:

More information

Course Notes on A Short History of Database Technology

Course Notes on A Short History of Database Technology Course Notes on A Short History of Database Technology Three Eras of Database Technology (1) Prehistory file systems hierarchical and network systems (2) The revolution: relational database technology

More information

INTRODUCTION DATABASE MANAGEMENT SYSTEMS

INTRODUCTION DATABASE MANAGEMENT SYSTEMS Based on set of slides provided by Silberschatz, Korth, Sudarshan, 2010. Content modified by Sarajane Marques Peres, Ph.D. INTRODUCTION DATABASE MANAGEMENT SYSTEMS History of Database Systems 1950s and

More information

In This Lecture. SQL Data Definition SQL SQL. Notes. Non-Procedural Programming. Database Systems Lecture 5 Natasha Alechina

In This Lecture. SQL Data Definition SQL SQL. Notes. Non-Procedural Programming. Database Systems Lecture 5 Natasha Alechina This Lecture Database Systems Lecture 5 Natasha Alechina The language, the relational model, and E/R diagrams CREATE TABLE Columns Primary Keys Foreign Keys For more information Connolly and Begg chapter

More information

ECS 165A: Introduction to Database Systems

ECS 165A: Introduction to Database Systems ECS 165A: Introduction to Database Systems Todd J. Green based on material and slides by Michael Gertz and Bertram Ludäscher Winter 2011 Dept. of Computer Science UC Davis ECS-165A WQ 11 1 1. Introduction

More information

Types & Uses of Databases

Types & Uses of Databases Types & Uses of Databases Connolly/Beggs Chapter 1 Ramakrishnan Chapter 1 Overview What is a database? File-Based Systems What are they? The Database Approach What is it? Data Models Database Management

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

The Relational Model. Why Study the Relational Model? Relational Database: Definitions The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in

More information

Databases and BigData

Databases and BigData Eduardo Cunha de Almeida eduardo.almeida@uni.lu Outline of the course Introduction Database Systems (E. Almeida) Distributed Hash Tables and P2P (C. Cassagnes) NewSQL (D. Kim and J. Meira) NoSQL (D. Kim)

More information

full file at http://testbankinstant.com

full file at http://testbankinstant.com CHAPTER OBJECTIVES To understand the nature and characteristics of databases To survey some important and interesting database applications To gain a general understanding of tables and relationships To

More information

The Import & Export of Data from a Database

The Import & Export of Data from a Database The Import & Export of Data from a Database Introduction The aim of these notes is to investigate a conceptually simple model for importing and exporting data into and out of an object-relational database,

More information

Embedded SQL. Unit 5.1. Dr Gordon Russell, Copyright @ Napier University

Embedded SQL. Unit 5.1. Dr Gordon Russell, Copyright @ Napier University Embedded SQL Unit 5.1 Unit 5.1 - Embedde SQL - V2.0 1 Interactive SQL So far in the module we have considered only the SQL queries which you can type in at the SQL prompt. We refer to this as interactive

More information

ICOM 6005 Database Management Systems Design. Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001

ICOM 6005 Database Management Systems Design. Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001 ICOM 6005 Database Management Systems Design Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001 Readings Read Chapter 1 of text book ICOM 6005 Dr. Manuel

More information

Principles of Database. Management: Summary

Principles of Database. Management: Summary Principles of Database Management: Summary Pieter-Jan Smets September 22, 2015 Contents 1 Fundamental Concepts 5 1.1 Applications of Database Technology.............................. 5 1.2 Definitions.............................................

More information

Introduction to Computing. Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn

Introduction to Computing. Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn Introduction to Computing Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn Databases The Hierarchy of Data Keys and Attributes The Traditional Approach To Data Management Database A collection of

More information

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions Announcements SE 1: Software Requirements Specification and Analysis Lecture 4: Basic Notations Nancy Day, Davor Svetinović http://www.student.cs.uwaterloo.ca/ cs445/winter2006 uw.cs.cs445 Send your group

More information

ISM 318: Database Systems. Objectives. Database. Dr. Hamid R. Nemati

ISM 318: Database Systems. Objectives. Database. Dr. Hamid R. Nemati ISM 318: Database Systems Dr. Hamid R. Nemati Department of Information Systems Operations Management Bryan School of Business Economics Objectives Underst the basics of data databases Underst characteristics

More information

Chapter 2 Database System Concepts and Architecture

Chapter 2 Database System Concepts and Architecture Chapter 2 Database System Concepts and Architecture Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Outline Data Models, Schemas, and Instances Three-Schema Architecture

More information

The Relational Model. Why Study the Relational Model?

The Relational Model. Why Study the Relational Model? The Relational Model Chapter 3 Instructor: Vladimir Zadorozhny vladimir@sis.pitt.edu Information Science Program School of Information Sciences, University of Pittsburgh 1 Why Study the Relational Model?

More information

2. Analysis, Design and Implementation

2. Analysis, Design and Implementation 2. Subject/Topic/Focus: Software Production Process Summary: Software Crisis Software as a Product: From Individual Programs to Complete Application Systems Software Development: Goals, Tasks, Actors,

More information

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1 The Relational Model Ramakrishnan&Gehrke, Chapter 3 CS4320 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. Legacy systems in older models

More information

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches Concepts of Database Management Seventh Edition Chapter 9 Database Management Approaches Objectives Describe distributed database management systems (DDBMSs) Discuss client/server systems Examine the ways

More information

Introduction to Databases

Introduction to Databases Marek Rychly mrychly@strathmore.edu Strathmore University, @ilabafrica & Brno University of Technology, Faculty of Information Technology Advanced Databases and Enterprise Systems 24 August 2015 Marek

More information

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. 1 Oracle9i Documentation First-Semester 1427-1428 Definitions

More information

CHAPTER-IV DATABASE MANAGEMENT AND ITS ENVIRONMENT

CHAPTER-IV DATABASE MANAGEMENT AND ITS ENVIRONMENT CHAPTER-IV DATABASE MANAGEMENT AND ITS ENVIRONMENT 4.1 EVOLUTION OF DATABASE MANAGEMENT SYSTEMS The past two decades have witnessed enormous growth in the number and importance of database applications.

More information

Introdução às Bases de Dados

Introdução às Bases de Dados Introdução às Bases de Dados 2011/12 http://ssdi.di.fct.unl.pt/ibd1112 Joaquim Silva (jfs@di.fct.unl.pt) The Bases de Dados subject Objective: To provide the basis for the modeling, implementation, analysis

More information

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to: 14 Databases 14.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define a database and a database management system (DBMS)

More information

2. Conceptual Modeling using the Entity-Relationship Model

2. Conceptual Modeling using the Entity-Relationship Model ECS-165A WQ 11 15 Contents 2. Conceptual Modeling using the Entity-Relationship Model Basic concepts: entities and entity types, attributes and keys, relationships and relationship types Entity-Relationship

More information

COMHAIRLE NÁISIÚNTA NA NATIONAL COUNCIL FOR VOCATIONAL AWARDS PILOT. Consultative Draft Module Descriptor. Relational Database

COMHAIRLE NÁISIÚNTA NA NATIONAL COUNCIL FOR VOCATIONAL AWARDS PILOT. Consultative Draft Module Descriptor. Relational Database COMHAIRLE NÁISIÚNTA NA gcáilíochtaí GAIRMOIDEACHAIS NATIONAL COUNCIL FOR VOCATIONAL AWARDS PILOT Consultative Draft Module Descriptor Relational Database Level 3 C30147 December 1998 1 Title Relational

More information

COMP5138 Relational Database Management Systems. Databases are Everywhere!

COMP5138 Relational Database Management Systems. Databases are Everywhere! COMP5138 Relational Database Management Systems Week 1: COMP 5138 Intro to Database Systems Professor Joseph Davis and Boon Ooi Databases are Everywhere! Database Application Examples: Banking: all transactions

More information

Course: CSC 222 Database Design and Management I (3 credits Compulsory)

Course: CSC 222 Database Design and Management I (3 credits Compulsory) Course: CSC 222 Database Design and Management I (3 credits Compulsory) Course Duration: Three hours per week for 15weeks with practical class (45 hours) As taught in 2010/2011 session Lecturer: Oladele,

More information

3. Relational Model and Relational Algebra

3. Relational Model and Relational Algebra ECS-165A WQ 11 36 3. Relational Model and Relational Algebra Contents Fundamental Concepts of the Relational Model Integrity Constraints Translation ER schema Relational Database Schema Relational Algebra

More information

Chapter 13: Program Development and Programming Languages

Chapter 13: Program Development and Programming Languages 15 th Edition Understanding Computers Today and Tomorrow Comprehensive Chapter 13: Program Development and Programming Languages Deborah Morley Charles S. Parker Copyright 2015 Cengage Learning Learning

More information

DATABASE MANAGEMENT SYSTEMS. Question Bank:

DATABASE MANAGEMENT SYSTEMS. Question Bank: DATABASE MANAGEMENT SYSTEMS Question Bank: UNIT 1 1. Define Database? 2. What is a DBMS? 3. What is the need for database systems? 4. Define tupule? 5. What are the responsibilities of DBA? 6. Define schema?

More information

Module 9. User Interface Design. Version 2 CSE IIT, Kharagpur

Module 9. User Interface Design. Version 2 CSE IIT, Kharagpur Module 9 User Interface Design Lesson 21 Types of User Interfaces Specific Instructional Objectives Classify user interfaces into three main types. What are the different ways in which menu items can be

More information

Database Management Systems. Chapter 1

Database Management Systems. Chapter 1 Database Management Systems Chapter 1 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 2 What Is a Database/DBMS? A very large, integrated collection of data. Models real-world scenarios

More information

2. Analysis, Design and Implementation

2. Analysis, Design and Implementation 2. Analysis, Design and Implementation Subject/Topic/Focus: Software Production Process Summary: Software Crisis Software as a Product: From Programs to Application Systems Products Software Development:

More information

BCA. Database Management System

BCA. Database Management System BCA IV Sem Database Management System Multiple choice questions 1. A Database Management System (DBMS) is A. Collection of interrelated data B. Collection of programs to access data C. Collection of data

More information

Object models and Databases. Contents

Object models and Databases. Contents : Object models and Databases by Robin Beaumont e-mail: robin@robinbt2.free-online.co.uk Contents 2. LEARNING OUTCOMES CHECK LIST FOR THE SESSION... 2-2 3. INTRODUCTION... 3-3 4. A STRATEGY FOR SPECIFYING

More information

CHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY

CHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY CHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY 2.1 Introduction In this chapter, I am going to introduce Database Management Systems (DBMS) and the Structured Query Language (SQL), its syntax and usage.

More information

Question #1: What are the main issues considered during physical database design?

Question #1: What are the main issues considered during physical database design? INDE499B, Classroom Preparation for 10/30/00 1 Question #1: What are the main issues considered during physical database design? Respondant: The main issues considered during the physical database design

More information

Fourth generation techniques (4GT)

Fourth generation techniques (4GT) Fourth generation techniques (4GT) The term fourth generation techniques (4GT) encompasses a broad array of software tools that have one thing in common. Each enables the software engineer to specify some

More information

DATA BASE. Copyright @ www.bcanotes.com

DATA BASE. Copyright @ www.bcanotes.com DATA BASE This Is About Managing and structuring the collections of data held on computers. A database consists of an organized collection of data for one or more uses, typically in digital form. Database

More information

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World COSC 304 Introduction to Systems Introduction Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca What is a database? A database is a collection of logically related data for

More information

A COMPARISON OF OBJECT-RELATIONAL AND RELATIONAL DATABASES A Thesis Presented to the Faculty of California Polytechnic State University San Luis Obispo In Partial Fulfillment of the Requirements for the

More information

Review Entity-Relationship Diagrams and the Relational Model. Data Models. Review. Why Study the Relational Model? Steps in Database Design

Review Entity-Relationship Diagrams and the Relational Model. Data Models. Review. Why Study the Relational Model? Steps in Database Design Review Entity-Relationship Diagrams and the Relational Model CS 186, Fall 2007, Lecture 2 R & G, Chaps. 2&3 Why use a DBMS? OS provides RAM and disk A relationship, I think, is like a shark, you know?

More information

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement? 1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members

More information

Introduction to Databases

Introduction to Databases Page 1 of 5 Introduction to Databases An introductory example What is a database? Why do we need Database Management Systems? The three levels of data abstraction What is a Database Management System?

More information

White Paper: 5GL RAD Development

White Paper: 5GL RAD Development White Paper: 5GL RAD Development After 2.5 hours of training, subjects reduced their development time by 60-90% A Study By: 326 Market Street Harrisburg, PA 17101 Luis Paris, Ph.D. Associate Professor

More information

Database Systems. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti

Database Systems. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti Database Systems Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Presentation

More information

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals 1 Properties of a Database 1 The Database Management System (DBMS) 2 Layers of Data Abstraction 3 Physical Data Independence 5 Logical

More information

Access 2007 Creating Forms Table of Contents

Access 2007 Creating Forms Table of Contents Access 2007 Creating Forms Table of Contents CREATING FORMS IN ACCESS 2007... 3 UNDERSTAND LAYOUT VIEW AND DESIGN VIEW... 3 LAYOUT VIEW... 3 DESIGN VIEW... 3 UNDERSTAND CONTROLS... 4 BOUND CONTROL... 4

More information

DATABASE MANAGEMENT SYSTEM

DATABASE MANAGEMENT SYSTEM REVIEW ARTICLE DATABASE MANAGEMENT SYSTEM Sweta Singh Assistant Professor, Faculty of Management Studies, BHU, Varanasi, India E-mail: sweta.v.singh27@gmail.com ABSTRACT Today, more than at any previous

More information

File Manager base component

File Manager base component Providing flexible, easy-to-use application development tools designed to enhance file processing IBM File Manager for z/os, V13.1 Figure 1: File Manager environment Highlights Supports development and

More information

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations 1 Topics for this week: 1. Good Design 2. Functional Dependencies 3. Normalization Readings for this week: 1. E&N, Ch. 10.1-10.6; 12.2 2. Quickstart, Ch. 3 3. Complete the tutorial at http://sqlcourse2.com/

More information