1 Object Databases: Introduction. 2 Why OO? v Relational Systems are limited: –Structural restrictions on data –Missing semantics (value-based relationships)

Slides:



Advertisements
Similar presentations
Jane Reid, BSc/IT DB, QMUL, 25/2/02 1 Object-oriented DBMS Background to ODBMS ODBMS requirements Object components ODB conceptual design –Graphical ODB.
Advertisements

Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chapter 1 Instructor: Mirsad Hadzikadic.
Database: A collection of related data [Elmasri]. A database represents some aspect of real world called “miniworld” [Elmasri] or “enterprise” [Ramakrishnan].
--The Object Database--1 The Object Database  Object databases integrate database technology with the object-oriented paradigm  In object databases,
GI Systems and Science January 30, Points to Cover  Recap of what we covered so far  A concept of database Database Management System (DBMS) 
ICS (072)Database Systems: A Review1 Database Systems: A Review Dr. Muhammad Shafique.
OBJECTS Object Oriented ???????. OBJECTS Object-Oriented n OO convenient label for a collection of interconnected ideas n OO approach views computer.
Geographic Information Systems
Object-Oriented Databases
Chapter 11 Data Management Layer Design
Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes.
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Object and Object- Relational Databases.
Object-Oriented Methods: Database Technology An introduction.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Introduction and Conceptual Modeling
EER vs. UML Terminology EER Diagram Entity Type Entity Attribute
Database Design and Introduction to SQL
IST Databases and DBMSs Todd S. Bacastow January 2005.
Object-Relational DBMSs By Yao-Wen Tu CS157b12/09/2003 Prof. Sin-Min Lee.
10. Creating and Maintaining Geographic Databases.
Object-Oriented & Object-Relational DBMS R & G (& H) Chapter 23 “You know my methods, Watson. Apply them.” -- A.Conan Doyle, The Memoirs of Sherlock Holmes.
Object and object-relational databases 1. Object databases vs. Object-relational databases Object databases Stores complex objects – Data + functions.
IT – DBMS Concepts Relational Database Theory.
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
CSC2012 Database Technology & CSC2513 Database Systems.
DBSQL 10-1 Copyright © Genetic Computer School 2009 Chapter 10 Object-Oriented Based DBMS.
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.
CSS/417 Introduction to Database Management Systems Workshop 5.
The Relational Model. Review Why use a DBMS? OS provides RAM and disk.
1 CS 430 Database Theory Winter 2005 Lecture 1: Introduction.
Introduction: Databases and Database Users
V. Megalooikonomou Object-Oriented and Object-Relational DBMSs (based on notes by Silberchatz,Korth, and Sudarshan and notes by C. Faloutsos at CMU) Temple.
Object-Oriented Database Management Systems (ODBMS)
Modern Database Techniques Part 1: Object Oriented Databases 3. Different Kinds of OODB.
E.Bertino, L.Matino Object-Oriented Database Systems 1 Chapter.1 Introduction Seoul National University Department. of Computer Engineering OOPSLA Lab.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
Chapter 1 Object-oriented DBMSs Chapters in Textbook.
1 Advanced Databases – Lecture # 11 Object-Oriented Databases Advanced Databases Object Oriented Databases School of Informatics Akhtar Ali.
Object Persistence Design Chapter 13. Key Definitions Object persistence involves the selection of a storage format and optimization for performance.
1 The Relational Model. 2 Why Study the Relational Model? v Most widely used model. – Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. v “Legacy.
Relational Data Model Ch. 7.1 – 7.3 John Ortiz Lecture 3Relational Data Model2 Why Study Relational Model?  Most widely used model.  Vendors: IBM,
Object relational database managmement systems (ORDBMS) Adapted by Edel Sherratt from originals by Nigel Hardy.
 To develop the knowledge and skills to manage and tune database management systems  To provide experience the technologies of a variety of database.
