Completeness Criteria for Object- Relational Database Systems by Won Kim April 2002 Sang Ho Lee School of Computing, Soongsil University

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
Distributed DBMS©M. T. Özsu & P. Valduriez Ch.15/1 Outline Introduction Background Distributed Database Design Database Integration Semantic Data Control.
ODMG Standard: Object Model1 OBJECT-ORIENTED DATABASE SYSTEMS ODMG Standard: Object Model Susan D. Urban and Suzanne W. Dietrich Department of Computer.
--What is a Database--1 What is a database What is a Database.
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
RDB – OODB - ORDB Comparison
Database management concepts Database Management Systems (DBMS) An example of a database (relational) Database schema (e.g. relational) Data independence.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
ORDB Implementation Discussion. From RDB to ORDB Issues to address when adding OO extensions to DBMS system.
Data Management Design
Object-Oriented Databases
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Introduction to Databases Transparencies
DBMS Functions Data, Storage, Retrieval, and Update
ORDB Implementation Discussion. Ramakrishnan and Gehrke. Database Management Systems, 3 rd Edition. From RDB to ORDB Issues to address when adding OO.
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
Object Oriented Databases - Overview
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.
Object-Oriented Methods: Database Technology An introduction.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
The POSTGRES Next - Generation Database Management System Michael Stonebraker Greg Kemnitz Presented by: Nirav S. Sheth.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
DBMS Lecture 9  Object Database Management Group –12 Rules for an OODBMS –Components of the ODMG standard  OODBMS Object Model Schema  OO Data Model.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
Database Technical Session By: Prof. Adarsh Patel.
Object_Oriented Databases, by Dr. Khalil 1 Object-Oriented DBMSs Dr. Awad Khalil Computer Science Department AUC.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
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.
Relational Databases. Database Large collection of data in an organised format to allow access and control DBMS Database Management System - Special software.
Object Persistence (Data Base) Design Chapter 13.
Object Persistence Design Chapter 13. Key Definitions Object persistence involves the selection of a storage format and optimization for performance.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
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.
Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Introduction.  Administration  Simple DBMS  CMPT 454 Topics John Edgar2.
© D. Wong Security and User Authorization in SQL 8.7 pp. 410  Authorization ID = user name  Special authorization ID: PUBLIC  Privileges for:
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Object storage and object interoperability
ESG-CET Meeting, Boulder, CO, April 2008 Gateway Implementation 4/30/2008.
E.Bertino, L.Matino Object-Oriented Database Systems 1 Chapter 9. Systems Seoul National University Department of Computer Engineering OOPSLA Lab.
The Object-Oriented Database System Manifesto Malcolm Atkinson, François Bancilhon, David deWitt, Klaus Dittrich, David Maier, Stanley Zdonik DOOD'89,
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
Lecture 15: Query Optimization. Very Big Picture Usually, there are many possible query execution plans. The optimizer is trying to chose a good one.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 12 Outline Overview of Object Database Concepts Object-Relational Features Object Database.
Forum Topics OMG Roundtable Dec. 11, Background Forum is part of the ODBMS.ORG Moderated by Dr. Roberto Zicari Started on 10/16/07 (last post 12/8/07)
Faeez, Franz & Syamim.   Database – collection of persistent data  Database Management System (DBMS) – software system that supports creation, population,
Welcome: To the fifth learning sequence “ Data Models “ Recap : In the previous learning sequence, we discussed The Database concepts. Present learning:
Databases and DBMSs Todd S. Bacastow January
The Object-Oriented Database System Manifesto
Database Management:.
Database Management System
Chapter 12 Outline Overview of Object Database Concepts
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database Environment Pearson Education © 2009.
Data Base System Lecture : Database Environment
Database management concepts
Instructor 彭智勇 武汉大学软件工程国家重点实验室 电话:
Database management concepts
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

Completeness Criteria for Object- Relational Database Systems by Won Kim April 2002 Sang Ho Lee School of Computing, Soongsil University

2 The purpose of this paper is to propose a practical metric for object-relational completeness, so it may serve as a reference for determining whether a product is an ORDB, and for determining the degree of completeness of the product Seven major categories Each category consists of “primary” and “secondary” capabilities

3 Data Model - primary (1) Classes, instances, atomic attributes A class is a table in an RDB with Methods Set-valued attributes Attributes whose domains may include references to classes Abstract data type OID per instance An instance has a unique and immutable identifier, OID Encapsulation The user may write a method and attach it to a class

