OODBMS and ORDBMS. Background Object-oriented software, based on the principles of user-defined datatypes, along with inheritance and polymorphism, is.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

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.
The Role of Error Map and attribute data errors are the data producer's responsibility, GIS user must understand error. Accuracy and precision of map and.
Lecture-7/ T. Nouf Almujally
Relational Databases Chapter 4.
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 PHP (1)
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.
12 CHAPTER DATABASES Databases are the key to accessing information throughout our lives. Used in hospitals, grocery stores, schools, department stores,
Geographic Information Systems
Object-Oriented Databases
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
1 Object Oriented & Object Relational Databases Ranga Raju Vatsavai Teaching Mentor (Prof. Shekhar) CSci 5708 : Architecture and Implementation of Database.
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
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.
Chapter 4 Object and Object-Relational Databases (Part ½: Object-Oriented Concepts) Lecturer: H.Ben Othmen Department of Computer Science, Umm Al-Qura.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
EER vs. UML Terminology EER Diagram Entity Type Entity Attribute
Database Systems Lecture 5 Natasha Alechina
BACS 287 Basics of Object-Oriented Programming 1.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
Object-Relational DBMSs By Yao-Wen Tu CS157b12/09/2003 Prof. Sin-Min Lee.
Advanced Database CS-426 Week 2 – Logic Query Languages, Object Model.
UFCEUS-20-2 : Web Programming Lecture 5 : Object Oriented PHP (1)
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
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.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
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.
HSCI 709 SQL Data Definition Language. SQL Standard SQL-92 was developed by the INCITS Technical Committee H2 on Databases. SQL-92 was designed to be.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
What is Object-Oriented?  Organization of software as a collection of discreet objects that incorporate both data structure and behavior.
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.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
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.
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
© D. Wong Security and User Authorization in SQL 8.7 pp. 410  Authorization ID = user name  Special authorization ID: PUBLIC  Privileges for:
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
The Object-Oriented Database System Manifesto Malcolm Atkinson, François Bancilhon, David deWitt, Klaus Dittrich, David Maier, Stanley Zdonik DOOD'89,
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,
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
OBJECTS & DATABASES Arnaud Sahuguet – CIS-550.
Object-Oriented Database Management System (ODBMS)
Object-Relational DBMSs
Fundamentals of Information Systems
Geographic Information Systems
Data Model.
Object-Oriented PHP (1)
Presentation transcript:

OODBMS and ORDBMS

Background Object-oriented software, based on the principles of user-defined datatypes, along with inheritance and polymorphism, is firmly established in the software industry (consider C++, Java, Visual Basic, C#, etc.) However, the popularity of OO software has no relation with the popularity, or not, of OODBMS.

Background The debate between relational versus oo within the DB community parallels the debate between vector and raster in the GIS community during the 70’s and 80’s. Market adoption of OODBMS has been limited. This has implications: –Reduced financial and engineering resources to performance-tune products. –SQL has retained its dominance as the lingua franca of the database world.

Background Relational databases that incorporate ADTs and other principles of oo design are called object relational DBS (OR-DBMS). These databases have taken the steam out of the OO engine, and appear to have the upper hand in ‘modern’ DMBS.

Background Recall that RDBMS represents themes through relations (tables). –A geographic object is one tuple (row) of such a relation. –Each column is an attribute. Attributes have alphanumeric types (e.g., character, string, time, date, real, logical). BLOBS are a recent addition. Relationships are not explicit, but implied by values in specific fields (e.g., foreign keys).

RDBMS? To incorporate spatial concepts into a RDBMS requires considerable re- organization of the RDBMS database structure, which violates the data independence principle (you need to know far more about a theme in order to determine what type of spatial entity it is, and what type of operations are permissible).

RDBMS Performance suffers greatly as a result of the significant modifications required to incorporate space. Topology is not implicit. As a result, most systems were based on a loose coupling approach (e.g., Arc / Info).

OO DBMS OO systems were first developed in the 1980s, when oo programming languages such as Simula and Smalltalk first emerged. The initial reaction was that, within a few years, all databases would be oo databases. Such predictions were obviously way off the mark.

OO Advantages OO principles brought to databases: –New modeling power –Extensibility of systems –Code reuse –Easy maintenance of programs However, it is only recently that OO programming has itself really taken off.

OODBMS Terminology Object Identity: An object is denoted in a unique way in the database system, using an identifier or OID (object identifier) that the objects keeps during its entire lifetime, independently of its attribute values.

OODBMS Terminology Type: the type of an object corresponds to its structure and to the operations that can be performed on it. –Atomic types, such as strings and integer –Complex types are defined using ‘constructors’ (tuples or set constructors). An object (o) can have as an atomic value not only a string or real but also the OID of another object o’. Object o is said to consist of object o’

OODBMS Terminology Objects with the same type are grouped into classes. Classes encompass objects having the same structure and behaviour, which is expressed by the set of methods or operations applicable to the objects they contain.

Encapsulation: A class corresponds to the implementation of an abstract data type (ADT). –Encapsulation means that neither the structure of the ADT nor its implementation is visible from the outside world. –Programmers will know how the ADT is implemented, whereas end users only know the specification.

OODBMS Terminology ADTs: Abstract data types – combinations of data types (e.g., polygon) and their operations (e.g., PolygonArea [an operation that would compute the area of a polygon]). Note that the DBMS need not have any knowledge on the ADT implementation (i.e., the code corresponding to the operations). ADTs are encapsulated in the sense that they are accessible only through the operations that are defined on them.

ADTs have been ‘regularized’ in the sense that the geographic dimension (e.g., points, line segments [nodes only have two arcs], complex polylines [nodes can have two or more connected arcs], polygons) is used to clearly distinguish between them.

OODBMS Terminology Inheritance: Subclasses are defined from an existing superclass with a refinement of its structure. –Subclasses inherit methods and structures from the superclass (e.g., all methods defined for the superclass can be used in the subclass). –However, a subclass can redefine a method defined in the superclass. –A subclass can also have methods defined only for that subclass. This leads to polymorphism. The subclass is a specialization of the superclass, and the superclass is a generalization of the subclass. A subclass can inherit from many superclasses.

Most OO DBMS use OQL rather than SQL as their query language. OQL is aware of the complex structures present in the OODBMS, and can return complex results. SQL is used as the DDL, DQL and DML (data definition, data query, and data manipulation language). In OODBMS, the primary means of developing the database is through the native OO language.

OR DBMS PostgresSQL is the best known OR DBMS It allows the user to extend the system by incorporating new data types—a user can integrate geometric types and operations, as well as spatial indexing. ORDBMS incorporate ADTs, but still use tables. OR SQL contains extensions to standard SQL than enable access to ADTs.

Software such as ESRI’s SDE is based on an ORDBMS approach.