0% found this document useful (0 votes)
2 views14 pages

DBMS Assignment 1

The document discusses the three-schema architecture of a Database Management System (DBMS), which includes external, conceptual, and internal levels to separate application use from physical data storage. It explains data independence, detailing logical and physical data independence, and outlines different DBMS architectures such as 1-tier, 2-tier, and 3-tier systems. Additionally, it covers concepts of generalization and specialization in database modeling.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views14 pages

DBMS Assignment 1

The document discusses the three-schema architecture of a Database Management System (DBMS), which includes external, conceptual, and internal levels to separate application use from physical data storage. It explains data independence, detailing logical and physical data independence, and outlines different DBMS architectures such as 1-tier, 2-tier, and 3-tier systems. Additionally, it covers concepts of generalization and specialization in database modeling.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

DBMS LTCE

Asigameoti
Q3Descahe Hhe ovexall aychitecfuye o D8MS with
saitable diagrtm
Three schema Axchitecture
|he three na axchitectuse
hena axchitectuse is also aled ANsI /sPARC
axchitecture o hiee-leel aschitgcu This Rroameonk is
ased to desehe the shactare ?a speahe databes systen.
-The hree schema axchiedue is also used to sepsrate,
he use at applcakons and phusica I dotabust
Ihe thrce schema architecturecon tains thyee -leelg It
oztgks the data'oase don into thyee dierent ateyores.

Exterocl |ExtanaL esc Etenal Level


Schema,
Etema l/conceptaa
Mappiny
Coneptagl Schema Cancegtual Level
Coecepkal/Intemal
tMapping
ItenaLshema Intenal Level

Data hase

Joternal Leve l
-he interal level has àn ienal shemg bich daoi bes
the physlcal sfonage stsuctae of th dolebae..
database.
LTCE

The intexral schemma ib dls Raoo as a physial schema.


CUSes the
Complex loco -leve! data stracture in te deteil.

Concegtual Level
- he toncephua schome desoibes
Jatabage at the Concepta level. Con cepual
evelis als kaoon ogtcal leel
Thecoeptal schema descibes the
hehole atoheuse
Tho Coneeptal leueldesatbes hat data are ta he
datdbcye and also desc lbes ahat
elatiooship exist
exists onghose
among data.
lh he oncepiaal leveliaternal deteile
imalenentation the data structur Qre en

- Pyogrqm and JotabesR adninistrators oak dt this


Aevel.
Exteroal Level
At Ahe etenal level adatalbare contains Schermas that
3om etimes Called Subschema. (he sub schema is used
to descibe the dillerent vieo of the databas
- An exteal schemais also Knocon as viecoSchema
-Each yieo 5cherna descaibes he date
paticalax ASer is intexested
bosepast hat
and tdeke hde
Fhe remaining database Pom he csesgro«p.
Thevieaw schema dexdibes he end ser
Usex intercchon
coith datalbase systen
LTCE

Data Iodependence hyee


Date tadtpenden t be explaintd using the
Schema aYchi ecluse

Data indepeod ence xeers chexacterisic being


the sch erna atone level of ho datloase
Lsterm caithout alteaiag ne shema at ret big be.level

Exeraal level
Loglcal Dafa Jrdepordence
logical level
phyical oata Independence
Phgsical Lavel

sfoe datae
Th¹xe ere tuso tapes l dota independencei
3. Logical Data Tndeprdene
-Loglcal data indaptndence elezes o e Capmaty too change he
conseptul Clogtca)schama caittout haning to chonge the
exteraal sehema
ELo_ic Aake independence is acd fo cpaate tte etenel
4he con Ctpteal vieco.
I coe do any change Cocepluql visieroaf dataytha
in tho concepBual
fected
-logical data indepeodeare the
level
LICE

2 Ahysical Dota Jnd-ependenc e


- phgsicul Independa ne cen be defined as the
dater
upacty 4o chdng the intesnal Cohystca) schema csidhoct
hauing to change the coceptual schema.
cue do any ehungeS in the Sturug Sze ot he date
base sste vn then the conceptet styuctuye
6 thodatet bare wll no be etfected.
Phyicaldata independeace is sed to separette
coneephea levels the inteyrel leveke
-Phgsica dato inde pendence Occa s af Logica ( intefce
Aevcl

ho nterfecebet
betwegn the various evels and
cOmponents shodlc! o u e l l deined So thct changes
paztsonot sezioly intluence othexs

DaBabage Aachtecture
The architecture of the systen is gener qietty infkencs
by the underlying compater System on Jhich tho
data base is nunning
Centealized
Client-Seyver
Paralel Cnalti-protesos)
Distaibated.

DBNMS Axchiteetut

Achtcue
-4ier 2-tíeY
3-+ieY
Arehitecture
Architecture Are hitectare
LTCE

A- 4iex Aachitecure
- In this anchitectur
Ia the dotoabare is diecy averlahle
nearnS the diectu sit on
to ne use
DBnS and
changes done hereoill disecly ce be doneantto
doesn t provido a handy toolf end

USexs
1-Ticr archircture used Pos develop ment_of he
-The
paoytamnes Jiaectl comwmyncete
loral apphca ion, hee
eith he dchelbase

2-Tiex Avchitetre basc- client -


The 2Tit achtectue
a2chiiectne s same s
architectene applicctr'on on
2-TieL
he doate bese
client end Caa directy Campmunicate.
at he SeYve gide ox Jhs inter acton AP I'S 1ike
used

