Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 9

College of electronics technology

________Baniwalid _______

Database System Concepts


and Architecture

Week3- 4
Mustafa Abuali Fall 2017-2018
Outline

 Data Models
 Categories of Data Models
 Schemas
 Instances
 Database Languages and Interfaces
Data model

One fundamental characteristic of the database approach is that it provides some level of data
abstraction. Data abstraction .

A data model—a collection of concepts and tools that can be used to describe the structure
of a database—provides the necessary means to achieve this abstraction. By structure of a
database we mean the data types, relationships, and constraints that apply to the data. Most
data models also include a set of basic operations for specifying retrievals and updates on
the database.
Categories of Data Models

- High-level or conceptual data models


Close to the way many users perceive data

-Representational (implementation) data models.

- Low-level or physical data models


Describe the details of how data is stored on computer storage
media – For Computer Scientists
conceptual data models

Conceptual data models use concepts such as entities, attributes, and relationships.
An entity represents a real-world object or concept, such as an employee or a project
from the miniworld that is described in the database. An attribute represents some
property of interest that further describes an entity, such as the employee’s name or
salary. A relationship among two or more entities represents an association among
the entities, for example, a works-on relationship between an employee and a project
Entity and attribute
Entity ,Attribute and relationship
What is the Schema , Instances
Database schema
Description of a database; specified during design
Schema diagram
Displays selected aspects of schema
DBMS Languages

-Data definition language (DDL)


• Defines both schemas

-Data manipulation language (DML)


• Allows retrieval, insertion, deletion, modification

You might also like