Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.

Slides:



Advertisements
Similar presentations
Object Oriented Analysis And Design- IT0207 III Semester UNIT-IV.
Advertisements

OO databases 1 Object Oriented databases. OO databases 2 Developing OODBMS - motivation motivation more and more application areas require systems that.
Chapter 10: Designing Databases
Introduction to 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) 
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
Chapter Object-Oriented Practices. Agenda Object-Oriented Concepts Terminology Object-Oriented Modeling Tips Object-Oriented Data Models and DBMSs.
OBJECTS Object Oriented ???????. OBJECTS Object-Oriented n OO convenient label for a collection of interconnected ideas n OO approach views computer.
File Systems and Databases
Data Management Design
Organizing Data & Information
Ch1: File Systems and Databases Hachim Haddouti
Object-Oriented Databases
Chapter 11 Data Management Layer Design
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
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
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.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
BACS 287 Basics of Object-Oriented Programming 1.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 11: Data Management Layer Design Alan Dennis, Barbara.
Concepts of Database Management, Fifth Edition
IMS 4212: Distributed Databases 1 Dr. Lawrence West, Management Dept., University of Central Florida Distributed Databases Business needs.
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
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.
Database Design - Lecture 2
Object-Oriented Database Management Systems (ODBMS)
1 Object Databases: Introduction. 2 Why OO? v Relational Systems are limited: –Structural restrictions on data –Missing semantics (value-based relationships)
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.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 11: Data Management Layer Design Alan Dennis, Barbara.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
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
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
Introduction to Database Systems1. 2 Basic Definitions Mini-world Some part of the real world about which data is stored in a database. Data Known facts.
1 CS457 Object-Oriented Databases Chapters as reference.
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
OODBMS: Introduction and Logical Database Design
Chapter 2 Object-Relational DBMSs Chapter 28 in Textbook.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Lecture 2: Review of Object Orientation. © Lethbridge/La ganière 2005 Chapter 2: Review of Object Orientation What is Object Orientation? Procedural.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
Difference between DBMS and File System
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.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
Completeness Criteria for Object- Relational Database Systems by Won Kim April 2002 Sang Ho Lee School of Computing, Soongsil University
The Object-Oriented Database System Manifesto
Object-Oriented Database Management System (ODBMS)
File Systems and Databases
ITEC 3220A Using and Designing Database Systems
Presentation transcript:

Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.

As we have been discussing in class already, today I will be going over Object Oriented Database … To begin I will discuss why we would choose to use this style of a database over a relational database. Object Oriented Database

Relational databases store data in tables that are two dimensional. The tables have rows and columns. Relational database tables are "normalized" so data is not repeated more often than necessary. All table columns depend on a primary key (a unique value in the column) to identify the column. Once the specific column is identified, data from one or more rows associated with that column may be obtained or changed. Object Oriented Database vs. Relational Database

To put objects into relational databases, they must be described in terms of simple string, integer, or real number data. For instance in the case of an airplane. The wing may be placed in one table with rows and columns describing its dimensions and characteristics. The fuselage may be in another table, the propeller in another table, tires, and so on. Breaking complex information out into simple data takes time and is labor intensive. Code must be written to accomplish this task. Object Oriented Database vs. Relational Database cont…

Objects don't require assembly and disassembly saving coding time and execution time to assemble or disassemble objects. Reduced paging Easier navigation Better concurrency control - A hierarchy of objects may be locked. Data model is based on the real world. Works well for distributed architectures. Less code required when applications are object oriented. Object Oriented Database Advantages

Lower efficiency when data is simple and relationships are simple. Relational tables are simpler. Late binding may slow access speed. More user tools exist for RDBMS. Standards for RDBMS are more stable. Support for RDBMS is more certain and change is less likely to be required. Object Oriented Database Disadvantages

Object Identity (OID) Attributes (Instance variables) Object State Messages and Methods Encapsulated Structure –The ability to hide the object’s internal details Object Oriented Database Programming 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 Protocol – –collection of messages Object Oriented Database Programming Terminology cont…

Superclasses Subclasses Inheritance –Single –Multiple Polymorphism –situation in which one name can be used to invoke different functions Inheritance –automatically assuming the attributes and methods of another object at a higher class Object Oriented Database Programming Terminology cont…

System must support complex objects Object identifier must be supported Objects must be encapsulated Systems must support types or classes System must support inheritance System must avoid premature binding System must be computationally complete System must be extensible System must be able to remember data locations System must be able to handle very large databases System must support concurrent users System must be able to recover from hardware and software Data query must be simple 13 Rules for an OODBMS from the OODBS Manifesto

Medical care – X-rays, MRI, CT scans, and EKG traces Spatial and geographic databases – maps, seismic data, satellite images, CAD drawings Financial systems – time series data and analysis Where Object Oriented Databases are used

Impossible for a database vendor or a standards organization to incorporate all of these complex data types as an integral part of the RDBMS What we need is the capability to extend the set of built-in data types of the RDBMS A class encapsulating the data and methods of an ADT should satisfy the requirements How Object Oriented Databases are created

A new ADT would be implemented as a class in some object- oriented language The class would then be registered with the database system Once registered, the ADT becomes a candidate for an attribute type SQL extensions would allow the class methods to be used in queries How Object Oriented Databases are created cont…

The class is typically called a user-defined type (UDT) The class methods are called user-defined functions (UDF) Most implementations do not store instances of a class as part of a tuple Instead, a tuple contains a handle that refers to the instance of the UDT How Object Oriented Databases are created cont…

The data members of objects might be stored in one or more hidden tables Hidden indices can be implemented to accelerate access to the objects The object handle would also be used to access the UDFs of the class Some implementations allow the class designer to implement new access methods How Object Oriented Databases are created cont…

In these systems, a designer could simply use the index structures built into the DBMS – typically B + -trees For complex data, it may be faster to use a different structure Example – for searching spatial data, the R-tree (to be discussed later) would be a better choice How Object Oriented Databases are created cont…

A common use of UDTs is implement a container to hold multiple objects of the same (built-in or user-defined) type Such a type can be used to create a multivalued attribute Such a datatype does not violate first normal form, since the table does not contain repeating columns of the same type How Object Oriented Databases are created cont…

Object Oriented Database By Ashish Kaul THE END!!!!