4 Data Model – primary (2) Inheritance Multiple inheritance of attributes, methods, integrity constraints on attributes name-conflict resolution (not prevention) Arbitrary domain Alphanumeric type Abstract data types (ADTs) Class reference  Class reference as domain of an attribute  OID-based object references  Expedite an navigational access in a nested object Set-valued attributes May be a set, a multiset, or a sequence

5 Data Model – primary (3) OID references Single OIDs Set of OIDs

6 Data Model - secondary Free-floating functions These do not belong to any particular class, as such are not inherited Built-in functions, user-definable functions, stored procedures Inheritance hierarchy of a classes as domain Set-inclusion semantics associated with an inheritance hierarchy One of the fundamentals of the OO paradigm Class attribute, class method Example: aggregate properties of all instances of a class (e.g. average weight of all Automobile instances) Meta-class, meta-meta-class, …

7 Query Language – primary (1) An ORDB must support an SQL-like and its API (function calls) SQL-92 support Entry level Advance level Query involving nested objects A query construct known as “path expression” is necessary Query involving set-valued attributes Query involving methods/functions in search predicates Query involving an ADT

8 Query Language – primary (2) Views A view is a subset of a database that satisfies user- defined query conditions Full RDB views Oid-based fetch Access objects by OIDs An capability to successively “fetch next” objects

9 Query Language – secondary Query involving an inheritance hierarchy All instances of a class or all instances of an inheritance hierarchy rooted at that class Views An ORDB should not allow a view in the inheritance hierarchy of classes Inheritance hierarchy of views  The user should construct an inheritance hierarchy of views, separate from an inheritance hierarchy of classes View reference as domain of an attribute

10 Computational Model Workspace memory control Lock caching Automatic garbage collection Object swapping Query processing involving updated objects in the workspace Support for dynamic schema changes on objects in the workspace Pointer swizzling Conversion of the storage format of objects between the database format and the memory format An ORDB should support both facilities

11 Database Tools (1) Important object modeling capabilities include set-valued attributes, ADTs, nested objects Pre-compiler for OO SQL Database administration tool Full RDB tool capabilities Query generator/result viewer Full RDB tool capabilities Generating and viewing OO queries

12 Database Tools (2) Schema designer/editor Full RDB tool capabilities OO extensions (class as domain of an attribute, inheritance hierarchy of classes, methods, free- floating user-definable functions, set-valued attributes) GUI application development tool Full RDB tool capabilities OO extensions (set-valued attributes, OID references)

13 Performance - primary It must be comparable (within 20%) to that of a major RDB in executing pure relational operations against a pure RDB It must be comparable (within 20%) to that of an OODB in executing OID-based navigational access in a database and in executing pointer-based navigational access in memory It must be satisfactory to the users in performing database access involving object extensions to SQL (path expression, set, ADT, method, user functions, inheritance hierarchy)

14 Mission-Critical Database Services – primary (1) Automatic query optimization and query processing Full optimization of RDB queries Optimization of OO queries  Query with path expressions  Query with retrieves set-valued attributes  Query with methods  Query with user-definable free-floating functions  Query that retrieves ADT-valued functions  Query that retrieves instances from an inheritance hierarchy of classes

15 Mission-Critical Database Services – primary (2) Indexing (create index, drop index, multi- attribute index, concurrency control, recovery) Full RDB indexing Indexing for OO queries  Query with path expressions  Query that retrieves set-valued attributes  Query that retrieves ADT-valued attributes  Query that retrieves instances from an inheritance hierarchy of classes Concurrency control Full RDB concurrency control Object-level locking Concurrency control for dynamic schema changes Concurrency control for queries and updates involving an inheritance hierarchy of classes

16 Mission-Critical Database Services – primary (3) Authorization Full RDB authorization Object-level authorization Authorization on methods Authorization on free-floating user-definable functions Triggers Full RDB triggers Stored procedures

17 Mission-Critical Database Services – primary (4) Dynamic schema evolution Full RDB schema changes Add/drop methods to a class Add/drop a superclass to a class Add/drop class methods Add/drop class attributes

18 Mission-Critical Database Services- secondary Security Full RDB security Security on OO extensions  Methods and free-floating user-definable functions  Inheritance hierarchy of classes  OID access  Workspace object access  Set-valued attribute access  ADT-valued attribute access Replicate service

19 Harnessing the Power Data type extensibility Function library for each specific non-alphanumeric type of data of interest to customers Data unification Automatic distributed query optimization and processing Automatic distributed transaction processing Facilities for homogenizing schema differences in local databases Gateway for local database systems

20 Discussion Now what do you think about his view?