Relational database oracle

jamunaashok 262 views 11 slides Nov 20, 2019
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

RELATIONAL DATABASES


Slide Content

RELATIONAL DATABASE
BY
S.JAMUNA
ASSISTANT PROFESSOR
DEPARTMENT OF COMPUTER APPLICATIONS
BON SECOURS COLLEGE FOR WOMEN
THANJAVUR

RELATIONAL DATABASE
•Arelationaldatabaseisatypeofdatabasethatstores
andprovidesaccesstodatapointsthatarerelatedto
oneanother.
•Relationaldatabasesarebasedontherelational
model,anintuitive,straightforwardwayof
representingdataintables.
•Inarelationaldatabase,eachrowinthetableisa
recordwithauniqueIDcalledthekey.
•Thecolumnsofthetableholdattributesofthedata,
andeachrecordusuallyhasavalueforeachattribute,
makingiteasytoestablishtherelationshipsamong
datapoints.

RELATIONAL DATABASE
WhatisRDBMS?
•RDBMSstandsforRelationalDatabaseManagementSystem.
•RDBMSisthebasisforSQL,andforallmoderndatabase
systemslikeMSSQLServer,IBMDB2,Oracle,MySQL,and
MicrosoftAccess.
•ARelationaldatabasemanagementsystem(RDBMS)isa
databasemanagementsystem(DBMS)thatisbasedonthe
relationalmodelasintroducedbyE.F.Codd.

RELATIONAL DATABASE
Relational database terms:
Tables
•ThedatainanRDBMSisstoredindatabase
objectswhicharecalledastables.Thistableis
basicallyacollectionofrelateddataentries
anditconsistsofnumerouscolumnsand
rows.

RELATIONAL DATABASE
Field:
•Everytableisbrokenupintosmallerentitiescalled
fields.ThefieldsintheCUSTOMERStableconsistof
ID,NAME,AGE,ADDRESSandSALARY.
•Afieldisacolumninatablethatisdesignedto
maintainspecificinformationabouteveryrecordin
thetable.

RELATIONAL DATABASE
RecordoraRow:
•Arecordisalsocalledasarowofdataiseach
individualentrythatexistsinatable.
Column:
•Acolumnisaverticalentityinatablethatcontains
allinformationassociatedwithaspecificfieldina
table.

RELATIONAL DATABASE
NULL value:
•ANULLvalueinatableisavalueinafieldthat
appearstobeblank,whichmeansafieldwithaNULL
valueisafieldwithnovalue.
•ItisveryimportanttounderstandthataNULLvalue
isdifferentthanazerovalueorafieldthatcontains
spaces.AfieldwithaNULLvalueistheonethathas
beenleftblankduringarecordcreation.

RELATIONAL DATABASE
ADVANTAGES & DISADVANTAGES
•Advantages:
1.Easeofuse:Therevisionofanyinformationastablesconsistingofrows
andcolumnsismucheasiertounderstand.
2.Flexibility:Differenttablesfromwhichinformationhastobelinkedand
extractedcanbeeasilymanipulatedbyoperatorssuchasprojectandjointo
giveinformationintheforminwhichitisdesired.
3.Precision:Theusageofrelationalalgebraandrelationalcalculusinthe
manipulationofherelationsbetweenthetablesensuresthatthereisno
ambiguity,whichmayotherwiseariseinestablishingthelinkagesina
complicatednetworktypedatabase.

RELATIONAL DATABASE
4.Security:Securitycontrolandauthorizationcanalsobeimplementedmore
easilybymovingsensitiveattributesinagiventableintoaseparaterelation
withitsownauthorizationcontrols.Ifauthorizationrequirementpermits,a
particularattributecouldbejoinedbackwithotherstoenablefull
informationretrieval.
5.DataIndependence:Dataindependenceisachievedmoreeasilywith
normalizationstructureusedinarelationaldatabasethaninthemore
complicatedtreeornetworkstructure.
6.DataManipulationLanguage:Thepossibilityofrespondingtoqueryby
meansofalanguagebasedonrelationalalgebraandrelationalcalculuse.g
SQLiseasyintherelationaldatabaseapproach.Fordataorganizedinother
structurethequerylanguageeitherbecomescomplexorextremelylimitedin
itscapabilities.

RELATIONAL DATABASE
•Disadvantages:
1.Performance:Amajorconstraintandthereforedisadvantageintheuseof
relationaldatabasesystemismachineperformance.Ifthenumberoftables
betweenwhichrelationshipstobeestablishedarelargeandthetables
themselveseffecttheperformanceinrespondingtothesqlqueries.
2.PhysicalStorageConsumption:Withaninteractivesystem,forexamplean
operationlikejoinwoulddependuponthephysicalstoragealso.Itis,
thereforecommoninrelationaldatabasestotunethedatabasesandinsuch
acasethephysicaldatalayoutwouldbechosensoastogivegood
performanceinthemostfrequentlyrunoperations.Itthereforewould
naturallyresultinthefactthatthelaysfrequentlyrunoperationswouldtend
tobecomeevenmoreshared.
3.Slowextractionofmeaningfromdata:ifthedataisnaturallyorganizedina
hierarchicalmannerandstoredassuch,thehierarchicalapproachmaygive
quickmeaningforthatdata.

THANK YOU