copyright © 2004, dr. guimaraes oodbms & ordbms class will start momentarily… dr. mario...
Post on 21-Dec-2015
217 views
TRANSCRIPT
![Page 1: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/1.jpg)
Copyright © 2004, Dr. Guimaraes
OODBMS & ORDBMS
ClassWill
Start Momentarily…
Dr. Mario Guimaraes
![Page 2: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/2.jpg)
Copyright © 2004, Dr. Guimaraes
Database History
• 1960s Legacy Systems: Hierarchical and Network DBMS
• 1970s Relational DBMS• 1980s Non conventional DBMS
![Page 3: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/3.jpg)
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.
![Page 4: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/4.jpg)
Copyright © 2004, Dr. Guimaraes
Advantages of ORDBMS,OODBMS
• Multi-valued attributes,• Super/Sub-types: inheritance• Interfaces well with OOPL• Multi-media
![Page 5: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/5.jpg)
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
![Page 6: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/6.jpg)
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
![Page 7: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/7.jpg)
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
![Page 8: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/8.jpg)
Copyright © 2004, Dr. Guimaraes
Non Conventional DBMS
• Object Relational (Extend the Relational Model)
• Construct an OODBMS from scratch• Knowledge Base Management Systems
(OODBMS).
![Page 9: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/9.jpg)
Copyright © 2004, Dr. Guimaraes
Object Relational
• Examples:Informix Universal Server (many OO features)
Oracle (limited)MS-Access (very limited, picture field)
![Page 10: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/10.jpg)
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
![Page 11: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/11.jpg)
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
![Page 12: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/12.jpg)
Copyright © 2004, Dr. Guimaraes
POSTGRES: Open source
• DBMS is free and can modify source code
• Take over MySQL as the # 1 open source DBMS ?
![Page 13: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/13.jpg)
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
![Page 14: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/14.jpg)
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
![Page 15: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/15.jpg)
Copyright © 2004, Dr. Guimaraes
ORDBMS examples
• Points, Lines and Circles• ASU: University DB Example
![Page 16: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/16.jpg)
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
![Page 17: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/17.jpg)
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
![Page 18: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/18.jpg)
Copyright © 2004, Dr. Guimaraes
GIS Life Expectancy
![Page 19: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/19.jpg)
Copyright © 2004, Dr. Guimaraes
GIS Population
![Page 20: Copyright © 2004, Dr. Guimaraes OODBMS & ORDBMS Class Will Start Momentarily… Dr. Mario Guimaraes](https://reader036.vdocuments.net/reader036/viewer/2022062421/56649d6a5503460f94a48127/html5/thumbnails/20.jpg)
Copyright © 2004, Dr. Guimaraes
End of Lecture
End Of
Today’s
Lecture.