对据库管理系统选择理由与应用需求.pptx

对据库管理系统选择理由与应用需求.pptx

OutlineIntroductionBackgroundDistributedDatabaseDesignDatabaseIntegrationSemanticDataControlDistributedQueryProcessingMultimediaQueryProcessingDistributedTransactionManagementDataReplicationParallelDatabaseSystemsDistributedObjectDBMSObjectModelsObjectDistributionPeer-to-PeerDataManagementWebDataManagementCurrentIssues

WhyObjectDBMSSomeapplicationsrequirestorageandmanagementofabstractdatatypes(e.g.,images,designdocuments)?richtypesystemsupportinguser-definedabstracttypes;needtoexplicitlyrepresentcompositeandcomplexobjectswithoutmappingtoflatrelationalmodel;needmorepowerfullanguageswithouttheimpedancemismatch.

FundamentalConceptsObjectAnentityinthesystemthatisbeingmodeled.OID,state,interfaceOID:objectidentifierImmutableStateAtomicorconstructedvalueAtomicvaluesareinstancevariables(orattributes)ConstructedvaluescanbesetortupleInterfaceStateandbehaviourBehaviorcapturedbymethodsObjectstatesmaychange,butOIDremainsidentical

FundamentalConcepts(cont’d)TypeDomainofobjectsClassTemplateforagroupofobjectsdefiningacommontypethatconformstothetemplateExampletypeCarattributesengine:Enginebumbers:{Bumper}tires:[lf:Tire,rf:Tire,lr:Tire,rr:Tire]make:Manufacturermodel:Stringyear:Dateserial_no:Stringcapacity:Integermethodsage:RealreplaceTire(place,tire)

FundamentalConcepts(cont’d)Composition(aggregation)Compositetype(Car)andcompositeobjectAllowsreferentialsharing–objectsrefertoeachotherbytheirOIDsasvaluesofobject-basedvariablesCompositionrelationshipscanberepresentedbycomposition(aggregation)graphSubclassingandinheritanceSubclassingisbasedonspecialization:classAisaspecializationofclassBifA’sinterfaceisasupersetofB’sinterface.Inheritance:resultofsubclassing–classA’spropertiesconsistofwhatisdefinedforitaswellastheproperti

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档