11
11/6/2015 Model s of Database Architecture: Hierarchical, Network and Relational Models htt p:/ /www.y our art i cl el i bra ry. com/da tab ase /model s- of- dat aba se-arc hi t ect ure -hi erarch i ca l -n etwork -an d-r el ati o nal -mo del s/1 038 9/ 1/1 1 Models of Database Architecture: Hierarchical, Network and Relational Models  by Saritha Pujari Database Advertisements: Some of the board models of database architecture are as follows: The process of defining the conceptual design of data elements and their inter-relationships is called data modeling. The traditional applications approach to data organisation built different models for each data file.

Models of Database Architecture_ Hierarchical, Network and Relational Models

Embed Size (px)

Citation preview

  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    1/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 1

    Models of DatabaseArchitecture:

    Hierarchical, Networkand Relational Modelsby Saritha Pujari Database

    Advertisements:

    Some of the board models of database architecture

    are as follows:

    The process of defining the conceptual design of data

    elements and their inter-relationships is called data

    modeling. The traditional applications approach to

    data organisation built different models for each data

    file.

    http://www.yourarticlelibrary.com/category/database/
  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    2/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 2

    Image Cour tesy : ysma.gr /static/images/6_4_DBinput.jpg

    Such a diversity of ways in which different data

    elements are linked and stored in data files make

    these files suitable only for the applications that they

    were originally created for. In fact, the details

    regarding the exact placement of different data

    elements in a file have to be documented very

    carefully.

    Any change in the order in which various data

    elements are placed results in changes in the

    application programs using the data file. The database

    approach uses a common data model for the entire

    database and the user program is not concerned with

    the placement of a particular data element. The

    database management system (DBMS) acts as an

    interface between the database and the user

    programs.

    The DBMS fetches the data from the database and

    makes it available to the user program. This feature

    offers the advantage of data independence in the

    database approach.

    http://cdn.yourarticlelibrary.com/wp-content/uploads/2013/12/b833L.jpg
  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    3/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 3

    Conceptually, there are three broad options with

    regard to database models. These are:

    a. Hierarchical model

    b. Network model

    c. Relational model

    (a) Hierarchical model:

    This model presents data to users in a hierarchy of

    data elements that can be represented in a sort of

    inverted tree. In a sales order processing system, a

    customer may have many invoices raised to him andeach invoice may have different data elements. Thus,

    the root level of data is customer, the second level is

    invoice and the last level is line items such as invoice

    number, date, product, quantity, etc.

    This structure is quite natural when seen from the

    event point of view. However, the lower levels are

    owned by higher level data elements, and elements at

    the same level have no linkage at all. As a result, the

    query such as what products are purchased by which

    customer, in the above example, shall be difficult to

    carry out in the hierarchical structure.

    The query as to which customer purchased which

    product would be convenient. Thus, where there are

    many-to-many relationships between two entities, this

    model would not be appropriate. Figure 9.4 shows the

    hierarchical model of data for a sales order processing

    application.

  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    4/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 4

    (b) Network model:

    In the network model of database, there are no levelsand a record can have any number of owners and also

    can have ownership of several records. Thus, the

    problem raised above in the sales order processing

    will not arise in the network model.

    As there is no definite path defined for retrieval of

    data, the number of links is very large and thus

    network databases are complex, slow and difficult to

    implement. In view of the difficulty in

    implementation, network model is used only when all

    other options are closed.

    The typical example of a network database may be the

    employee and the department he/she has worked or

    can work with in future. Figure 9.5 shows the network

    model of data for an employee information system.

  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    5/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 5

    (c) Relational model:

    The most recent and popular model of database design

    is the relational database model. This model was

    developed to overcome the problems of complexity

    and inflexibility of the earlier two models in handlingdatabases with many-to-many relationships between

    entities.

    These models are not only simple but also powerful. In

    the relational database, each file is perceived as a flat

    file (a two dimensional table) consisting of many lines

    (records), each record having key and non-key data

    item(s). The key item(s) is the data element(s) that

    identifies the record. Figure 9.6 shows the files, and

    the fields that each record shall have in a customer

    invoicing system.

  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    6/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 6

    In these files, the key data items are customer id,

    invoice no, and product code. Each of the files can be

    used separately to generate reports. However, data

    can also be obtained from any combination of files as

    all these files are related to each other with the help of

    key data items specified above.

    This is the fundamental advantage of the relational

    model of database along with its simplicity and the

    robustness.

    The relational model draws greatly on the work of

    E.F. Codd who identifies features of a good

    relational database as following:

    a) All information is logically represented as tables

    and the access of data are possible by the names of

    fields. Thus, the order, position or file linkage is not a

    matter of concern for users.

    b) The data dictionary has information regarding the

    database structure including the data type; size, etc.,

    definitions, relationships and access permissions. The

    authorised users can learn about the database

    environment and change the environment using the

    data description language (DDL).

    c) A data manipulation language (DML) is available to

    users including programmers for creation, insertion,

    modification, retrieval, organising and deletions of

    any part of the database. These manipulations are

    possible at the record level as well as for the whole

    file, giving the flexibility in defining access

    permissions for various categories of users.

  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    7/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 7

    d) Any modification in the structure of database in

    terms of splitting the table horizontally or vertically

    should not have any impact on the logic of the

    program using the database. This data independence

    is the core advantage of the relational model of

    database.

    e) The distributed independence of data is another

    feature of a good relational database. The user

    programs do not require any change when data are

    first distributed or redistributed. The actual physical

    location of data does not matter to the user so long as

    that field appears in the data dictionary as local.

    As may be noted from Fig. 9.6, none of the fields is

    common in any two files except the key item. So, the

    data redundancy can be avoided in this model. For

    this purpose, a process of data normalisation is

    undertaken while designing the structure of a

    database.

    Advertisements:

    Best Flight Deals for

    New Delhi to KolkataBook Flights!

    Use Deal Code MMT200& get 200 OFF!

  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    8/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 8

    Related Articles:

    Difference Between Clashes of Law andCustom!

    Essential to Manage a Supply ChainEffectively

    Reasons for Preparation of Revised Budget(With Example)

    Use of Projective Techniques to AccessUnconscious Motives and Feelings

    The Specific Characteristics ofSchizophrenia | Psychology

    5 Major Advantages of Marketing

    Office Budget: Meaning, Importance andLimitations of Office Budget

    Complete Guide to Organizational Change

    You May Like by TaboolaSponsored Links

    Your Singapore

    Bajaj Finserv

    Big decisions

    BookBub

    Scripbox

    Jagran

    Why Hong Kong is the Most Exciting Travel Destination For

    Why Content Creators Should Flock to Singapore

    Know How to Finance Your Dream Wedding

    Calculate: The Amount of Money You Need at 60

    Book Lovers Are Going Totally Crazy for This Site

    5 Ways to Increase Your Annual Income

    -

    http://popup.taboola.com/en/?template=colorbox&taboola_utm_source=yourarticlelibrary&taboola_utm_medium=bytaboola&taboola_utm_content=thumbnails-a:below-article:http://popup.taboola.com/en/?template=colorbox&taboola_utm_source=yourarticlelibrary&taboola_utm_medium=bytaboola&taboola_utm_content=thumbnails-a:below-article:http://popup.taboola.com/en/?template=colorbox&taboola_utm_source=yourarticlelibrary&taboola_utm_medium=bytaboola&taboola_utm_content=thumbnails-a:below-article:http://www.yourarticlelibrary.com/organization/organizational-change/complete-guide-to-organizational-change/64073/http://www.yourarticlelibrary.com/office-management/office-budget/office-budget-meaning-importance-and-limitations-of-office-budget/69046/http://www.yourarticlelibrary.com/marketing/5-major-advantages-of-marketing/27962/http://www.yourarticlelibrary.com/uncategorized/the-specific-characteristics-of-schizophrenia-psychology/12488/http://www.yourarticlelibrary.com/uncategorized/use-of-projective-techniques-to-access-unconscious-motives-and-feelings/42790/http://www.yourarticlelibrary.com/accounting/budgetary-control-accounting/reasons-for-preparation-of-revised-budget-with-example/66158/http://www.yourarticlelibrary.com/retailing/essential-to-manage-a-supply-chain-effectively/48278/http://www.yourarticlelibrary.com/difference/difference-between-clashes-of-law-and-custom/24296/
  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    9/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 9

    Before publishing your

    articles on this site, please

    read the following pages:

    1. Content Guidelines2.

    Prohibited Content3.

    Plagiarism Prevention4.

    Image Guidelines5. Content

    Filtrations6. TOS7. Privacy

    Policy8. Disclaimer9.

    Copyright10. Report aViolation

    Advertisements

    , Database

    Family?

    Hong Kong Tourism Board

    The Secret to Reducing Cholesterol is Revealed

    Fropky

    http://www.yourarticlelibrary.com/tag/articles-on-database/http://www.yourarticlelibrary.com/how-to-report-a-policy-violation/http://www.yourarticlelibrary.com/copyright/http://www.yourarticlelibrary.com/disclaimer/http://www.yourarticlelibrary.com/privacy-policy/http://www.yourarticlelibrary.com/terms-of-service/http://www.yourarticlelibrary.com/content-filtrations/http://www.yourarticlelibrary.com/image-guidelines/http://www.yourarticlelibrary.com/plagiarism-prevention/http://www.yourarticlelibrary.com/content-guidelines/prohibited-content/http://www.yourarticlelibrary.com/content-guidelines/http://www.yourarticlelibrary.com/
  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    10/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    h t tp : // w ww . yo u ra r ti c le l ib r ar y .c o m/ d at a ba s e/ mo d el s -o f -d a ta b as e -a r ch i te c tu r e- h ie r ar c hi c al - ne t wo r k- a nd - re l at i on a l- m od e ls / 10 3 89 / 1 0

    Top 10 Advantages of

    Budgetary Control |

    Financial Analysis

    OCTOBER 28, 2015

    Budget Control: Meaning,

    Objectives and

    Characteristics

    OCTOBER 28, 2015

    Making a Successful

    Budgetary Control System

    | Financial Analysis

    OCTOBER 28, 2015

    Value Added Reporting: A

    Close View| Financial

    Analysis

    OCTOBER 28, 2015

    Comparative Statement of

    IASS and ASS (With

    Format)

    OCTOBER 28, 2015

    You May Like

    Times of India

    FDA-approved drugs promise new

    hair growth

    LATEST

    http://-/?-http://www.yourarticlelibrary.com/accounting/accounting-standards/comparative-statement-of-iass-and-ass-with-format/67761/http://www.yourarticlelibrary.com/accounting/value-added-reporting/value-added-reporting-a-close-view-financial-analysis/67766/http://www.yourarticlelibrary.com/accounting/budgetary-control-accounting/making-a-successful-budgetary-control-system-financial-analysis/67767/http://www.yourarticlelibrary.com/accounting/budgetary-control-accounting/meaning-budgetary-control-accounting/budget-control-meaning-objectives-and-characteristics/67768/http://www.yourarticlelibrary.com/accounting/budgetary-control-accounting/top-10-advantages-of-budgetary-control-financial-analysis/67771/
  • 7/23/2019 Models of Database Architecture_ Hierarchical, Network and Relational Models

    11/11

    11/6/2015 Model s of Dat abase Architecture: Hierarchical, Net work and Relational Models

    Copyright 2015 YourArticleLibrary.com, All rights reserved. Sitemap

    by TaboolaSponsored Links

    Your Singapore

    Bajaj Finserv

    Big decisions

    BookBub

    OurBetterWorld.org

    Singapore: The New Frontier in

    Digital Media

    Know How to Finance Your Dream

    Wedding

    Calculate: The Amount of MoneyYou Need at 60

    Book Lovers Are Going Totally

    Crazy for This Site

    An Uncommon Friendship

    http://popup.taboola.com/en/?template=colorbox&taboola_utm_source=yourarticlelibrary&taboola_utm_medium=bytaboola&taboola_utm_content=thumbnails-rr:Right%20Rail%20Thumbnails:http://popup.taboola.com/en/?template=colorbox&taboola_utm_source=yourarticlelibrary&taboola_utm_medium=bytaboola&taboola_utm_content=thumbnails-rr:Right%20Rail%20Thumbnails:http://popup.taboola.com/en/?template=colorbox&taboola_utm_source=yourarticlelibrary&taboola_utm_medium=bytaboola&taboola_utm_content=thumbnails-rr:Right%20Rail%20Thumbnails:http://www.yourarticlelibrary.com/sitemap.xml