170 likes | 1.18k Views
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). Advantages of Adding OO. Richer Data Types Simplify DB design
E N D
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)
Advantages of Adding OO • Richer Data Types • Simplify DB design • Simplify query specification • Reusability of code (more natural to OO programmer) • No impedance mismatch
ORDB – OODB Similarities Similar OO type system ambitions: Objects/OIDs Methods ADTs Constructed types Inheritance Object-QL
ORDB Extra Goodies DBMS features inherited from RDB into ORDB : • Constraints • Views • Triggers • Priviledges (security)