Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Explain the three data models namely relational, network and hierarchical and evaluate their relative advantages and disadvantages.

Hierarchical Model: In hierarchical model, data elements are linked to one another by links. Records are arranged in a top-down structure which resembles a tree or genealogy chart. The top node is known as the root, the bottom nodes are known as leaves, and intermediate nodes have one parent node and various child nodes. The root can have any number of child nodes other than a child node can have only one parent node. Data are associated in a nested, one-to-many set of relationships, although many-to-many relationship cannot be in a straight line expressed.

A child record occurrence must have a parent record occurrence; deleting a parent record occurrence needs deleting all its child record occurrences.

A network data model can be regarded as an extended create of the hierarchical model; the principle distinction among the two being which in a hierarchical model, a child record has precisely one parent while in network model, a child record can have any number of parents. It might have zero also.

Data in the network model is represented through collection of records and relationship between data is represented through links, which can be viewed, as pointers. The records in the database are organized as collection of arbitrary graphs that permit to have one-to- many as well as many-to-many relationship is a collection of data items that can be retrieved from a database or that can be stored within a database as an undivided object.

Therefore, A DBMS may STORE, DELETE or MODIFY records inside a database. In this way, a number of records inside a network database are dynamically changed. The network model can be graphically represented as follows:

A labeled rectangle represents the corresponding entity or record type. An arrow represents the set type, that denotes the relationship among the owner record type and member record. The arrow direction is from the owner record category to the member record type.
A labeled rectangle represents the corresponding entity or record type. An arrow represents the set type, that denotes the relationship among the owner record type and member record. The arrow direction is from the owner record elements to the member record type.
Every many to many relationship is handled through introducing a new record type to represent the relationship wherein the attributes, if any, of the relationship are stored. We while create two symmetrical 1:M sets along with the member within each of the sets being the latest introduced record type. In this model, the relationships as well as the navigation by the database are predefined at database creation time.

In relational model the data and the relations between them are represented through a collection of tables. A tables is a collection of records and every record in a table contains the similar fields. The attractiveness of the relational approach arouses from the simplicity in the data organization and the availability of capably simple to extremely powerful query languages. The relational model is based on a technique known as "Normalization" proposed by E.F. Codd.

This model decreases the complexity of the Network and Hierarchical Models. This model uses the certain mathematical operations from relational algebra and relational calculus on the relation like as projection, union and joins etc. where as fields in two different tables take values from the similar set, a join operation could be performed to select associated records in the two tables through matching values in those fields. A description of data in terms of a data model is known as a schema. In relation model, the schema for a relation specifies its name, the name of each field and the type of each field.

Navigation through relations the represent an M:N relationship is only as simple as by a 1:M relationship. This leads us to conclude in which it is simpler to specify how to manipulate a relational database than a network or hierarchical one. This in turn leads to a query language for the relational model that is correct, clear, and effectual in specifying the required operations. Unfortunately, the join operation is inherently inefficient and demands a considerable amount of processing and retrieval of unnecessary data. The structure for the network and hierarchical model can be implemented efficiently. Such an implementation would mean in which navigating through these databases, by awkward, requires the retrieval of comparatively little unnecessary data.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M9545454

Have any Question?


Related Questions in DBMS

Question 1 what isdata-manipulation language dml there are

Question: 1. What isData-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last_ ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

Question talk about the importance of pulling data from

Question : Talk about the importance of pulling data from worksheets into a single sheet also the ways excel could be a solution to a complex challenge. The response must be typed, single spaced, must be in times new rom ...

This is a starting out with visual basic programming

This is a starting out with visual basic programming problem, meaning its a basic programming nothing advanced. Question: Add a linq statement to the combo box text-changed event to dispaly the city field of the selected ...

Question we can sort a given set of n numbers by first

Question : We can sort a given set of n numbers by first building a binary search tree containing these numbers (using TREE-INSERT repeatedly to insert the numbers one by one) and then printing the numbers by an inorder ...

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

Sql injection on a searchthe way search performs its task

SQL injection on a search The way Search performs its task is by executing the following query (in a php script):          $var=stripslashes($_POST['search']);          $query = "SELECT username from lab1_login where use ...

Answer the following question explain the difference

Answer the following Question : Explain the difference between a database management system (DBMS) and a database. Are Microsoft Access, SQL Server, and Oracle examples of databases or database management systems (DBMS)?

Question find at least two academic sources that describe

Question: Find at least two academic sources that describe the movement of Enterprise resource planning (ERP) activities to the cloud. Discuss the types of ERP activities that can be conducted in the cloud and the pros a ...

Stored procedure please create the following stored

Stored procedure. Please create the following stored routines using CPS3740_2017S database using the tables in dreamhome database. xxxx is your email id 1) Implement a stored procedure p3Q21_xxxx to display the Branch ci ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As