Modern Database Techniques Part 1: Object Oriented Databases 3. Different Kinds of OODB.

Slides:



Advertisements
Similar presentations
OO databases 1 Object Oriented databases. OO databases 2 Developing OODBMS - motivation motivation more and more application areas require systems that.
Advertisements

Dr. Morris Liaw Venkata Vijay Durbhakula Mahesh Molakalapalli.
OBJECTS Object Oriented ???????. OBJECTS Object-Oriented n OO convenient label for a collection of interconnected ideas n OO approach views computer.
“Dueling Databases: Which is best?” [1] Group 20: SeungHwan Chung Pronay Mukherjee April 20th, 2011 (last modified in July 16th, 2011 by TA)
Data Management Design
Organizing Data & Information
1 Database Systems (Part I) Introduction to Databases I Overview  Objectives of this lecture.  History and Evolution of Databases.  Basic Terms in Database.
Object-Oriented Databases
Introduction to Databases
1 9 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 9 Database Management Approaches.
1 Lecture 31 Introduction to Databases I Overview  Objectives of this lecture  History and Evolution of Databases  Basic Terms in Database and definitions.
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
The University of Akron Dept of Business Technology Computer Information Systems Database Management Approaches 2440: 180 Database Concepts Instructor:
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Object and Object- Relational Databases.
Object-Oriented Methods: Database Technology An introduction.
Chapter 1 Introduction to Databases
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Advanced Database CS-426 Week 13 – Object Relational Databases.
Session-01. Hibernate Framework ? Why we use Hibernate ?
Database Management COP4540, SCS, FIU An Introduction to database system.
Database Design and Introduction to SQL
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos OO and OR DBMSs.
Object-Relational DBMSs By Yao-Wen Tu CS157b12/09/2003 Prof. Sin-Min Lee.
10. Creating and Maintaining Geographic Databases.
Object and object-relational databases 1. Object databases vs. Object-relational databases Object databases Stores complex objects – Data + functions.
Concepts of Database Management, Fifth Edition
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
CSC2012 Database Technology & CSC2513 Database Systems.
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.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 2 Database System Concepts and Architecture.
Object Oriented Database By Liem Do And Jesslyn Bui.
Web-Enabled Decision Support Systems
Database Technical Session By: Prof. Adarsh Patel.
Persistence Store Project Proposal.
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
Intro-Part 1 Introduction to Database Management: Ch 1 & 2.
CMU SSD7: Database Systems
1 Object Databases: Introduction. 2 Why OO? v Relational Systems are limited: –Structural restrictions on data –Missing semantics (value-based relationships)
Information System Development Courses Figure: ISD Course Structure.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 14 Using Relational Databases to Provide Object Persistence (Overview) Modern Database.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing.
1 Mapping to Relational Databases Presented by Ramona Su.
 To develop the knowledge and skills to manage and tune database management systems  To provide experience the technologies of a variety of database.
FEN NOEA/IT - Databases/ODB1 ODB – Object DataBases Object-Oriented – Fundamental Concepts UML and EE/R OO and Relational Databases Introduction.
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.
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
The Clash of the (database) Cultures Object- oriented Relational.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Introduction to Databases
The Object-Oriented Database System Manifesto Malcolm Atkinson, François Bancilhon, David deWitt, Klaus Dittrich, David Maier, Stanley Zdonik DOOD'89,
Object oriented database (OODB):- Object oriented database (OODB) are dependent on the object oriented programming paradigm. It enable us to create classes,
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 12 Outline Overview of Object Database Concepts Object-Relational Features Object Database.
IST 210 Object Oriented Database. IST 210 Object-Oriented Concepts  Abstract Data Types  Class definition, provides extension to complex attribute types.
Faeez, Franz & Syamim.   Database – collection of persistent data  Database Management System (DBMS) – software system that supports creation, population,
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Hibernate Java Persistence API. What is Persistence Persistence: The continued or prolonged existence of something. Most Applications Achieve Persistence.
Relational vs. Object Oriented Database Management System Syazwani Nur Dayana Nur Fatin Syafiqa M3cs2305B.
Object-Oriented Database Management System (ODBMS)
Chapter 12 Outline Overview of Object Database Concepts
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Presentation transcript:

Modern Database Techniques Part 1: Object Oriented Databases 3. Different Kinds of OODB

2 Overview OO language + persistence Pure OODB DB with object and relational access Object-Relational Databases Object oriented interface to relational databases

3 OO language + persistence Use a class library with an abstract class or interface for persistent objects. In your application create persistent classes as subclasses of that abstract class. Search for objects by object navigation. Write code for search yourself. No additional software like a database browser provided. Often only one OO language supported. No access to data by other languages.

4 OO language + persistence Dependent on the special product more or less support for transactions or concurrent access provided. Advantage: Not much overhead Disadvantage: Not much functionality Examples: GemStone, ozone Persistance Interface Your code DB

5 Pure OODBMS Pure OODBMS are similar to "OO language + persistence" They enhance this model considerably: OODBMS implement a subset of the ODMG-model Variety of predefined template classes for sets, lists, arrays, … with appropriate functions Persistent class offers a query-function Transactions, concurrency, logging, recovery, constraints, and triggers are supported. Tools for DB-schema development Tools like DB-browser

6 Pure OODBMS (cont.) Advantage: Complete DB functionality Disadvantage: Often only one or two OO languages supported. Examples: ObjectStore, Versant OODBMS Application 1 DB Application 2

7 DB with object and relational access Like pure OODBMS and relational databases Two different interfaces to database: OO interface and SQL interface SQL is also used for DB queries on the object side. Advantages: Well known query language Support of standard interfaces e. g. ODBC and JDBC Disadvantage: Not ODMG compliant.

8 DB with object and relational access Examples: Caché (InterSystems) Titanium (Savitar Corp.) OODBMS Application 1 DB Application 2 OO access SQL access Application 3

9 Object-Relational Databases Object oriented technology on top of relational technology and in the relational context. Define types instead of classes. Objects are stored in tables of objects rather than in tables of rows. Support of major object oriented features: complex types, inheritance, aggregation, methods Advantage: Extension of a well known technology Disadvantages: Mixture of both technologies may result in difficult to understand schemas Performance problems

10 Object-Tables instead of Tuple-Tables Meier, ,... Huber, ,... Miller, ,... Meier, ,... Object-Table Persons Person_type: Name, DateOfBirth,... Tuple-Table Persons Separation of structure definition and table definition as set of objects instead of set of tuples

11 Object-Relational Databases Examples: Oracle 10g IBM DB2 PostgreSQL

12 Object Oriented Interface to Relational Databases Object oriented access to persistent objects Persistent objects stored as rows in relational database Mapping of objects to rows transparent to application

13 Object Oriented Interface to Relational Databases Advantage: Use familiar object oriented programming techniques for your applications and relational techniques for databases. Disadvantages: Mapping not fully transparent Performance problems Example: Hibernate Application DB relational DBMS object side rel. side p.Save() insert into persons …