Explain data models namely relational network - hierarchical, Database Management System

Assignment Help:

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.


Related Discussions:- Explain data models namely relational network - hierarchical

Create a table to record a passengers information, Given the following rela...

Given the following relations TRAIN (NAME, START, DEST) TICKET (PNRNO., START, DEST, FARE) PASSENGER (NAME, ADDRESS, PNRNO.) Write SQL expressions for the following queries: No

Create the database in oracle using ddl, The Assessment page has a link to ...

The Assessment page has a link to download a conceptual model, and a list of data. You are to map this conceptual model, and create the database in Oracle using your own DDL.  T

Illustrate different types of locks in sql server, Illustrate different typ...

Illustrate different types of Locks in SQL Server. There are three kinds of locks in SQL Server i.) Shared locks - These are used for operations which don't allow any update

What is the use of a slotted-page structure, What is the use of a slotted-p...

What is the use of a slotted-page structure and what is the information are there in the header? The slotted-page structure is used for organizing records within a one block.

Define shadow paging, Define shadow paging. An alternative to log-based...

Define shadow paging. An alternative to log-based crash recovery method is shadow paging. This technique requires fewer disk accesses than do the log-based methods.

What is identity, What is Identity? Identity (or AutoNumber) is a colum...

What is Identity? Identity (or AutoNumber) is a column that automatically produces numeric values. A start and increment value can be set, but most DBA leave these at 1. A GUID

Durability-transaction , Durability : This property necessitates that once ...

Durability : This property necessitates that once a transaction has committed, the changes made by it be never lost because of subsequent failure. Thus, a transaction is also a bas

Define the notation for classes and atrributes, Define the notation for cla...

Define the notation for classes and atrributes The notation for class, attribute, and operations are shown below:     Figure: Class with attributes and operations A

Give an example of operations from the state actions, Give an example of op...

Give an example of operations from the State Actions and Activities. For instance, in bank the activity verify account code and verify password

Explain briefly concurrent task by taking an example, Explain briefly concu...

Explain briefly concurrent task by taking an example. Concurrent Task- The concurrent occurrence of more than one event is called concurrent task. Operating systems can handl

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd