Sie sind auf Seite 1von 24

Matakuliah : T0206-Sistem Basisdata

Tahun : 2005
Versi : 1.0/0.0

1
Pada akhir pertemuan ini, diharapkan
mahasiswa
akan dapat menjelaskan semua aspek dalam
lingkungan basisdata

2
Purposeofthreeleveldatabasearchitecture.
Contentsofexternal,conceptual,andinternallevels.
Purposeofexternal/conceptualandconceptual/internal
mappings.

3
Allusersshouldbeabletoaccesssamedata.

Ausersviewisimmunetochangesmadeinother
views.

Usersshouldnotneedtoknowphysicaldatabase
storagedetails.

4
DBAshouldbeabletochangedatabasestorage
structureswithoutaffectingtheusersviews.
Internalstructureofdatabaseshouldbeunaffected
bychangestophysicalaspectsofstorage.
DBAshouldbeabletochangeconceptualstructure
ofdatabasewithoutaffectingallusers.

5
6
ExternalLevel
Usersviewofthedatabase.
Describesthatpartofdatabasethatisrelevanttoa
particularuser.

ConceptualLevel
Communityviewofthedatabase.
Describeswhatdataisstoredindatabaseand
relationshipsamongthedata.

7
InternalLevel
Physicalrepresentationofthedatabaseonthe
computer.
Describeshowthedataisstoredinthedatabase.

8
9
LogicalDataIndependence
Referstoimmunityofexternalschemastochanges
inconceptualschema.
Conceptualschemachanges(e.g.addition/removalof
entities).
Shouldnotrequirechangestoexternalschemaor
rewritesofapplicationprograms.

10
PhysicalDataIndependence
Referstoimmunityofconceptualschematochanges
intheinternalschema.
Internalschemachanges(e.g.usingdifferentfile
organizations,storagestructures/devices).
Shouldnotrequirechangetoconceptualorexternal
schemas.

11
12
DataDefinitionLanguage(DDL)
AllowstheDBAorusertodescribeandname
entities,attributes,andrelationshipsrequiredfor
theapplication
plusanyassociatedintegrityandsecurity
constraints.

13
DataManipulationLanguage(DML)
Providesbasicdatamanipulationoperationsondata
heldinthedatabase.
ProceduralDML
allowsusertotellsystemexactlyhowtomanipulate
data.
NonProceduralDML
allowsusertostatewhatdataisneededratherthan
howitistoberetrieved.

14
Integratedcollectionofconceptsfordescribing
data,relationshipsbetweendata,andconstraints
onthedatainanorganization.

DataModelcomprises:
astructuralpart;
amanipulativepart;
possiblyasetofintegrityrules.

15
Purpose
Torepresentdatainanunderstandableway.

Categoriesofdatamodelsinclude:
Objectbased
Recordbased
Physical.

16
ObjectBasedDataModels
EntityRelationship
Semantic
Functional
ObjectOriented.
RecordBasedDataModels
RelationalDataModel
NetworkDataModel
HierarchicalDataModel.
PhysicalDataModels

17
Conceptualschemaisthecoreofasystem
supportingalluserviews.
Shouldbecompleteandaccuraterepresentationof
anorganizationsdatarequirements.

Conceptualmodelingisprocessofdevelopinga
modelofinformationusethatisindependentof
implementationdetails.
Resultisaconceptualdatamodel.

18
DataStorage,Retrieval,andUpdate.

AUserAccessibleCatalog.

TransactionSupport.

ConcurrencyControlServices.

RecoveryServices.

19
20
21
Create database
Drop Database
Create table
Drop table
Insert
retrieve / search
update
Delete

22
23
Entity
Table
Attribute
Tuple/record
Foreign key
Primary key
Relation
Degree
cardinality

24

Das könnte Ihnen auch gefallen