CMSC724: Database Management Systems Instructor: Amol Deshpande

Slides:



Advertisements
Similar presentations
Limitations of the relational model 1. 2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs.
Advertisements

Chapter 10: Designing Databases
Database Systems: Design, Implementation, and Management Ninth Edition
Introduction to Databases
The Entity-Relationship Model
1 541: Database Systems S. Muthu Muthukrishnan. 2 Overview of Database Design  Conceptual design: (ER Model is used at this stage.)  What are the entities.
The Entity-Relationship (ER) Model
The Entity-Relationship Model
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Entity-Relationship Model Chapter 2.
Wrapup Amol Deshpande CMSC424. “Inventing the Future” Wednesday at 3:30pm 1115 CSIC Exam.
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
11/28/2000Information Organization and Retrieval Introduction to Databases and Database Design University of California, Berkeley School of Information.
File Systems and Databases
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Lecture 1: Introduction to Relational.
Chapter 1: Data Models and DBMS Architecture Title: What Goes Around Comes Around Authors: M. Stonebraker, J. Hellerstein Pages: 2-40.
1 Statistics XML: –Altavista: 800,000 pages returned. –Amazon.com: 242 books. In comparison: –God: 12,000 books, 7 Million pages –Bible: 32,000 books,
The Entity-Relationship (ER) Model CS541 Computer Science Department Rutgers University.
Callie’s Birthday SLIDE 1IS 202 – FALL 2004 Prof. Ray Larson & Prof. Marc Davis UC Berkeley SIMS Tuesday and Thursday 10:30 am - 12:00 pm.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 2 Data Models Database Systems, 8th Edition 1.
Evolution in Database Models
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Academic Year 2014 Spring.
Introduction and Conceptual Modeling
Chapter 4 Object and Object-Relational Databases (Part ½: Object-Oriented Concepts) Lecturer: H.Ben Othmen Department of Computer Science, Umm Al-Qura.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
What is a Database? A database is any collection of data.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
DBMS Lecture 9  Object Database Management Group –12 Rules for an OODBMS –Components of the ODMG standard  OODBMS Object Model Schema  OO Data Model.
Limitations of the relational model. Just as the relational model supplanted the network and hierarchical model so too will the object – orientated model.
By: M.Nadeem Akhtar1 The Data Base Management System (DBMS) Ch # 09.
Database System Concepts and Architecture
CS609 Introduction. Databases Current state? Future?
1 CSBP430 – Database Systems Chapter 2: Database System Concepts and Architecture Elarbi Badidi College of Information Technology United Arab Emirates.
Chapter # 2 Data Models BIS Database Systems A.Thanop Somprasong
ICS 321 Spring 2011 High Level Database Models Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 2/7/20111Lipyeow.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj RM/SQL Lecture 1 ©Akhilesh Bajaj, 2000, 2002, 2003, All.
Christoph F. Eick: Designing E/R Diagrams 1 The Entity-Relationship Model Chapter 3+4.
Object Persistence (Data Base) Design Chapter 13.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
1.1 CAS CS 460/660 Relational Model. 1.2 Review E/R Model: Entities, relationships, attributes Cardinalities: 1:1, 1:n, m:1, m:n Keys: superkeys, candidate.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
1 Conceptual Design using the Entity- Relationship Model.
1Mr.Mohammed Abu Roqyah. Database System Concepts and Architecture 2Mr.Mohammed Abu Roqyah.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  The concept of Data, Information and Knowledge  The fundamental terms:  Database and database system  Database.
DataBase System Concepts and Architecture
1 CSE544 Monday April 26, Announcements Project Milestone –Due today Next paper: On the Unusual Effectiveness of Logic in Computer Science –Need.
Fall CSE330/CIS550: Introduction to Database Management Systems Prof. Susan Davidson Office: 278 Moore Office hours: TTh
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Faeez, Franz & Syamim.   Database – collection of persistent data  Database Management System (DBMS) – software system that supports creation, population,
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Welcome: To the fifth learning sequence “ Data Models “ Recap : In the previous learning sequence, we discussed The Database concepts. Present learning:
CS 325 Spring ‘09 Chapter 1 Goals:
Datab ase Systems Week 1 by Zohaib Jan.
Database Management:.
The Context of Database Management
9/22/2018.
 DATAABSTRACTION  INSTANCES& SCHEMAS  DATA MODELS.
Database.
Data Model.
Database Systems Instructor Name: Lecture-3.
Chapter 1: Introduction
Object-Oriented Databases
What Goes Around Comes Around
Presentation transcript:

CMSC724: Database Management Systems Instructor: Amol Deshpande

Data Modeling A data model theory typically involves “structural part” – collection of concepts/constructs to represent data “integrity part” – constraints to ensure data integrity “manipulation part” – constructs for manipulating the data We would like it to be: Sufficiently expressive – can capture the real-world data well Easy to use Lends itself to good performance

Data Models Hierarchical/IMS Constructs: Hierarchy, keys, record types, DL/1 language Issues: Navigational interaction, no physical data independence, repetition of information (m-to-n relationships), inability to represent information Last two solved by a latter extension Some logical data independence Network/CODASYL Constructs: “set” type, network structure “programmer as a navigator” Cons: No physical or logical data independence, bulk loading, 3- way relationships, very complex programming constructs

Data Models Relational Constructs: Relations, relational algebra/calculus, functional dependencies Physical and logical data independence Cons: Transitive closure, (initially) performance, (initially) too complex and mathematical languages Don Chamberlin of IBM was an early CODASYL advocate (later co-invented SQL) “He (Codd) gave a seminar and a lot of us went to listen to him. This was as I say a revelation for me because Codd had a bunch of queries that were fairly complicated queries and since I'd been studying CODASYL, I could imagine how those queries would have been represented in CODASYL by programs that were five pages long that would navigate through this labyrinth of pointers and stuff. Codd would sort of write them down as one-liners. These would be queries like, "Find the employees who earn more than their managers." [laughter] He just whacked them out and you could sort of read them, and they weren't complicated at all, and I said, "Wow." This was kind of a conversion experience for me, that I understood what the relational thing was about after that.”

Data Models Entity-relational Constructs: entity, relationship Limitations: Lack of query language, ease of mapping into relational The conceptual model of choice to design the schema Relational++ Constructs: set-valued attributes, aggregation, generalization etc Limitations: Didn’t prove terribly useful either functionally or performance-wise

Data Models Semantic data models Constructs: class, class variable, multiple inheritance etc OO Essentially persistent PLs Less impedance mismatch Weak support for Xions, queries etc. Niche market (e.g. CAD)

Data Models OR Constructs: User-defined functions, types, access methods Semi-structured “Schema last” Constructs: DTD, XMLSchema, union types etc Issues: Limited applicability ??, doesn’t really solve semantic heterogeniety Standard for wire format

Some lessons Physical/logical data independence desirable Record-at-a-time, navigational interfaces force manual query optimization and won’t scale Technical debates settled by the marketplace in many cases KISS OO: Packages will not sell to users without “major pain” User-defined functions and access method effective Schema-last is probably a niche market Semantic heterogeneity not solved by XML