DATA MODEL

 DATA MODEL

It is a conceptual tools which describe logical design of a database. It define entity definations, relationship and symmentic properties of intigrity constant.The very first data model could be flat data-models, where all the data used are to be kept in the same plane. Earlier data models were not so scientific, hence they were prone to introduce lots of duplication and update anomalies. While the Relational Model is the most widely used database model, there are other models too:

  • Hierarchical Model
  • Network Model
  • Entity-relationship Model
  • Relational Model
  • Hierarchical Model

    This database model organises data into a tree-like-structure, with a single root, to which all the other data is linked. The heirarchy starts from the Root data, and expands like a tree, adding child nodes to the parent nodes.

    In this model, a child node will only have a single parent node.

    This model efficiently describes many real-world relationships like index of a book, recipes etc.

    In hierarchical model, data is organised into tree-like structure with one one-to-many relationship between two different types of data, for example, one department can have many courses, many professors and of-course many students .

  •        




Network Model

This is an extension of the Hierarchical model. In this model data is organised more like a graph, and are allowed to have more than one parent node.

In this database model data is more related as more relationships are established in this database model. Also, as the data is more related, hence accessing the data is also easier and fast. This database model was used to map many-to-many data relationships.

This was the most widely used database model, before Relational Model was introduced.


Entity-Relationship Model

Entity-Relationship (ER) Model is based on the notion of real-world entities and relationships among them. While formulating real-world scenario into the database model, the ER Model creates entity set, relationship set, general attributes and constraints.

ER Model is best used for the conceptual design of a database.



Relational Model

The most popular data model in DBMS is the Relational Model. It is more scientific a model than others. This model is based on first-order predicate logic and defines a table as an n-ary relation.








Comments

Popular posts from this blog

Introduction of C Language

First in C programming

Computer generation