OOP (lecture 11)
Part 1: Limits of Conventional RDBMs
Limit of Conventional databases
- Good at large number of rows, but only with a few types (columns)
- Hard to have design changes propagate throughout many object
- Not good at version control of the database, and working with a large number of Devs
- Not good at handling long transactions
Limit of Relational databases
- Normalisation - leads to real world objects becoming abstracted, this leads to many joins during query processing
- Passive data - behaviour of data that is not related to data
OODBs can solve this, they can store the structure of complex objects and their functionally is held
Part 2: Storing Objects (Object types)
Objects types have:
- attributes
- methods that define its behaviour
- associations - links to other objects
/Untitled.png)
Part 3: Problems with OODBMS
/Untitled%201.png)
/Untitled%202.png)
Strats for OODB development
/Untitled%203.png)
Object Relational Database Management Systems
Classes and Object types - metadata
Attributes - data