ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
AnchorModelingAn Agile Modeling Technique using the Sixth Normal Form for Structurally and Temporally Evolving DataLars R?nnb?ck[ER09]
2¡°You can never stepinto the same rivertwice.¡±
OlleRegardtLarsR?nnb?ckMariaBergholtzPetiaWohedPaulJohannessonEVERYONEDWMDMEDWTDWICCWWWKTH/SUDWER09DW2008200320042005200620072009
EntityRelationshipModelingSixthNormalFormTemporalDatabases
ANCHORSKNOTSGenderCustomerClassHouseholdOwnerVisitingFrequencyIntervalCustomerStorePurchaseItemPriceListInventoryTIESCustomer_AddressCustomer_HouseholdCard_CustomerCustomerDateOfBirthCustomerNumberCustomerNameCustomerGenderATTRIBUTES
ANCHORSKNOTSselect top 5 * from GEN_Genderselect top 5 * from CU_CustomerAttributes and ties come in fourflavors, historized or staticcombined with knottedATTRIBUTESTIESselect top 5 * from CUDOB_CustomerDateOfBirthselect top 5* from CUHH_Customer_Household
Model Evolution12345All previous versions of the schema are present and werenevermodified, allowing extensions to be made ¡±online¡±.
LatestViewPoint-in-TimeFunctionJoins all attributes and finds the attributerow with the latestFromDateearlier or on the given timepointifhistorizedJoins all attributes and finds the attributerow with the latestFromDateifhistorized
The queryexecution plan shows that onlytwotables are touched (the anchor and the selectedattribute)despite of the fact that severalothers are joinedinto the viewwe are using.
Table EliminationThe query optimizer will remove table T from the execution plan of a query if the following two conditions are fulfilled: no column from T is explicitly selectedthe number of rows in the returned data set is not affected by the join with TSupportMicrosoft SQL ServerOracleIBM DB2PostgreSQLMariaDB (fork of MySQL)Teradata (partial)
The scripts for setting up the database, including all views and functions, can be automaticallygenerated from a compact XML description.Pseudoloadingcode given ¡±wide¡± source data:Check iftherealready is an associatedsurrogate key for eachnatural key
For unknownindividuals

More Related Content

Anchor Modeling ER09 Presentation