Database is a structured object which consists of data and metadata, with metadata being the structured part.
Evolution of Database Modeling
File Systems
Hierarchical Database Model
- The tables of this model take on a child-parent relationship.
- Each child table has a single parent table, and each parent table can have multiple child tables
- The result of this structure is that the hierarchical database model supports one-to-many relationships
- The disadvantages of the hierarchical database model are that any access must originate at the root node
Network Database Model
- The network model allows child tables to have more than one parent
- Multiple parent tables for each child allows for many-to-many relationships
Relationship between the employee and task tables is a many-to-many relationship.
Assignment table resolves the dilemma of the many-to-many relationship by allowing a unique definition for the employee and task. Without that unique definition, finding a single assignment would be impossible.
Relational Database Model
- Any table can be accessed directly without having to access all parent objects. The trick is to know what to look for.
- Any tables can be linked together, regardless of their hierarchical position.
- Obviously, there should be a sensible link between the two tables, but you are not restricted by a strict hierarchical structure. A table can be linked to both any number of parent tables and any number of child tables.
Object Database Model
- An object database model provides a three-dimensional structure to data where any item in a database can be retrieved from any point very rapidly.
- Is efficient for finding unique items, whereas the relational database model lends itself to retrieval of groups of records in two dimensions.
- Consequently, the object database model performs poorly when retrieving more than a single item.
- Object and relational structure is completely different.
Object-Relational Database Model
DESIGN IS THE PROCESS OF ENSURING THAT IT ALL WORKS WITHOUT ACTUALLY BUILDING IT.


No comments:
Post a Comment