Degrees of data abstraction copy
-
Upload
markilyn -
Category
Technology
-
view
1.608 -
download
13
Transcript of Degrees of data abstraction copy
![Page 1: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/1.jpg)
Degrees of Data Abstraction
![Page 2: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/2.jpg)
Degrees of Data Abstraction
Degree/s-quality
Data- raw facts
Abstract- concept
“Data designer produced a quality data model”
![Page 3: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/3.jpg)
Early 1970’s
American National Standard Institute (ANSI) Standards Planning and Requirements Committee (SPARC)
Defined a framework for data modelling based on degrees of data abstraction.
![Page 4: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/4.jpg)
ANSI/SPARC architecture
Defines three levels of abstraction:
external conceptual internal
![Page 5: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/5.jpg)
Data Abstraction levels
![Page 6: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/6.jpg)
The External model
Is the end user’s view of the data
environment.
The term end user’s refers to the
people who use the application
programs to manipulate the data
and generate information.
![Page 7: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/7.jpg)
A specific representation of an external
view is known as an external schema.
Each external schema includes the
appropriateness entities, relationships,
processes, and constraints imposed by the
business unit.
![Page 8: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/8.jpg)
External Model for Tiny College
![Page 9: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/9.jpg)
Advantages of using External views
It makes it easy to identify specific
data required to support each
business unit’s operations.
![Page 10: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/10.jpg)
Advantages of using External views
It makes the designer’s job easy by
providing feedback about the
model’s adequacy.
![Page 11: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/11.jpg)
Advantages of using External views
It helps to ensure security
constraints in the database design.
Damaging an entire database is
more difficult when each business
unit works with only a subset of
data.
![Page 12: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/12.jpg)
It makes application program development much simpler.
![Page 13: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/13.jpg)
The Conceptual model
The conceptual model represents as
a global view of the entire database
as viewed by the entire organization.
![Page 14: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/14.jpg)
The Conceptual model
Conceptual model integrates all
external views (entities,
relationships, constraints, and
processes) into single global of a
data.
Also known as conceptual schema
![Page 15: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/15.jpg)
Conceptual model for Tiny College
![Page 16: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/16.jpg)
Advantages of conceptual model
First, it provides a relatively easily
bird’s eye (macro level) view of the
data environment.
![Page 17: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/17.jpg)
External model- Conceptual model
![Page 18: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/18.jpg)
Advantages of conceptual model
Second, the conceptual model is
independent of both software and
hardware.
![Page 19: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/19.jpg)
1. Software independence means that the
model does not depend on the DBMS
software used to implement the model.
2. Hardware independence means that the
model does not depend on the hardware
used in the implementation of the model.
![Page 20: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/20.jpg)
Generally, the term logical design
is used to refer to the task of
creating a conceptual data model
that could be implemented in any
DBMS.
![Page 21: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/21.jpg)
The internal model
Once a specific DBMS has been
selected, the internal model maps
the conceptual model to the DBMS.
![Page 22: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/22.jpg)
The internal model is the
representation of the database as
seen by the DBMS.
![Page 23: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/23.jpg)
In other words, the internal model
requires the designer to match the
conceptual model’s characteristics
and constraints to those of the
selected implementation model.
![Page 24: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/24.jpg)
Internal model for Tiny College
![Page 25: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/25.jpg)
Internal model depends on specific
database software, it is said to be
the software dependent.
![Page 26: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/26.jpg)
Internal model is still hardware-
independent because it is unaffected
by the choice of the computer on
which the software is installed.
![Page 27: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/27.jpg)
Physical level
This lowest level of data abstraction
is concerned exclusively with
physical storage methods.
![Page 28: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/28.jpg)
Early data models forced the
database designer to take the details
of the physical model’s data storage
requirements into account.
![Page 29: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/29.jpg)
However, the now dominant
relational model is aimed largely at
the logical rather than the physical
level; therefore it does not require
the physical-level details common to
its predecessors.
![Page 30: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/30.jpg)
Summary of levels of data abstraction
![Page 31: Degrees of data abstraction copy](https://reader035.fdocuments.us/reader035/viewer/2022081505/558100f1d8b42a9d198b5128/html5/thumbnails/31.jpg)
Thanks!Prepared by Me
Yours truly,