Top Banner
PREPARED BY AKSHAY JANI (116380307521) 1
25
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Ansi spark

PREPARED BY

AKSHAY JANI (116380307521)

1

Page 2: Ansi spark

ACKNOWLEDGEMENTWE ARE IMMENSLY GREATFUL TO OUR LECTURER AND

PROJECT GUIDE, MR.HIREN V MER, FOR HER INVALUABLE GUIDANCE WHICH GAVE US A DEEP INSIGHT ON THE SUBJECT. WITH HER KEEN INTEREST AND CONSTANT MORAL BOOSTING, WE ARE ABLE TO IMPLEMENT THE PROJECT SATISFACTORILY.

WE EXPRESS OUR VERY SINCERE THANKS TO COMPUTER ENGINEERING DEPT. FOR PROVIDING ADEQUATE FACILITIES TO COMPLETE OUR PROJECT.

WE ARE AGAIN CORDIALLY THANKFUL TO OUR C&E DEPARTMENT STAFF, FRIENDS AND OTHER PEOPLE WHO HAVE DIRECTLY OR INDIRECTLY HELPED US IN COMPLETION OF THIS PROJECT. 

LAST BUT NOT THE LEAST, WE ARE ALSO THANKFUL TO OUR FAMILY MEMBERS WHO ENGOURAGED AND SUPPORTED US ROUND THE CLOCK FOR THIS PROJECT.

Akshay Jani

Page 3: Ansi spark

CERTIFICATEThis is to certify that AKSHAY JANI Student of computer Engineering, bearing Enrollment No: 116380307521 have satisfactorily completed his/her Seminar work as a part of course curriculum in Diploma Engineering semester III having a report title “ THREE LEVEL ANSI SPARC ARCHITECTURE ”.

MR.HIREN V MERLecturer, computer Dept.

PIETDS-2nd Shift, Limda.

PARUL INSTITUTE OF ENGINEERING & TECHNOLOGYCOMPUTER ENGG. DEPARTMENT

LIMDA, VAGHODIA, VADODARA

Page 4: Ansi spark

The model provides the basis for understanding some of the functionality of a DBMS.

In 1975 American National Standards Institute (ANSI) Standards Planning and Requirement Committee (SPARC) recognized the need for three level architecture.

Page 5: Ansi spark

Three Level ANSI-SPARC Architecture-IThree level architecture consist of:

1) External Level2) Conceptual Level3) Internal Level

Page 6: Ansi spark

External Level

The users view of the database. This level describes that part of the database that is relevant to each user.The external level consists of a number of different external views of the database.Different views may have different representation of same data.

Page 7: Ansi spark

External Level-IIFor example, one user may view dates in the form (day, month, year), while another may view dates as (year, month, day).

Some views might include derived or calculated data. (Example DOB Age)

Page 8: Ansi spark

Conceptual LevelThe middle level in the three level architecture is the conceptual level.

This level is “community view” of data , includes a description of all available dataThe conceptual level provides both the mapping and the desired independence between the external and internal levels.

Page 9: Ansi spark

Conceptual Level (cont…)The conceptual level represents:

1. All entities, their attributes and their relationships.

2. The constraints on the data.3. Security and integrity information.

Page 10: Ansi spark

Conceptual Level (cont…)The conceptual level supports each external view, in that any data available to a user must be contained in or derivable from the conceptual level.

However this level must not contain any storage-dependent details.

Page 11: Ansi spark

External and conceptual layers

Page 12: Ansi spark

Internal Level•The physical representation of the database on the computer. This level describes how the data is stored in the database.

•It covers the data structure and file organizations used to store data on storage devices.

Page 13: Ansi spark

Internal Level-IThe internal level is concerned:

Storage space allocation for data and indexes.Record descriptions for storage (with stored sizes for data items).Record placement.Data compression and data encryption techniques.

Page 14: Ansi spark

•Representation of data at different levels of data base Architecture and at the physical level at bottom.

Page 15: Ansi spark

Database SchemasThe overall description of the database is called the database schema.The schema is specified during the database design process and is not expected to change frequently.There are three different types of schema in the database. These are defined according to three level of architecture.

Page 16: Ansi spark

External SchemaAt the highest level we have multiple external schemas (also called subschemas) that correspond to different views of data.

Page 17: Ansi spark

Conceptual SchemaAt the conceptual level we have conceptual schema, which describe all the entities, attributes and relationships together with integrity constraints.

Page 18: Ansi spark

Internal SchemaAt lowest level we have internal schema which is the complete description of internal model.

Containing the definition of stored record, the methods of representation, the data fields and indexes or hashing scheme.

There is only one conceptual schema and one internal schema per database.

Page 19: Ansi spark

MappingsThe DBMS is responsible for mapping between these three types of schema.

It must also check schemas for consistency.

Each external schema is derivable from the conceptual schema and it must use the information in the conceptual schema to map between each external schema and the internal schema

Page 20: Ansi spark

Mappings-IThe conceptual schema related to the internal schema through a conceptual/internal mapping.

External schema is related to the conceptual schema by the external/conceptual mapping.

Physical level is managed by OS under direction of DBMS.Stored Record Interface B/w Int. & Physical Level, provided by OS to DBMS

Page 21: Ansi spark

Data IndependenceA major objective for three-level architecture is to provide data independence.Which means that upper levels are unaffected by changes to lower levels.Two kinds of data independence: (1)Logical Data Independence (2)Physical Data Independence

Page 22: Ansi spark

Logical Data IndependenceLogical data independence refers to the immunity (protection) of the external schemas to changes in the conceptual schema.

Changes to the conceptual schema such as the addition or removal of new entities, attributes or relationships should be possible without having to change existing external schemas or having rewrite the application programs.

Page 23: Ansi spark

Physical Data IndependencePhysical data independence refers to the immunity of the conceptual schema to changes in the internal schema.

Changes to the internal schema such as using different file organizations or storage structures, using different storage devices, modifying indexes or hashing algorithms should be possible without having to change the conceptual or external schema.

Page 24: Ansi spark

AppendixWe are specially thanks to………

MR.HIREN V MER

Lecturer

In computer dept,

Piet(ds) 2nd shift.

MR.BHARAT V CHAWDAAuthor of DBMS book

Page 25: Ansi spark

THANK YOU…..

25