Skip to main content

Types of Database model - Computer science fundamentals tutorial

Database model & it's types in DBMS

 Database model: - Database model defines the logical design and structure of database and defines how data will be stored and updated in a database management. Data Models are fundamental entities to introduce abstraction in a DBMS.
Types of Database model: - 
There are four types database model in DBMS.  The models are 
1) Hierarchical Model
 2)  Network Model
 3) Entity relationship model (ER model)
4) Relational model
now we discuss about each models.
1) Hierarchical Model: - This database model organizes data into a tree like structure with a single root to which all the other data is linked. The hierarchy starts from root data and expands like 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 relationship like index of a book, recipes. In hierarchical model, data is organized into tree like structure with one, one to many relationship between two different types of data.


 2)  Network Model: - This is an extension of the hierarchical model. In this model data is organized more like a graph and are allowed to have more than one parent node. In this database model data is more related as more relationship established in this model. As the data is related, hence accessing the data is also easier and fast. This database model was used to map many to many data relationship.



 3) Entity relationship model (ER model): - In this model relationship are created by dividing objects of interest into entity and its characteristic into attributes. ER model are define to represent the relationship into pictorial form to make it easier for different situation to understand. This model is good to design a database which can be turn into tables in relational mode.


       4) Relational model: - In this model, data is organized into two dimensional tables and relationship is maintain by storing a common filed. Basic structure of data in the relational model is tables. All the information related to a particular type is stored in rows of that table.





Comments

  1. Thanks for sharing such an informative Article. It will be beneficial to those who seek information. Continue to share your knowledge through articles like these, and keep posting on

    Data Engineering Solutions 

    AI Solutions

    Data Analytics Services

    Business Intelligence Solutions

    ReplyDelete

Post a Comment

please subscribe my blog and let me suggest how I improve this site

Popular posts from this blog

Important MCQ of RDBMS( Relational database management system)-FCST

Important MCQ of RDBMS  1. A RDBMS consists a collection of ? a. Tables b. Fields c. Records d. Keys  ANS/- a. table 2. The term attribute refers to a ___________ of a table a. Record b. Tuple c. Column d. Key   ans/- c. Column 3. In relational model, the row of table is known to be ?  a. Relation b. Entity field c. Tuple d. Attribute  ans/- C. Tuple 4. . Address field of a person should not be part of primary key, since it is likely to ? a. Dependent b. Too long c. Changed d. Not changed  ans/- c. Changed 5. The relational model is concerned with ? a. Data structure and Data integrity b. Data Manipulation c. Both a and b d. None of these  ans/- c. Both a and b 6. Which is the false statement from the following ? a. A veiw is a named derived table b. A name relation is variable c. A veiw is a named reation and is virtual d. None of these  ans/- d. None of these 7. The union of primary key...

Short notes on database schema & database independence- computer science fundamentals tutorial

            Database Schema &  Data Independence PDF version of this post also available. to download the click the link given at the end of this post.           Database Schema : -  A database schema   is the skeleton structure that represents the logical view of the entire database. It defines how the data is organized and how relat ion among them are associated.  Database schema  formulates all the constrains that are to be applied on the data. A database schema defines its entities and the relationship among them. It contains descriptive details of the database which can be described by means of schema diagram. A database schema can be divided into two categories.   I.     Physical database schema : - this schema contain to the actual storage of data and its form of storage like files, indices etc. It defines how the data will be stored in a secondary storage. ...

C program to find factorial of number using function - FCST

C program to find factorial of number using function Problem description In this program take number as input & then it show the factorial of given number as output. Problem solution 1.take a number as input. 2.declare the void Fact(int) function globally if you want or declare the function prototype  into the main() function. 3.after taking input call the function into main() . 4.then define the function definition. 5.after taking function definition for loop started in this function definition. 6. In for loop i=1 & fact=1 then fact=1. after this loop is continue and incremented by1 until the n is grater than equal to i. continuity of loop is depend on what number take as input .  Program code: #include<stdio.h> void Fact(int);//function prototype declearation int i,fact=1;//global variable declearation int main()  { int n; printf("\n enter the  number:"); scanf("%d",&n); Fact(n);//function call } //func...