Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario...

Post on 21-Dec-2015

217 views 1 download

Tags:

Transcript of Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario...

Copyright © 2004, Dr. Guimaraes

OODBMS & ORDBMS

ClassWill

Start Momentarily…

Dr. Mario Guimaraes

Copyright © 2004, Dr. Guimaraes

Database History

• 1960s Legacy Systems: Hierarchical and Network DBMS

• 1970s Relational DBMS• 1980s Non conventional DBMS

Copyright © 2004, Dr. Guimaraes

Limitations of RDBMS

Relational Database works well to store just text and numbers as long as there are not many multi-valued attributes.

Copyright © 2004, Dr. Guimaraes

Advantages of ORDBMS,OODBMS

• Multi-valued attributes,• Super/Sub-types: inheritance• Interfaces well with OOPL• Multi-media

Copyright © 2004, Dr. Guimaraes

DBMS + OO

• Serve many applications• Integrity constraints• Concurrency• Security• Views• Easy query language• Permanent Objects

• Classes and Objects• Properties and Methods• Events and Messages• Inheritance• Encapsulation• Multiple Inheritance and

Polymorphism

Copyright © 2004, Dr. Guimaraes

Characteristics of OODBMS

• Not as standard as Relational DBMS• Object ID (system unique, immutable, not visible by end-user)

• Versions• Many different types of records as opposed

to Relational DBMS (many instances of few different types of records)

• Spatial Component

Copyright © 2004, Dr. Guimaraes

Common OO Applications

• Computer-aided design (CAD) • Computer-aided manufacturing (CAM)• Geographic information systems (GIS) • Office Automation• Computer-aided publishing• Multimedia databases

Copyright © 2004, Dr. Guimaraes

Non Conventional DBMS

• Object Relational (Extend the Relational Model)

• Construct an OODBMS from scratch• Knowledge Base Management Systems

(OODBMS).

Copyright © 2004, Dr. Guimaraes

Object Relational

• Examples:Informix Universal Server (many OO features)

Oracle (limited)MS-Access (very limited, picture field)

Copyright © 2004, Dr. Guimaraes

Informix Universal Server-History

• INGRES (Relational DBMS – UC Berkeley)• POSTGRES (OO features added to

INGRES at UC Berkeley)• Montage -> Miro -> Ilustra• Ilustra + Informix (relational DBMS that

dominated market in 80s with Sybase & Oracle)

• IBM bought Informix

Copyright © 2004, Dr. Guimaraes

Datatypes in Informix US

• Two dimensional data type (line circle, polygon, path)

• Image data types: supports TIFF, GIF, JPEG, photoCD, GROUP 4 and Fax.

• Time series data type• Opaque, Distinct, Row type and Collection Type

Copyright © 2004, Dr. Guimaraes

POSTGRES: Open source

• DBMS is free and can modify source code

• Take over MySQL as the # 1 open source DBMS ?

Copyright © 2004, Dr. Guimaraes

Oracle

• Multivalued attributes using VARRAY• Object type• BLOB (Binary large object), CLOB (Characters),

BFILE (Binary File), NCLOG (Intern. Characters)• 9i: Inheritance

Copyright © 2004, Dr. Guimaraes

OODBMS references (products)

• O2 http://o2tech.com• Gemstone http://www.gemstone.com• Objectstore http://www.odi.com• ITASCA http://www.iprolink.ch/ibex.com

Copyright © 2004, Dr. Guimaraes

ORDBMS examples

• Points, Lines and Circles• ASU: University DB Example

Copyright © 2004, Dr. Guimaraes

Knowledge Base/Deductive DB

• Expert System + Database Technology• Stores rules instead of data• Basically Prototypes available at Universities

and Research Institutions

Copyright © 2004, Dr. Guimaraes

Examples of Knowledge Base DBMS

Datalog (combines PROLOG + Database technology).http://goanna.cs.rmit.edu.au/~zahirt/Teaching/subj-datalog.html

XSBhttp://www.cs.sunysb.edu/~kostis/Papers/xsb_ddb.html

Copyright © 2004, Dr. Guimaraes

GIS Life Expectancy

Copyright © 2004, Dr. Guimaraes

GIS Population

Copyright © 2004, Dr. Guimaraes

End of Lecture

End Of

Today’s

Lecture.