SlideShare une entreprise Scribd logo
1  sur  12
AnchorModeling An Agile Modeling Technique using the Sixth Normal Form for Structurally and Temporally Evolving Data Lars Rönnbäck[ER09]
2 “You can never step into the same river twice.”
Olle Regardt Lars Rönnbäck Maria Bergholtz PetiaWohed Paul Johannesson EVERYONE DW MDM EDW TDWI CC WWW KTH/SU DW ER09 DW 2008 2003 2004 2005 2006 2007 2009
Entity Relationship Modeling Sixth Normal Form Temporal Databases
ANCHORS KNOTS Gender CustomerClass HouseholdOwner VisitingFrequencyInterval Customer Store Purchase Item PriceList Inventory TIES Customer_Address Customer_Household Card_Customer CustomerDateOfBirth CustomerNumber CustomerName CustomerGender ATTRIBUTES
ANCHORS KNOTS select top 5 * from GEN_Gender select top 5 * from CU_Customer Attributes and ties come in fourflavors, historized or staticcombined with knotted ATTRIBUTES TIES select top 5 * from CUDOB_CustomerDateOfBirth select top 5* from CUHH_Customer_Household
Model Evolution 1 2 3 4 5 All previous versions of the schema are present and werenevermodified, allowing extensions to be made ”online”.
LatestView Point-in-TimeFunction Joins all attributes and finds the attributerow with the latestFromDateearlier or on the given timepointifhistorized Joins 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 Elimination The 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 selected the number of rows in the returned data set is not affected by the join with T Support Microsoft SQL Server Oracle IBM DB2 PostgreSQL MariaDB (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: ,[object Object]
For unknownindividuals

Contenu connexe

Tendances

Tendances (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
 
Native JSON Support in SQL2016
Native JSON Support in SQL2016Native JSON Support in SQL2016
Native JSON Support in SQL2016
 
XML Schema Part 2
XML Schema Part 2XML Schema Part 2
XML Schema Part 2
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML Document
 
Normalizing Data for Migrations
Normalizing Data for MigrationsNormalizing Data for Migrations
Normalizing Data for Migrations
 
XML Schema Part 1
XML Schema Part 1XML Schema Part 1
XML Schema Part 1
 
T-SQL Data Types (Quick Overview)
T-SQL Data Types (Quick Overview)T-SQL Data Types (Quick Overview)
T-SQL Data Types (Quick Overview)
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 

En vedette

Shubhasree
ShubhasreeShubhasree
Shubhasree
DYUTI
 
Xarxa social escola2.0
Xarxa social escola2.0Xarxa social escola2.0
Xarxa social escola2.0
Avel·lí
 
在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!
ykyr7850
 

En vedette (19)

yurkevich
yurkevichyurkevich
yurkevich
 
Se 2012-09 en
Se 2012-09 enSe 2012-09 en
Se 2012-09 en
 
Shubhasree
ShubhasreeShubhasree
Shubhasree
 
Math Project
Math ProjectMath Project
Math Project
 
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
 
Researches
Researches Researches
Researches
 
Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix-Comvenient Acquisition 3-31-11Verimatrix-Comvenient Acquisition 3-31-11
Verimatrix-Comvenient Acquisition 3-31-11
 
Обзор систем веб аналитики
Обзор систем веб аналитикиОбзор систем веб аналитики
Обзор систем веб аналитики
 
American icons
American iconsAmerican icons
American icons
 
sytay
sytaysytay
sytay
 
Xarxa social escola2.0
Xarxa social escola2.0Xarxa social escola2.0
Xarxa social escola2.0
 
macromarketing
macromarketingmacromarketing
macromarketing
 
Taller fusta
Taller fustaTaller fusta
Taller fusta
 
Coast Capabilities
Coast CapabilitiesCoast Capabilities
Coast Capabilities
 
Мониторинг рынка плоского стекла
Мониторинг рынка плоского стеклаМониторинг рынка плоского стекла
Мониторинг рынка плоского стекла
 
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
Исследование рынка вспенивающегося полистирола EPS, Январь-март 2012
 
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
 
Доповідачі
ДоповідачіДоповідачі
Доповідачі
 
在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!在歐洲坐火車搭輪船!
在歐洲坐火車搭輪船!
 

Similaire à Anchor Modeling ER09 Presentation

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
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9
google
 
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
 

Similaire à Anchor Modeling ER09 Presentation (20)

Anchor Modeling ER09 Presentation
Anchor Modeling ER09 PresentationAnchor Modeling ER09 Presentation
Anchor Modeling ER09 Presentation
 
Anchor Modeling
Anchor ModelingAnchor Modeling
Anchor Modeling
 
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
 
PO WER - Piotr Mariat - Sql
PO WER - Piotr Mariat - SqlPO WER - Piotr Mariat - Sql
PO WER - Piotr Mariat - Sql
 
Data Access Tech Ed India
Data Access   Tech Ed IndiaData Access   Tech Ed India
Data Access Tech Ed India
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Module02
Module02Module02
Module02
 
Nosql
NosqlNosql
Nosql
 
Nosql
NosqlNosql
Nosql
 
Intro
IntroIntro
Intro
 
Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)
 
EclipseCon 2021 NoSQL Endgame
EclipseCon 2021 NoSQL EndgameEclipseCon 2021 NoSQL Endgame
EclipseCon 2021 NoSQL Endgame
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9
 
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
 
Poles position
Poles positionPoles position
Poles position
 
Introducing U-SQL (SQLPASS 2016)
Introducing U-SQL (SQLPASS 2016)Introducing U-SQL (SQLPASS 2016)
Introducing U-SQL (SQLPASS 2016)
 
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
 
SQL200.1 Module 1
SQL200.1 Module 1SQL200.1 Module 1
SQL200.1 Module 1
 

Anchor Modeling ER09 Presentation

  • 1. AnchorModeling An Agile Modeling Technique using the Sixth Normal Form for Structurally and Temporally Evolving Data Lars Rönnbäck[ER09]
  • 2. 2 “You can never step into the same river twice.”
  • 3. Olle Regardt Lars Rönnbäck Maria Bergholtz PetiaWohed Paul Johannesson EVERYONE DW MDM EDW TDWI CC WWW KTH/SU DW ER09 DW 2008 2003 2004 2005 2006 2007 2009
  • 4. Entity Relationship Modeling Sixth Normal Form Temporal Databases
  • 5. ANCHORS KNOTS Gender CustomerClass HouseholdOwner VisitingFrequencyInterval Customer Store Purchase Item PriceList Inventory TIES Customer_Address Customer_Household Card_Customer CustomerDateOfBirth CustomerNumber CustomerName CustomerGender ATTRIBUTES
  • 6. ANCHORS KNOTS select top 5 * from GEN_Gender select top 5 * from CU_Customer Attributes and ties come in fourflavors, historized or staticcombined with knotted ATTRIBUTES TIES select top 5 * from CUDOB_CustomerDateOfBirth select top 5* from CUHH_Customer_Household
  • 7. Model Evolution 1 2 3 4 5 All previous versions of the schema are present and werenevermodified, allowing extensions to be made ”online”.
  • 8. LatestView Point-in-TimeFunction Joins all attributes and finds the attributerow with the latestFromDateearlier or on the given timepointifhistorized Joins all attributes and finds the attributerow with the latestFromDateifhistorized
  • 9. 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.
  • 10. Table Elimination The 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 selected the number of rows in the returned data set is not affected by the join with T Support Microsoft SQL Server Oracle IBM DB2 PostgreSQL MariaDB (fork of MySQL) Teradata (partial)
  • 11.
  • 14.
  • 15. If this is a delta file, directlyinsert data into all relevant tables
  • 16. If this is not a delta file, check if the value in the sourcediffers from the latestvalue in the destination and insertif the data is new(fewtablesexcluding the anchor) Data loadingtemplatescan be made in whichonly the names of the tables and the join with the natural key have to be changed.
  • 17. Ease of Modeling Simple concepts and notation Historization by design Iterative and incrementaldevelopment Reducedtranslationlogic SimplifiedMaintenance Ease of temporal querying Absence of null values Reusability and automation Asynchronous arrival of data High Performance High run-time performance Efficientstorage Parallelized physical media access www.anchormodeling.com