Database Models
This note is about the Database models. A database model is a collection of logical constructs used to represent the data structure and the data relationships found within the database. Under the database model, it includes the Conceptual Model and Implementation Model. Under the Conceptual model, it has a One-to-many relationship, Many-to-many relationship and one to one relationship whereas in Implementation model it has the hierarchical database model the network database model the relational database model and The Entity Relationship Database Model.
Summary
This note is about the Database models. A database model is a collection of logical constructs used to represent the data structure and the data relationships found within the database. Under the database model, it includes the Conceptual Model and Implementation Model. Under the Conceptual model, it has a One-to-many relationship, Many-to-many relationship and one to one relationship whereas in Implementation model it has the hierarchical database model the network database model the relational database model and The Entity Relationship Database Model.
Things to Remember
- A database model is a collection of logical constructs used to represent the data structure and the data relationships found within the database.
- Hierarchical database model involves one-to-many series relationship that remains fixed over time which is effective whenever you have many transactions.
- Network database model also include the one-to-many relationship but it allows a record to have more than one parent which encountered relationships can be handled easily by the network database model.
- Relational database model performs the same basic functions provided by the hierarchical and network DBMS systems plus a host of other functions that make the relational database model easier to understand to implement.
- Entity Relationship Database model is easier to examine structures graphically than to describe them in text form database designers find it desirable to use a graphical tool in which entities and their relationships can be pictured.
MCQs
No MCQs found.
Subjective Questions
No subjective questions found.
Videos
No videos found.