Dalabar Sgstem Servey

Aglaati on Client
User
LTCE 8

3-Ticr Arehitectuye
"The-3Tier anthitectet Contuin g orothe layei betcreon
client ard SerVeY Inhit dchitectqne,ient can'+
dicectly commgnicate coth he seyveY

The appliccthon he client end in te ract oith an


appicaticor Sexvey uthe eomncuniccteth

End uer ho ideg about the Cxis tence et he dotto beue


heyand the qplicatiao Server he datot baue aso hs no idea
about other begond applicatin
The 3- Tic: achiteture is Qjed ue of krg web
applicato
DaBu bare
Seve
Boglicatyn Seryey

Boplica tfog client


Clieot
Qsex
unsgctioo ion tugnsa
fos Safpor Complicat
NoS. implemt to Easy S.
heap
Donrhip
1S
Cost Total
ehecpex
tem1AS on
BRedundency iSsues
and xedundane)
ond Remove
larql Gnd 3
System DBANS
ller Imited
to only ll2.J4
is sme for need he a2.||Desigo
acess
support not It J. MaHi-user 1|
Sytem FAle does SystemaccesS Dala
system data 2
System betwee0 bet
e Q2Dienntiate
LTCE
LTCE

Q3Consider o Ailine Nste m, Dreo F-f dogiam


Asseine Satable dota.
mobile no,)
Jser name ith
rst nemp
Name book
ast-name
CGendex
Use Addyess
shatepincce

cheRs

ieket n0 Seat no.


sttnato M

Flig Desttoathio Ticket elass


M Date& Time
Seat antlable anne Patee passegesname

dass secion TP

Class, Cas tyee Belong <Rceive


to
Lusgayt allowane

Launge Acess Payegent


Pyment Trarsaction IP)
Amount
Afine
Cirline.nam Contact no
LTCE

gtnesaizalion 5peciali2etion in ££R model


"Genexali zatign
LGentxalizaton like botom-up appy coe h ahich tuwu
ectities ine
comoine o form ahig her
lesel cntty dhey hae Some adtibutes

-geresalizhon, entity highey level Un alko


enditics of the euel to fom
fovthe hig hex level entity
Combiined
Ba Genevali zaoo ,enhties aye
comhine to make
generalized entity ie.. salbcla sses
Sapaclas.
ex Faealts and atadent entties gene yali 2d end
Create ahighes lerel enhhy person

person

Facalty Studant
LICE3

Speialization
Specidlizahisn is q topdoon approsch, and it is opposite
to Geaealization. Ia specialization, one highex level eity ean
be broken etities

Ahe Subget o an etity set


dhat shaes Some distinguishing ahozaclex (scics

Fos examnle In Enplaee menegtment System


EMploEE entity cua be specidlieo as TESTER oY
OEVELDPER bas ed what nole they play n the
compny

Employee

Testes Deelope
LTCE

icto gelticnal moclel

User HOseKmooile no.


checkfor Usexname Username
rst name molbile -no.
Last na me
Date o Kirth
Geadex Ticket
cit Ticket
State Seat no.
Rincode Date Time
Fliaht Passenger name

Flight o. Price
|Fight oame Destinalion
Anival time
Destiaaion
ISeat avala ble Aixline Re ceive
laelongs to Atrliae namp
bas Contact number

Cass Payment
class ection I Iransaction Ip
class tyoe Amount
Lggage allowane aymeat mode
Lounge Access.
LICE

OSEcain
QsExpai the ollooiny nelational algebrc opation with
orajecti The Projet optctox is sed to select speci dsglay.
speike columa
denched by t
example
Enplayee
Emp IO Name Deportment Salaxy
Aice HR SO000
2 Bob IT 60000
3
chaie HR
David Finance 70 0oo

To diseay the hame Departneot

lAane sDepaxtneat Employee


Name Oepurt meat
Alice HR
Bol, IT
chaxlie HR
Dauid

Sdect
The Select
operato IS usec for seleching
tup tuples Qcoxding ts a given Selecion condtfion
LTCE

Sxamo: sBadegt
Name Branch
9203 Ankit
2033 Vday
3129 Pyavin
|L70 Smiti CIVIL

Branche CIVIL (3tudent

Shudent TO Name Branch


|170 miti CIVIL

Unioni Union opeacitioo combine the ucl nes c


Table ii Table2 byOy enoving duplite OnES.

Roy erumple
Table d
Tersey Ceouies
R Shauma 7
31 6
S Tendelkar 6

KSanaakkaxa 5

Table 2:
Jexsty. no. Nome
10 STendulKax 2278
VKohli |795
R Ponting 1743

45 A Shar ma 1575
LICE

Igesyno
Terseyno, Name (Table) UItersey no, Nome CTable2)

Nome
R Shasma
31
D Warner
10 S Tendalka

R_ponting
a. Cartesion producti The urtesiah poduct beteon teoo veloelions
R andR2 consss ol all hepasb pos blo combioation e RI

Name Positiaa Teomoe


Batsman
Mshami Bosler
R2
Team Auction Pice
RCB 15.C
GT 6 C
Rd XR2
Name Position Team Auchion Rr'ce
Ba tsman RGB 15 Cr
VKobli Batsman
Mshami Bowler RCB 15 C
|M shami Bowler GT 6Cr

You might also like