1 CS457 Object-Oriented Databases Chapters as reference.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
OODBMS: Introduction and Logical Database Design
Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.
Chapter 2 Object-Relational DBMSs Chapter 28 in Textbook.
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
Introduction to Database Systems1 Object-Oriented & Object-Relational DBMSs Module 9, Lecture 3 “You know my methods, Watson. Apply them.” -- A.Conan Doyle,
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
1 CSE444: REVIEW. 2 CSE444 in one slide v Logical : E/R diagram  normalized relations v Physical : files, buffering, and indexes v Logical : Relational.
The Object-Oriented Database System Manifesto Malcolm Atkinson, François Bancilhon, David deWitt, Klaus Dittrich, David Maier, Stanley Zdonik DOOD'89,
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 12 Outline Overview of Object Database Concepts Object-Relational Features Object Database.
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,
OODBMS and ORDBMS. Background Object-oriented software, based on the principles of user-defined datatypes, along with inheritance and polymorphism, is.
Chapter 3 The Relational Model. Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. “Legacy.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
Relational vs. Object Oriented Database Management System Syazwani Nur Dayana Nur Fatin Syafiqa M3cs2305B.
1 Object-Oriented & Object-Relational DBMSs Chapter 23.
Object-Oriented & Object-Relational DBMSs
Object-Oriented Database Management System (ODBMS)
Chapter 12 Outline Overview of Object Database Concepts
Highlights of Object-Database Systems
Object Databases: Logical Data Modeling
Object-Oriented Databases
CSE594: REVIEW.
Presentation transcript:

1 Object Databases: Introduction

2 Why OO? v Relational Systems are limited: –Structural restrictions on data –Missing semantics (value-based relationships) –Linguistic limitations (SQL and Algebra) v PL community’s OO work is appealing: –More “realistic” data structures –Explicit relationships and behavior modeling –“Tighter” interface between DBMS and PL v New applications: –CAD, OIS, hypertext, geograph. data, multimedia, medical data, music, hierarchical data,...

3 OODBMS Features v Complex Objects (set, tuple, list) v OID (value-independent, permanent) –Allows explicit (vs. value-based) relationships v Encapsulation (overriding it?) –Methods (behavior) model ICs as part of data model v Classes/Types (maintain extents?) v Subclasses (multiple superclasses?) v Late binding for overridden methods v Turing-complete host language

4 OODBMS Features (cont.) v Seamless type extensibility v Persistence enforced by system v Handle large DBs (indexing, buffering, etc.) v Concurrency support v Recovery support v Must provide a simple (declarative, optimizable) query language v Separate constraint mechanisms? v Views?

5 Solution 1: Object-Oriented DBMS v Idea: Take an OO language like C++, add persistence, collections, queries, …. v class frame { int frameno; jpeg *image; int category; } persistent set frames; foreach (frame *f, frames) return f->image->thumbnail(); v Shut down the program. Start it up again. Persistent vars (e.g. frames) retain values!

6 OODBMS applications v OODBMSs good for: – complex data –easier integration with application code –integrated modeling of behavior and structure v Problems: –lack of backward compatibility –some argue it’s back to the network data model –standards still emerging (ODMG, OQL) v Many built from ground up, vs. C++ plus... v A modest success in the marketplace

7 Solution 2: Object-Relational v Idea: Add OO features to the type system of SQL. I.e., “plain old SQL”, but... –columns can be of new types (ADTs) –user-defined methods on ADTs –columns can be of complex types –reference types and “deref” –inheritance –old SQL schemas still work! (backwards compatibility) v Many relational vendors moving this way (SQL3). Big business!

8 Stonebraker’s Application Matrix No Query Query Complex Data Simple Data File System OODBMS RDBMS ORDBMS Thesis: Most applications will move to the upper right.

9 Summary v OO/ORDBMS offers many new features. –But not clear how to use them! –Schema design techniques not well understood –Query processing techniques still in research phase. u A moving target for OO/OR DBAs! v Prediction: You will use an OO/ORDBMS in the future.

10 Current Products v Some OR features supported in: –Oracle 8 –IBM DB2 –Informix UDS –UniSQL v Some OODBMS products: –O2 –ObjectStore –Objectivity –Versant, Jasmine, Titanium, Poet, …