9
Mrs. Maninder Kaur [email protected] 1 Maninder Kaur www.eazynotes.com

Data models

Embed Size (px)

Citation preview

Page 1: Data models

Mrs. Maninder [email protected]

1Maninder Kaur www.eazynotes.com

Page 2: Data models

MODELA Model is representation of reality, ’real world’

objects and events and their associations.

A database model is an organizing principle that specifies particular mechanism of data storage and retrieval.

The model explains, in terms of services available to an interfacing application, how to access a data element when other related elements are known.

2Maninder Kaur www.eazynotes.com

Page 3: Data models

Components of Data ModelsStructure Part:

Consisting of set of rules according to which databases can be constructed.

Manipulative Part:Define the types of operation that are allowed on

the data.

Set of Integrity Rules:Which ensures that data is accurate.

3Maninder Kaur www.eazynotes.com

Page 4: Data models

Purpose of Data Model

To represent data.

To make the data understandable.

4Maninder Kaur www.eazynotes.com

Page 5: Data models

Types of Data Models

Object Based Data Models

Physical Data Models

Record Based Logical Data Models

5Maninder Kaur www.eazynotes.com

Page 6: Data models

Object Based Data ModelsIt use concepts such as entities, attributes and

relationships.

Types of Object Based Data Models:

* Entity Relationship

* Object Oriented

* Semantic

*Functional

6Maninder Kaur www.eazynotes.com

Page 7: Data models

Physical Data Models

It describe how data is stored in the computer, representing information such as record structures, record ordering and access paths.

Less no. of models are there.

7Maninder Kaur www.eazynotes.com

Page 8: Data models

Record Based Logical Data Models

o It is used to specify the overall logical structure of the database and to provide a higher-level description of the implementation.

o Structured database in fixed formats.

8Maninder Kaur www.eazynotes.com

Page 9: Data models

Types of Record Based Data Models

Hierarchical Model

Network Model

Relational Model

9Maninder Kaur www.eazynotes.com