Chapter 2 Object-Relational DBMSs Chapter 28 in Textbook.

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

Chapter 3 : Relational Model
The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Oracle Objects Object Oriented Database Approach.
Geographic Information Systems
Object-Oriented Databases
1 9 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 9 Database Management Approaches.
Chapter 11 Data Management Layer Design
Object (and Object-Relational) Database Systems (part two)
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:
Object Oriented Databases - Overview
July 13, 2015ADBS: OODB1 Concepts for Object-Oriented Databases Chapter 20.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Object and Object- Relational Databases.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 18 Object Database Management Systems.
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.
III. Current Trends: 3 - Object-Relational DBMSsSlide 1/24 III. Current Trends Object-Relational DBMSs 3C13/D63C13/D6.
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.
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
Chapter 4 The Relational Model.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
Agenda  TMA03  M877 Block 3 Databases with Objects.
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.
XML in SQL Server Overview XML is a key part of any modern data environment It can be used to transmit data in a platform, application neutral form.
Lecture 17 Object relational databases. 2 Example Table Creation based on UDT CREATE TABLE Person ( info PersonType, CONSTRAINT DOB_Check CHECK(dateOfBirth.
V. Megalooikonomou Object-Oriented and Object-Relational DBMSs (based on notes by Silberchatz,Korth, and Sudarshan and notes by C. Faloutsos at CMU) Temple.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Overview of Standard Query Language (SQL) Saeideh Joodaki Instructor: Dr.Yingshu Li.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
Object-Relational DBMS, by Dr. Khalil 1 Object-Relational DBMS Dr. Awad Khalil Computer Science Department AUC.
ADVANCED DATABASE SYSTEMS DR. FATEMEH AHMADI- ABKENARI SEPTEMBER Object Databases.
Object Persistence Design Chapter 13. Key Definitions Object persistence involves the selection of a storage format and optimization for performance.
Database Management COP4540, SCS, FIU Database Modeling A Introduction to object definition language (ODL)
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing.
Object DBMSs Transparencies. ©Pearson Education 2009 Chapter 17 - Objectives Advanced database applications. Unsuitability of RDBMSs for advanced database.
Object relational database managmement systems (ORDBMS) Adapted by Edel Sherratt from originals by Nigel Hardy.
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 8 Advanced SQL.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Object and Object-Relational Databases (Part 2/2: Object- Relational DBMS) 1 Advanced Database System Lecturer: H.Ben Othmen.
OODBMS: Introduction and Logical Database Design
Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.
Object Relational Features
Object-Oriented Programming Chapter Chapter
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
FEN NOEA/IT - Databases/ORDB1 Object-Relational Databases The Evolutionary Approach to Closing the Gap between Relational Tables and Object Models.
AND OBJECT-ORIENTED DATABASES OBJECT-RELATIONAL DATABASES.
Lecture 16 Object relational databases. 2 Objectives How relational model has been extended to support advanced database applications. Features proposed.
Object Relational and Extended Relational Database Systems
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Chapter 20 Concepts for Object-Oriented Databases Copyright © 2004 Pearson Education, Inc.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
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,
Comparison on commercial Object­ Relational Database Systems Dong Haoxuan A N Xu Xianan A W Zhu Jiarui A U Zhu Wuzhong A X P16.
OODBMS and ORDBMS. Background Object-oriented software, based on the principles of user-defined datatypes, along with inheritance and polymorphism, is.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Object-Relational Databases Paul Crowther & Martin Beer
Object Relational DBMSs
Object-Oriented Database Management System (ODBMS)
Object-Relational DBMSs
Chapter 12 Outline Overview of Object Database Concepts
Compiled from Connelly et al. DBMS Text
MANAGING DATA RESOURCES
Object – relational database
Presentation transcript:

Chapter 2 Object-Relational DBMSs Chapter 28 in Textbook

2 Overview  Why ORDBMS?  What is ORDBMS?  Stonebreaker’s view  Advantages and disadvantages of ORDBMS  New OO features in SQL  Comparison between OODBMS and ORDBMS

3 Why ORDBMS – Extending RDBMS  Vendors of RDBMSs conscious of threat and promise of OODBMS.  Agree that RDBMSs not currently suited to advanced database applications, and added functionality is required.  Reject claim that extended RDBMSs will not provide sufficient functionality or will be too slow to cope adequately with new complexity.  Can remedy shortcomings of relational model by extending model with OO features.

4 What is ORDBMS?  ORDBMS is a relational database with OO features.  OO features being added include: User-extensible types. Encapsulation. Inheritance. Polymorphism. Dynamic binding of methods. Complex objects. Object identity.

5 Stonebraker’s View

6 Advantages of ORDBMSs  Resolves many of known weaknesses of RDBMS.  Reuse and sharing: reuse comes from ability to extend server to perform standard functionality centrally;  Preserves significant body of knowledge and experience gone into developing relational applications.

7 Disadvantages of ORDBMSs  Complexity.  Increased costs.  Proponents of relational approach believe simplicity and purity of relational model are lost.  Some believe RDBMS is being extended for what will be a minority of applications.  OO purists not attracted by extensions either.  SQL now extremely complex.

8 SQL: New OO Features  Type constructors for row types and reference types.  User-defined types (distinct types and structured types) that can participate in supertype/subtype relationships.  User-defined procedures, functions, methods, and operators.  Type constructors for collection types (arrays, sets, lists, and multisets).  Support for large objects – BLOBs and CLOBs.  Recursion.

9 Row Types  Sequence of field name/data type pairs that provides data type to represent rows in tables.  Allows complete rows to be: stored in variables, passed as arguments to routines, returned as return values from function calls.  Also allows column of table to contain row values.

10 User-Defined Types (UDTs)  SQL:2003 allows definition of UDTs.  May be used in same way as built-in types.  Subdivided into two categories: distinct types and structured types. Distinct type allows differentiation between same underlying base types. Structured type consists of a group of other types (built-in or UDT).

11 Reference Types and Object Identity  References allow A row to be shared among multiple tables. and Users to replace complex join definitions in queries with much simpler path expressions (similar to OODBMS).

12 User-Defined Routines (UDRs)  UDRs define methods for manipulating data.  UDRs may be defined as part of a UDT or separately as part of a schema.  UDRs may be externally provided in standard programming language (exp. C). or defined completely in SQL.  UDR may be a procedure, function, or method. A procedure has input and output parameters. A function has input parameters and must return a value. A method must be a part of UDT.

13 Subtypes and Supertypes  UDTs can participate in subtype/supertype hierarchy.  Subtype inherits all the attributes and behavior of its supertypes.  Can define additional attributes and methods and can override inherited methods.

14 Subtables and Supertables  No mechanism to store all instances of given UDT, unless user explicitly creates a single table in which all instances are stored.  Thus, in SQL:2003 may not be possible to apply an SQL query to all instances of a given UDT.  Can use table inheritance, which allows table to be created that inherits all the rows of one or more existing tables.  Subtable/supertable independent from UDT inheritance facility. Subtable/supertable: rows are inherited. Subtype/supertype: attributes and methods are inherited.

15 Collection Types ARRAY: ordered 1D array with maximum number of elements without duplicates. LIST:ordered collection that allows duplicates. SET: unordered collection without duplicates. MULTISET: unordered collection that allows duplicates. Similar to those in OODBMS (What were MULTISETs called in OODBMS?).

16 Large Objects  A table field that holds large amount of data.  Three different types: Binary Large Object (BLOB). Character LOB (CLOB). National CLOB.  Unlike SQL2, in SQL:2003, LOB does allow some operations to be carried out in DBMS server.