© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing.

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

Chapter 10: Designing Databases
Chapter 12: Designing Databases
Feb 2001CSS/416: Module U1 Workshop 21 CSS/416 Data Design And Information Retrieval Workshop 2.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 25.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 8 Foundations of Relational Implementation.
Data Management Design
3-1 Chapter 3 Data and Knowledge Management
Geographic Information Systems
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Object-Oriented Databases
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
Big Data, Data Warehouses, and Business Intelligence Systems
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Database Processing: Fundamentals, Design, and.
Object Oriented Databases - Overview
Advanced Topics Chapter Seven DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
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.
Object-Oriented Methods: Database Technology An introduction.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Object-Relational DBMSs By Yao-Wen Tu CS157b12/09/2003 Prof. Sin-Min Lee.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
DBSQL 10-1 Copyright © Genetic Computer School 2009 Chapter 10 Object-Oriented Based DBMS.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
DBMS Lecture 9  Object Database Management Group –12 Rules for an OODBMS –Components of the ODMG standard  OODBMS Object Model Schema  OO Data Model.
CSS/417 Introduction to Database Management Systems Workshop 5.
11 1 Object oriented DB (not in book) Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel Learning objectives: What.
David M. Kroenke’s Chapter One: Introduction Part Two Database Processing: Fundamentals, Design, and Implementation.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 David M. Kroenke’s Chapter Thirteen: XML and ADO.NET Part Four Database.
Modern Database Techniques Part 1: Object Oriented Databases 3. Different Kinds of OODB.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
11 1 Chapter 11 Object Oriented Databases Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 21 COP 3540 Data Structures with OOP Overview: Chapter 1.
(C) 2000, The University of Michigan 1 Database Application Design Handout #10 March 17, 2000.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 11-1 David M. Kroenke’s Chapter Eleven: Managing Databases with SQL Server.
Chapter 12: Designing Databases
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
Object-Oriented Database Processing
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 8 Advanced SQL.
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.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.
Copyright © 2004 Pearson Education, Inc.. Chapter 22 Object-Relational and Extended-Relational Systems.
Chapter 2 Object-Relational DBMSs Chapter 28 in Textbook.
CSE323 การวิเคราะห์และออกแบบระบบ (Systems Analysis and Design) Lecture 12: Data Management Design.
+ Big Data. + Chapter Objectives Learn the basic concepts of Big Data, structured storage, and the MapReduce process Learn the basic concepts of data.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
Object oriented DataBase Prof. Sin-Min Lee Department of Computer Science.
Question 1 Which of the following requires object database technology? A. Storing employee picture on disk B. Retrieving an employee picture C. Retrieving.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
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,
OODBMS and ORDBMS. Background Object-oriented software, based on the principles of user-defined datatypes, along with inheritance and polymorphism, is.
Relational vs. Object Oriented Database Management System Syazwani Nur Dayana Nur Fatin Syafiqa M3cs2305B.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
12. Chapter 12: Designing Databases Systems Analysis and Design in a Changing World, Fourth Edition 12.
Object-Oriented Database Management System (ODBMS)
Object-Relational DBMSs
Object Oriented Programming
Database Processing: David M. Kroenke’s Chapter Five:
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
Presentation transcript:

© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing

© 2002 by Prentice Hall 2 Object Oriented DBMS (OODBMS) Object Oriented DBMS (OODBMS) provide the ability to persistently store objects created in Object Oriented programming languages like Java, C#, and C++

© 2002 by Prentice Hall 3 Why not use a Traditional Relational DBMS? The traditional Relational DBMS stores data in tables, rows, and columns Objects have several complex structures that cannot be represented in tables, rows, or columns. –These structures include executable statements (i.e., methods) and pointers

© 2002 by Prentice Hall 4 OODBMS has Not Caught-On Recognizing that OODBMS is relatively new, very complicated, and very expensive, the technology has not been overly successful.

© 2002 by Prentice Hall 5 How are the Relational Database (RDBMS) Manufacturers Responding? The manufacturers of RDBMS are incorporating additional features to allow for the storage of more complex items. Oracle has been particularly active in incorporating these features. –The term object-relational DBMS has been coined to describe this classification of DBMS.

© 2002 by Prentice Hall 6 Object Oriented Programming (OOP) Object Oriented Programming (OOP) involves a new way of thinking about programming structures. In OOP, the data and instructions are combined into objects. In traditional programming, the data and instructions are disjointed.

© 2002 by Prentice Hall 7 OOP Terminology Encapsulated –complete unto itself Encapsulated Structure –an OOP object that has both attributes (properties) and methods Interface –external appearance of an object

© 2002 by Prentice Hall 8 OOP Terminology Implementation –the encapsulated internals of an object Inheritance –automatically assuming the attributes and methods of another object at a higher class Polymorphism –situation in which one name can be used to invoke different functions

© 2002 by Prentice Hall 9 OOP Terminology Object Class –the logical structure of an object (name, attributes, methods) Object Class Library –a group of object classes Object –an instance of an object class Transient vs. Persistent –volatile (i.e., temporal) vs. permanent

© 2002 by Prentice Hall 10 OOP Example

© 2002 by Prentice Hall 11 Object Persistence To make an object persistent, the data and structure embedded in the object must be stored.

© 2002 by Prentice Hall 12 Object Persistence Example

© 2002 by Prentice Hall 13 Swizzling Swizzling is the process of transforming permanent identifiers into in-memory addresses

© 2002 by Prentice Hall 14 Tasks for Object Persistence

© 2002 by Prentice Hall 15 Application Development Tasks for Object Persistence using Various Architectures

© 2002 by Prentice Hall 16 Object Persistence using Oracle Oracle saves objects in one of four types: –Column Objects –Variable Length Arrays –Nested Tables –Row Objects

© 2002 by Prentice Hall 17 Oracle’s Column Object Create Type obj_name as Object ( anameVarchar2(15), aphone Char (10), asalary Number);

© 2002 by Prentice Hall 18 Oracle’s Variable Length Array Create Type apt_unit As Object ( aptnbrchar (5), nbrbedsint); Create Type aptlist1 As Varray(20) of apt_unit;

© 2002 by Prentice Hall 19 Oracle’s Nested Tables Create Type apt_unit As Object ( aptnbrchar (5), nbrbedsint); Create Type aptlist2 As Table of apt_unit;

© 2002 by Prentice Hall 20 Oracle’s Row Objects Create Type obj_apt As Object ( aptnamevarchar2 (15), aptnbrnumber); Create Table apartments Of obj_apt;

© 2002 by Prentice Hall 21 OODBMS Advantages and Disadvantages

© 2002 by Prentice Hall 22 ODBMS Standards SQL3 –an extension to SQL92 that includes support for OODBMS Abstract data type (ADT) –user-defined structure that is equivalent to an OOP object

© 2002 by Prentice Hall 23 Object Data Management Group’s ODMG-93 Report The Object Data Management Group (ODMG), a consortium of object database vendors and experts, developed a definition of interfaces for object data management products (ODMG-93).

© 2002 by Prentice Hall 24 Key Elements of the ODMG Object Model

© 2002 by Prentice Hall 25 ODMG Relationship Operations

© 2002 by Prentice Hall 26 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing