Docsity

Comparison - Advanced Database System - Lecture Slides, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download Comparison - Advanced Database System - Lecture Slides and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

RDB โ€“ OODB - ORDB

Comparison

RDB โ€“ whatโ€™s good?

  • Simple data model (but less versatile)
  • Simpler for user to learn (OO programmer?
  • Easier to optimize (for simple access?)
  • Strong market-share (inertia of change)

ORDB โ€“ OODB Similarities

Similar OO type system ambitions:

Objects/OIDs

Methods

ADTs

Constructed types

Inheritance

Object-QL

ADT

methods

QL

ADT Optional / mixed

(also key)

Uniformally enforced

Methods Externally def. methods; register executables

One pure OO language; Seamless with PL

QL

ADT Optional / mixed

(also key)

Uniformally enforced

Methods Externally def. methods; register executables

One pure OO language; Seamless with PL

QL SQL3 moving target ODMG OQL stable

SQL3 : 300 pages OQL : 3 pages

SQL3 : one standard? OQL: binding with different PL models

Types/

type constru ctors

Row = special data type (superset of relation)

Many type constructors

Types equal citizens ?

Referen ces?

Types/

type constru ctors

Row = special data type (superset of relation)

Many type constructors

Types equal citizens ?

Results are tables again

Any container data type

Referen ces?

DB design

Classes of applications targeted

DB design Design : ER diagram?

Directly use OMT, or OO design tools

Classes of applications targeted

DBMS features inherited from RDB into ORDB :

  • Constraints
  • Views
  • Triggers
  • Priviledges (security)

ORDB Extra Goodies