SlideShare 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
Ad

More Related Content

What's hot (8)

SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2
SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2
SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2
John F. Holliday
 
Native JSON Support in SQL2016
Native JSON Support in SQL2016Native JSON Support in SQL2016
Native JSON Support in SQL2016
Ivo Andreev
 
XML Schema Part 2
XML Schema Part 2XML Schema Part 2
XML Schema Part 2
Dudy Ali
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML Document
Dudy Ali
 
Normalizing Data for Migrations
Normalizing Data for MigrationsNormalizing Data for Migrations
Normalizing Data for Migrations
Kyle Banerjee
 
XML Schema Part 1
XML Schema Part 1XML Schema Part 1
XML Schema Part 1
Dudy Ali
 
T-SQL Data Types (Quick Overview)
T-SQL Data Types (Quick Overview)T-SQL Data Types (Quick Overview)
T-SQL Data Types (Quick Overview)
Naji El Kotob
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Knoldus Inc.
 
SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2
SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2
SPEVO13 - Dev213 - Document Assembly Deep Dive Part 2
John F. Holliday
 
Native JSON Support in SQL2016
Native JSON Support in SQL2016Native JSON Support in SQL2016
Native JSON Support in SQL2016
Ivo Andreev
 
XML Schema Part 2
XML Schema Part 2XML Schema Part 2
XML Schema Part 2
Dudy Ali
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML Document
Dudy Ali
 
Normalizing Data for Migrations
Normalizing Data for MigrationsNormalizing Data for Migrations
Normalizing Data for Migrations
Kyle Banerjee
 
XML Schema Part 1
XML Schema Part 1XML Schema Part 1
XML Schema Part 1
Dudy Ali
 
T-SQL Data Types (Quick Overview)
T-SQL Data Types (Quick Overview)T-SQL Data Types (Quick Overview)
T-SQL Data Types (Quick Overview)
Naji El Kotob
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Knoldus Inc.
 

Viewers also liked (19)

Se 2012-09 en
Se 2012-09 enSe 2012-09 en
Se 2012-09 en
Agency of Industrial Marketing
 
Shubhasree
ShubhasreeShubhasree
Shubhasree
DYUTI
 
Math Project
Math ProjectMath Project
Math Project
clayisabeast
 
Revenue in America : Scaling businesses in the US
Revenue in America:  Scaling businesses in the USRevenue in America:  Scaling businesses in the US
Revenue in America : Scaling businesses in the US
Vision & Execution, Inc.
 
Researches
Researches Researches
Researches
Technoshine
 
Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix-Comvenient Acquisition 3-31-11Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix
 
American icons
American iconsAmerican icons
American icons
nsoliveira1971
 
Xarxa social escola2.0
Xarxa social escola2.0Xarxa social escola2.0
Xarxa social escola2.0
Avel·lí
 
Taller fusta
Taller fustaTaller fusta
Taller fusta
Avel·lí
 
Coast Capabilities
Coast CapabilitiesCoast Capabilities
Coast Capabilities
Elvie_Hernandez
 
Мониторинг рынка плоского стекла
Мониторинг рынка плоского стеклаМониторинг рынка плоского стекла
Мониторинг рынка плоского стекла
Agency of Industrial Marketing
 
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Agency of Industrial Marketing
 
Augmented reality in_flash_tran_trong_thanh
Augmented reality in_flash_tran_trong_thanhAugmented reality in_flash_tran_trong_thanh
Augmented reality in_flash_tran_trong_thanh
Tra Dang Meo Gay
 
Доповідачі
ДоповідачіДоповідачі
Доповідачі
Agency of Industrial Marketing
 
在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!
ykyr7850
 
Shubhasree
ShubhasreeShubhasree
Shubhasree
DYUTI
 
Revenue in America : Scaling businesses in the US
Revenue in America:  Scaling businesses in the USRevenue in America:  Scaling businesses in the US
Revenue in America : Scaling businesses in the US
Vision & Execution, Inc.
 
Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix-Comvenient Acquisition 3-31-11Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix
 
Xarxa social escola2.0
Xarxa social escola2.0Xarxa social escola2.0
Xarxa social escola2.0
Avel·lí
 
Taller fusta
Taller fustaTaller fusta
Taller fusta
Avel·lí
 