Database Models
INTRODUCTION TO DATABASE MODELS
The quest for better data management has led to several different ways of solving the file system’s critical shortcomings. The resulting theoretical database constructs are represented by various database models.
A database model is a collection of logical constructs used to represent the data structure and the data relationships found within the database.
Database models can be grouped into two categories:
- Conceptual Model
- Implementation Model
Conceptual Model
The conceptual models use three types of relationships to describe associations among data:
- One-to-many relationship: A painter paints many different paintings, but each one of them is painted by only that painter.
- Many-to-many relationship: An employee might learn many job skills, and each job skill might be many employees.
- One-to-one relationship: A retail company’s management structure may require that each one of its stores is managed by a single employee. In turn, each store manager who is an employee only manages a single store. Therefore, the relationship is one to one.
Implementation Model
An implementation model places the emphasis on how the data are represented in the database or on how the data structures are implanted to represent what is modeled. Implementation models include:
i.) Hierarchical Database Model
ii.) Network Database Model
iii.) Relational Database Model and
iv.) Entity Relationship Database Model
i.) Hierarchical Database Model
North American Rockwell was the prime contractor for the Apollo project, which culminated in a moon landing in 1969. Bringing such a complex project to a successful conclusion, this process requires the management of millions of parts. Information concerning the part was generated by a complex computer file system.
Fig: Hierarchical Database Model
(Source:commons.wikimedia.org)
When North America Rockwell began to develop its own database system, an audit of computer tapes revealed that over 60% of the data were redundant (repeated). The problems caused by data redundancy forced North American Rockwell to develop an alternate strategy for managing such huge data quantities.
Borrowing parts of existing database concepts, they developed software known as GUAM (Generalized Update Access Method), which was based on the recognition that the many smaller parts would come together as components of still larger components and so on until all the components came together in the final unit.
In the mid-sixties, IBM joined North American Rockwell to expand the capabilities of GUAM replacing the computer tape medium with more up-to-date disk computer storage which allows the introduction of complex pointer system. The results of the joint Rockwell-IBM effort become known as the Information Management System (IMS).
Advantages:
- The relationship between various layers is logically simple.
- This system provides a tough database security.
- Hierarchical database system maintains data independence i.e. if a data is altered in one table, it does not affect the other location.
- There is always a parent-child relationship and data integrity is maintained.
- For a large volume of data and 1:M relationship, it is a very efficient model.
Disadvantages:
- The physical implementation of the database is complicated.
- Alternation in database structure is difficult to manage.
- Structural independence exists when changes in the database structure do not affect the DBMS’.
- Application programming use complexity which may exist in many cases.
- Implementation limitations due to the incapability of managing the relation such as M:N.
- It lacks in DDL and DML standard of commands.
ii.) Network Database Model
Network database model was created to represent complex data relationships more effectively than the hierarchical model, which could improve database performance and impose a database standard. The lack of database standards was troublesome to programmers and application designers because it made database designs and applicationsare less portable.
In many aspects, the network database model resembles the hierarchical database model. It also uses the same principle of 1:M relationship. However, quite unlike the hierarchical model, the network model allows a record to have more than one parent. Therefore, the commonly encountered relationships can be handled easily by the network database model.
Fig: Network Database Model
(Source:hudahaksonoug.blogspot.com)
Using network database terminology, a relationship is called a set. Each set is compared to at least two record types: an owner record that is equivalent to the hierarchical model’s parent and a member record that is equivalent to the hierarchical model’s child. A set represents a 1:M relationship between the owner and the member.
Advantages:
- The database is conceptually simple in structure.
- It can handle more relationship types.
- It has data access flexibility such as accessing its own record and all the member records in the set.
- Promotes database integrity since owner record and member records are defined precisely.
- Changes in the data integrity since owner record and member records are defined precisely.
- Changes in the data do not require a change in access methods which is the benefit of data independence.
- It confirms the standards such as DDL (Data Definition Language) and DML.
Disadvantages:
- Since, the system is complex the system navigators, database administrators, programmer and end users must be very familiar with the internal structure in order to access the database. Lack of structural independence
- Although, the network mode achieves data independence, it still does not produce structural independence.
iii.) Relational Database Model
The Relational Model, first developed by E.F. Codd (of IBM) in 1970, represented a major breakthrough for both users and designers. To use an analogy, the relational model produced an “automatic transmission” database to replace the “standard transmission” database that preceded it.
Its conceptual simplicity set the stage for a genuine database revolution. Codd’s work was considered ingenious but impractical in 1970. The relational model’s conceptual simplicity was brought at the expense of computer overhead; computers lacked the power to implement the relational model.
Fig: Relational Database Model
(Source:www.proprofs.com)
The relational database model is implemented through a very sophisticated relational database management system (RDBMS). The RDBMS performs the same basic functions provided by the hierarchical and network DBMS system plus a host of other functions that make the relational database model easier to understand and to implement.
Advantages:
- Data access paths are irrelevant to relational database designers, programmers and end users. It is possible to change database structure without changing the method of accessing data.
- This model is simpler and possesses improved conceptual simplicity.
- It provides easier database design, implementation, management and use.
- It possesses ad-hoc query capabilities.
- It possesses a powerful database management system.
Disadvantages:
- Substantial hardware and system software overhead due to the complex structure of database hidden procedures within the system.
- In microcomputer based systems, it has a poor design and implementation is made easy.
- Many promote “islands of information” problems since some database are isolated from other locations or system complexity.
iv.) Entity Relationship Database Model
The relational database model’s conceptual simplicity made it possible to expand the database’s scope. Therefore, the introduction of relational database technology triggered a demand for more and increasingly complex transactions and information.
In turn, the rapidly increasing transaction and information requirement created the need for more complex database implementation structures, thus, creating the need for more effective database design tools.
Fig: Entity Relationship Database Model
(Source:www.creativebloq.com)
Complex design activities requires conceptual simplicity to yield successful results. Although the relational database model was a vast conceptual improvement over the hierarchical and network database models, it still lacked the features that which might make it an effective database design tool because it is easier to examine structures graphically than to describe them in text form. Database designers find it desirable to use a graphical tool in which entities and their relationships can be pictured.
Advantages
- It yields a particularly easily viewed and understood conceptual view of a database’s main entities and their relationships.
- The ERM gives the designers visual representation very clearly.
- The ERM has become one of significant effective communication tools in RDBMS.
- The ERM is well integrated with the relational database model.
Disadvantages
- Limited constraint representation due to limited model.
- The relationship between attributes within entities cannot be represented. Example, there is no way of completed hours and classification of a student.
- It lacks in data manipulation language or commands.
- The models becomes crowded due to more presence of entities.
References:
Khanal, R.C. Khanal, R.C. Computer Concept for XII. Pashupatigriha Marga, Thapathali, Kathmandu, Nepal: Ekta Books Distributors Pvt. Ltd., 2010. 51-56.
Adhikari,Deepak Kumar.,et.al., Computer Science XII,Asia Publication Pvt.Ltd
Lesson
Database
Subject
Computer Science
Grade
Grade 12
Recent Notes
No recent notes.
Related Notes
No related notes.