Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Data Base System Concepts - Information Technology - Lecture Slides, Slides of Information Technology

This lecture is part of lecture series on Information Technology course. This lecture includes: Database System Concepts, Data Models, Categories of Data Models, Conceptual Data Model, Physical Data Model, Representational Data Model, Schemas, Instances and Database State, the Three-Schema Architecture, Data Independence, Dbms Languages, Database System Utilities

Typology: Slides

2012/2013

Uploaded on 12/31/2013

mandhata
mandhata 🇮🇳

4.5

(13)

68 documents

1 / 26

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Database System Concepts
and Architecture
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a

Partial preview of the text

Download Data Base System Concepts - Information Technology - Lecture Slides and more Slides Information Technology in PDF only on Docsity!

Database System Concepts

and Architecture

Data Models

-^

A collection of concepts that can be used todescribe the structure of a database (data types,relationships, and constraints)

-^

basic operations (retrieval and updates)

-^

specify the dynamic aspect or behavior of adatabase application( user-defined operations )

-^

example: COMPUTE_GPA, which can be appliedto a STUDENT object

Conceptual Data Model

-^

Use concepts such as– Entities:a real-world object or concept (DEPT)

(COURSE)

  • Attributes:property of interest that further describes an

entity (dept no, name, telephone, etc)

  • Relationships:interaction among the entities (DEPT)

provides (COURSE)

Physical Data Model

-^

Describes how data is stored in the computer.

-^

It represents info such as– record formats– record orderings– access path: make search more efficient

Schemas

-^

Is the description of the database

not database itself

  • Specified during database design–^

Not expected to change frequently

  • A displayed schema is called a schema diagram (Fig 2.1) -^

Each object in the schema-such as STUDENT orCOURSE-is a schema construct.

-^

Schema diagram represents only some aspects of aschema (name of record type, data element andsome type of constraint)

The Three-Schema Architecture•^

Importance of using DB approach–

insulation of programs and data– support of multiple user views– use of a catalog to store the database description (schema).

-^

The aim is to separate the user application and physical DB

-^

schema can be defined into three levels:–

The internal level has an internal schema– describes the physical storage structure of the database.– uses a physical data model

Data Independence

•^

Is the capacity to change the schema at one level of adatabase system without having to change the schema atthe next higher level.

-^

Logical data independence: capacity to change theconceptual schema without having to change externalschemas or application programs.

-^

Physical data independence: capacity to change theinternal schema without having to change the conceptual(or external) schemas

DBMS Languages

•^

Data Definition Language DDL: Language to specifyconceptual and internal schemas for the database and anymappings between the two.

-^

Storage definition language SDL: used when cleardistinction between conceptual and internal schema.

-^

view definition language VDL: specify user views andtheir mappings to the conceptual schema.

-^

data manipulation language DML:retrieval, insertion,deletion, and modification of the data

DBMS Interfaces

-^

Menu-Based Interfaces for Browsing– menus leads to formulation of a request

-^

Forms-Based Interfaces– display a form for each user (insert, select)– designed for naïve users.

-^

Graphical User Interfaces (GUI)– display schema as diagram.– Utilize both menu and forms.

DBMS Interfaces

-^

Natural Language Interfaces– Accept requests in native language and attempt to

understand them.

  • Refers to words in the schema and (standard words) to

interpret the request.

-^

Interfaces for Parametric Users (eg tellers)– goal is to min the number of keystroks required. (use of

function) keys

-^

Interfaces for the DBA– creating accounts, system privileges, changing schema,

etc.

  • Jan 29,
  • Jan 29,

Database System Utilities

-^

Loading: load existing files into the DB

-^

Backup: creates backup copy of the DB

-^

File reorganization: reorganize files for betterperformance

-^

Performance monitoring: monitor DB usage andprovide statistics to DBA