Мониторинг рынка плоского стекла
Мониторинг рынка плоского стеклаМониторинг рынка плоского стекла
Мониторинг рынка плоского стекла
Agency of Industrial Marketing
 
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Agency of Industrial Marketing
 
Augmented reality in_flash_tran_trong_thanh
Augmented reality in_flash_tran_trong_thanhAugmented reality in_flash_tran_trong_thanh
Augmented reality in_flash_tran_trong_thanh
Tra Dang Meo Gay
 
在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!
ykyr7850
 
Ad

Similar to Anchor Modeling ER09 Presentation (20)

Anchor Modeling ER09 Presentation
Anchor Modeling ER09 PresentationAnchor Modeling ER09 Presentation
Anchor Modeling ER09 Presentation
pajo01
 
Anchor Modeling
Anchor ModelingAnchor Modeling
Anchor Modeling
Department of Computer and Systems Sciences
 
CA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User PresentationCA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User Presentation
CA RMDM Latam
 
PO WER - Piotr Mariat - Sql
PO WER - Piotr Mariat - SqlPO WER - Piotr Mariat - Sql
PO WER - Piotr Mariat - Sql
Zespół Szkół nr 26
 
Data Access Tech Ed India
Data Access   Tech Ed IndiaData Access   Tech Ed India
Data Access Tech Ed India
rsnarayanan
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
Achmad Solichin
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
Achmad Solichin
 
Module02
Module02Module02
Module02
Sridhar P
 
Nosql
NosqlNosql
Nosql
Roxana Tadayon
 
Nosql
NosqlNosql
Nosql
ROXTAD71
 
Intro
IntroIntro
Intro
Sudharsan S
 
Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)
Ravi Okade
 
EclipseCon 2021 NoSQL Endgame
EclipseCon 2021 NoSQL EndgameEclipseCon 2021 NoSQL Endgame
EclipseCon 2021 NoSQL Endgame
Thodoris Bais
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
Ahmed Elbaz
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9
google
 
HPD SQL Training - Beginner - 20220916.pptx
HPD SQL Training - Beginner - 20220916.pptxHPD SQL Training - Beginner - 20220916.pptx
HPD SQL Training - Beginner - 20220916.pptx
PatriceRochon1
 
Syntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service ArchitecturesSyntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service Architectures
Martin Szomszor
 
Poles position
Poles positionPoles position
Poles position
Davide Moraschi
 
Introducing U-SQL (SQLPASS 2016)
Introducing U-SQL (SQLPASS 2016)Introducing U-SQL (SQLPASS 2016)
Introducing U-SQL (SQLPASS 2016)
Michael Rys
 
Defense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMsDefense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMs
Vanessa Hurst
 
Anchor Modeling ER09 Presentation
Anchor Modeling ER09 PresentationAnchor Modeling ER09 Presentation
Anchor Modeling ER09 Presentation
pajo01
 
CA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User PresentationCA ERwin Data Modeler End User Presentation
CA ERwin Data Modeler End User Presentation
CA RMDM Latam
 
Data Access Tech Ed India
Data Access   Tech Ed IndiaData Access   Tech Ed India
Data Access Tech Ed India
rsnarayanan
 
Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)
Ravi Okade
 
EclipseCon 2021 NoSQL Endgame
EclipseCon 2021 NoSQL EndgameEclipseCon 2021 NoSQL Endgame
EclipseCon 2021 NoSQL Endgame
Thodoris Bais
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9
google
 
HPD SQL Training - Beginner - 20220916.pptx
HPD SQL Training - Beginner - 20220916.pptxHPD SQL Training - Beginner - 20220916.pptx
HPD SQL Training - Beginner - 20220916.pptx
PatriceRochon1
 
Syntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service ArchitecturesSyntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service Architectures
Martin Szomszor
 
Introducing U-SQL (SQLPASS 2016)
Introducing U-SQL (SQLPASS 2016)Introducing U-SQL (SQLPASS 2016)
Introducing U-SQL (SQLPASS 2016)
Michael Rys
 
Defense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMsDefense Against the Dark Arts: Protecting Your Data from ORMs
Defense Against the Dark Arts: Protecting Your Data from ORMs
Vanessa Hurst
 
Ad

Anchor Modeling ER09 Presentation