SlideShare a Scribd company logo
1 of 10
Download to read offline
PG Day, Horwood House, July 9th 2014
(Why you should) Get Modelling!
George McGeachie
Metadata Matters Limited
PG Day, Horwood House, July 9th 2014
It’s a lot more than just a Diagram
2
What is a Data Model?
PG Day, Horwood House, July 9th 2014 3
Simon and Hannu
say …
Page 59
• Plan a new database
◦ Design structure and estimate size
 A data modelling tool is perfect for that job
• This is an iterative process
◦ Need version control and ability to apply deltas
PG Day, Horwood House, July 9th 2014
 Migrate from Oracle to
PostgreSQL
 Reverse-engineer from
database, WSDL, XSDs etc.
 create logical and
conceptual views
 Generate XML Schemas
4
Automate tasks
PG Day, Horwood House, July 9th 2014
 Use standard and bespoke
model checks to validate
models
 Enforce naming standards
using a Glossary
 Use your default physical
options
 Create / update your database
 Produce scripts the way you
want them, avoid errors
caused by editing scripts
5
Validate and Generate
PG Day, Horwood House, July 9th 2014 6
Model and Generate OLAP
FK_MONTH_RELATIONS_YEAR
FK_BOOK_SAL_RELATIONS_MONTH
FK_BOOK_SAL_RELATIONS_PUBLICAT
Publication
Book Title
Publication Media Type Code
Publication Date
Dollar List Price
ISBN
Page Count
Primary Author Name
Primary Author Pseudonym
Primary Author Royalty Percent
age
CHAR(100)
NUMBER(2)
DATE
NUMBER(5,2)
NUMBER(13)
NUMBER(4)
CHAR(100)
CHAR(100)
NUMBER(2)
<pk>
<pk>
<i>
<i>
not null
not null
null
not null
not null
null
not null
null
null
Book Sales
Year Code
Month Code
Book Title
Publication Media Type Code
Gross Sales Value Amount
NUMBER(2)
NUMBER(2)
CHAR(100)
NUMBER(2)
NUMBER(5,2)
<pk,fk1>
<pk,fk1>
<pk,fk2>
<pk,fk2>
<i1,i2>
<i1,i2>
<i1,i3>
<i1,i3>
not null
not null
not null
not null
not null
Month
Year Code
Month Code
Month Description
CHAR(60)
CHAR(60)
CHAR(256)
<pk,fk>
<pk>
<i1,i2>
<i1>
not null
not null
null
Year
Year Code
Year Description
CHAR(60)
CHAR(256)
<pk> <i> not null
not null
Book Sales - Year_Month
Book Sales - Publication
Measure
Book Sales
Gross Sales Value Amount
Year Code
Month Code
Book Title
Publication Media Type Code
Year_Month
Year Year Code
Year Description
Month Year Code
Month Code
Month Description
<h:1>
<h:2>
<h:3>
Hierarchy_1 <Default> <h>
Publication
Book Title
Publication Media Type Code
Publication Date
Dollar List Price
ISBN
Page Count
Primary Author Name
Primary Author Pseudonym
Primary Author Royalty Percentage
<h:1>
<h:2>
Hierarchy_1 <Default> <h>
Attributes
Hierarchy
PG Day, Horwood House, July 9th 2014 7
Simon and Hannu
say …
Page 53
• Understand Database
Dependencies
◦ e.g. Table  View  Procedure
PG Day, Horwood House, July 9th 2014
 ETL Jobs
 Forms and Reports
 Applications
 XML Message Schemas
 Regulatory Requirements
 Business Processes
 Use Cases
 JIRA tickets
etc.
8
What about dependencies that
aren’t in your database?
Application
produce
use use
use
use
use
produce
<Undefined>
use
Behind the scenes,
Data objects are being
accessed
Databases are linked to the Physical Data Models that
describe them
Report
Database 1
PostgreSQL
Data Warehouse
Database 2
Teradata
Data Mart
ETL or other Data Movement
Windows Screen
Window form
Web Form
Web form
PG Day, Horwood House, July 9th 2014
 Map data movements, generate data
movement scripts, ETL scripts, replication
scripts etc
9
Create Mappings
Marts
ice ss pdm
Post Codes
Lookup
EDW
EDW_PDM
OLTP
PDM
OLTP to EDW EDW to Marts
PG Day, Horwood House, July 9th 2014 10
Get Modelling!
Build a database of your database metadata, and join the dots to other stuff
What Tools are there?
The big 3
ERwin, ER/Studio, PowerDesigner
Others
Dezign
Sparx EA
ModelRight
Silverrun
IBM Infosphere Data Architect
Toad Data Modeller
might not all support PG

More Related Content

Similar to Lightning talk at UK PG Day, 2014 - Get Modelling!

Frank Bien Opening Keynote - Join 2016
Frank Bien Opening Keynote - Join 2016Frank Bien Opening Keynote - Join 2016
Frank Bien Opening Keynote - Join 2016Looker
 
You Don't Know SEO
You Don't Know SEOYou Don't Know SEO
You Don't Know SEOMichael King
 
Data Profiling: The First Step to Big Data Quality
Data Profiling: The First Step to Big Data QualityData Profiling: The First Step to Big Data Quality
Data Profiling: The First Step to Big Data QualityPrecisely
 
Join 2017_Deep Dive_Integrating Looker with R and Python
Join 2017_Deep Dive_Integrating Looker with R and PythonJoin 2017_Deep Dive_Integrating Looker with R and Python
Join 2017_Deep Dive_Integrating Looker with R and PythonLooker
 
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...Christopher Gutknecht
 
Redgate Community Circle: Tools For SQL Server Performance Tuning
Redgate Community Circle: Tools For SQL Server Performance TuningRedgate Community Circle: Tools For SQL Server Performance Tuning
Redgate Community Circle: Tools For SQL Server Performance TuningGrant Fritchey
 
Engaging Agile Teams for Data Governance Professionals
Engaging Agile Teams for Data Governance ProfessionalsEngaging Agile Teams for Data Governance Professionals
Engaging Agile Teams for Data Governance ProfessionalsJoe McFadden
 
Leading the Product 2017 - Wendy Glasgow
Leading the Product 2017 - Wendy GlasgowLeading the Product 2017 - Wendy Glasgow
Leading the Product 2017 - Wendy GlasgowBrainmates Pty Limited
 
Boosting your SEO with data markup
Boosting your SEO with data markupBoosting your SEO with data markup
Boosting your SEO with data markupManoj K G
 
Fried data summit big data for lob content
Fried data summit big data for lob contentFried data summit big data for lob content
Fried data summit big data for lob contentJeff Fried
 
Big Data Presentation at SCQAA-SF on June 12 2013
Big Data Presentation at SCQAA-SF on June 12 2013Big Data Presentation at SCQAA-SF on June 12 2013
Big Data Presentation at SCQAA-SF on June 12 2013Sujit Ghosh
 
From Foundation to Mastery – Building a Mature Analytics Roadmap - Manav Misra
From Foundation to Mastery – Building a Mature Analytics Roadmap - Manav MisraFrom Foundation to Mastery – Building a Mature Analytics Roadmap - Manav Misra
From Foundation to Mastery – Building a Mature Analytics Roadmap - Manav MisraMolly Alexander
 
Big Data Evolution
Big Data EvolutionBig Data Evolution
Big Data Evolutionitnewsafrica
 
Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...
Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...
Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...Knoldus Inc.
 
Overview of Business Intelligence
Overview of Business IntelligenceOverview of Business Intelligence
Overview of Business IntelligenceParthiv Dixit
 
Data Quality: principles, approaches, and best practices
Data Quality: principles, approaches, and best practicesData Quality: principles, approaches, and best practices
Data Quality: principles, approaches, and best practicesCarl Anderson
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDBMongoDB
 

Similar to Lightning talk at UK PG Day, 2014 - Get Modelling! (20)

Frank Bien Opening Keynote - Join 2016
Frank Bien Opening Keynote - Join 2016Frank Bien Opening Keynote - Join 2016
Frank Bien Opening Keynote - Join 2016
 
You Don't Know SEO
You Don't Know SEOYou Don't Know SEO
You Don't Know SEO
 
Data Profiling: The First Step to Big Data Quality
Data Profiling: The First Step to Big Data QualityData Profiling: The First Step to Big Data Quality
Data Profiling: The First Step to Big Data Quality
 
Join 2017_Deep Dive_Integrating Looker with R and Python
Join 2017_Deep Dive_Integrating Looker with R and PythonJoin 2017_Deep Dive_Integrating Looker with R and Python
Join 2017_Deep Dive_Integrating Looker with R and Python
 
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
 
Redgate Community Circle: Tools For SQL Server Performance Tuning
Redgate Community Circle: Tools For SQL Server Performance TuningRedgate Community Circle: Tools For SQL Server Performance Tuning
Redgate Community Circle: Tools For SQL Server Performance Tuning
 
DU Series - Day 4.pptx
DU Series - Day 4.pptxDU Series - Day 4.pptx
DU Series - Day 4.pptx
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI Overview
 
Engaging Agile Teams for Data Governance Professionals
Engaging Agile Teams for Data Governance ProfessionalsEngaging Agile Teams for Data Governance Professionals
Engaging Agile Teams for Data Governance Professionals
 
Leading the Product 2017 - Wendy Glasgow
Leading the Product 2017 - Wendy GlasgowLeading the Product 2017 - Wendy Glasgow
Leading the Product 2017 - Wendy Glasgow
 
Boosting your SEO with data markup
Boosting your SEO with data markupBoosting your SEO with data markup
Boosting your SEO with data markup
 
Table structured schema markup
Table structured schema markupTable structured schema markup
Table structured schema markup
 
Fried data summit big data for lob content
Fried data summit big data for lob contentFried data summit big data for lob content
Fried data summit big data for lob content
 
Big Data Presentation at SCQAA-SF on June 12 2013
Big Data Presentation at SCQAA-SF on June 12 2013Big Data Presentation at SCQAA-SF on June 12 2013
Big Data Presentation at SCQAA-SF on June 12 2013
 
From Foundation to Mastery – Building a Mature Analytics Roadmap - Manav Misra
From Foundation to Mastery – Building a Mature Analytics Roadmap - Manav MisraFrom Foundation to Mastery – Building a Mature Analytics Roadmap - Manav Misra
From Foundation to Mastery – Building a Mature Analytics Roadmap - Manav Misra
 
Big Data Evolution
Big Data EvolutionBig Data Evolution
Big Data Evolution
 
Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...
Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...
Ensuring Data Quality in Databricks Unleashing the Power of Great Expectation...
 
Overview of Business Intelligence
Overview of Business IntelligenceOverview of Business Intelligence
Overview of Business Intelligence
 
Data Quality: principles, approaches, and best practices
Data Quality: principles, approaches, and best practicesData Quality: principles, approaches, and best practices
Data Quality: principles, approaches, and best practices
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDB
 

More from George McGeachie

SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...
SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...
SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...George McGeachie
 
Data Modelling Zone 2019 - data modelling and JSON
Data Modelling Zone 2019 - data modelling and JSONData Modelling Zone 2019 - data modelling and JSON
Data Modelling Zone 2019 - data modelling and JSONGeorge McGeachie
 
George McGeachie's Favourite PowerDesigner features
George McGeachie's Favourite PowerDesigner featuresGeorge McGeachie's Favourite PowerDesigner features
George McGeachie's Favourite PowerDesigner featuresGeorge McGeachie
 
Lightning talk at PG Conf UK 2018
Lightning talk at PG Conf UK 2018Lightning talk at PG Conf UK 2018
Lightning talk at PG Conf UK 2018George McGeachie
 
What can power designer do for me
What can power designer do for meWhat can power designer do for me
What can power designer do for meGeorge McGeachie
 
Generating XML schemas from a Logical Data Model (EDW 2011)
Generating XML schemas from a Logical Data Model (EDW 2011)Generating XML schemas from a Logical Data Model (EDW 2011)
Generating XML schemas from a Logical Data Model (EDW 2011)George McGeachie
 

More from George McGeachie (6)

SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...
SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...
SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group...
 
Data Modelling Zone 2019 - data modelling and JSON
Data Modelling Zone 2019 - data modelling and JSONData Modelling Zone 2019 - data modelling and JSON
Data Modelling Zone 2019 - data modelling and JSON
 
George McGeachie's Favourite PowerDesigner features
George McGeachie's Favourite PowerDesigner featuresGeorge McGeachie's Favourite PowerDesigner features
George McGeachie's Favourite PowerDesigner features
 
Lightning talk at PG Conf UK 2018
Lightning talk at PG Conf UK 2018Lightning talk at PG Conf UK 2018
Lightning talk at PG Conf UK 2018
 
What can power designer do for me
What can power designer do for meWhat can power designer do for me
What can power designer do for me
 
Generating XML schemas from a Logical Data Model (EDW 2011)
Generating XML schemas from a Logical Data Model (EDW 2011)Generating XML schemas from a Logical Data Model (EDW 2011)
Generating XML schemas from a Logical Data Model (EDW 2011)
 

Recently uploaded

KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptrcbcrtm
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 

Recently uploaded (20)

KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Odoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting ServiceOdoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting Service
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.ppt
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 

Lightning talk at UK PG Day, 2014 - Get Modelling!

  • 1. PG Day, Horwood House, July 9th 2014 (Why you should) Get Modelling! George McGeachie Metadata Matters Limited
  • 2. PG Day, Horwood House, July 9th 2014 It’s a lot more than just a Diagram 2 What is a Data Model?
  • 3. PG Day, Horwood House, July 9th 2014 3 Simon and Hannu say … Page 59 • Plan a new database ◦ Design structure and estimate size  A data modelling tool is perfect for that job • This is an iterative process ◦ Need version control and ability to apply deltas
  • 4. PG Day, Horwood House, July 9th 2014  Migrate from Oracle to PostgreSQL  Reverse-engineer from database, WSDL, XSDs etc.  create logical and conceptual views  Generate XML Schemas 4 Automate tasks
  • 5. PG Day, Horwood House, July 9th 2014  Use standard and bespoke model checks to validate models  Enforce naming standards using a Glossary  Use your default physical options  Create / update your database  Produce scripts the way you want them, avoid errors caused by editing scripts 5 Validate and Generate
  • 6. PG Day, Horwood House, July 9th 2014 6 Model and Generate OLAP FK_MONTH_RELATIONS_YEAR FK_BOOK_SAL_RELATIONS_MONTH FK_BOOK_SAL_RELATIONS_PUBLICAT Publication Book Title Publication Media Type Code Publication Date Dollar List Price ISBN Page Count Primary Author Name Primary Author Pseudonym Primary Author Royalty Percent age CHAR(100) NUMBER(2) DATE NUMBER(5,2) NUMBER(13) NUMBER(4) CHAR(100) CHAR(100) NUMBER(2) <pk> <pk> <i> <i> not null not null null not null not null null not null null null Book Sales Year Code Month Code Book Title Publication Media Type Code Gross Sales Value Amount NUMBER(2) NUMBER(2) CHAR(100) NUMBER(2) NUMBER(5,2) <pk,fk1> <pk,fk1> <pk,fk2> <pk,fk2> <i1,i2> <i1,i2> <i1,i3> <i1,i3> not null not null not null not null not null Month Year Code Month Code Month Description CHAR(60) CHAR(60) CHAR(256) <pk,fk> <pk> <i1,i2> <i1> not null not null null Year Year Code Year Description CHAR(60) CHAR(256) <pk> <i> not null not null Book Sales - Year_Month Book Sales - Publication Measure Book Sales Gross Sales Value Amount Year Code Month Code Book Title Publication Media Type Code Year_Month Year Year Code Year Description Month Year Code Month Code Month Description <h:1> <h:2> <h:3> Hierarchy_1 <Default> <h> Publication Book Title Publication Media Type Code Publication Date Dollar List Price ISBN Page Count Primary Author Name Primary Author Pseudonym Primary Author Royalty Percentage <h:1> <h:2> Hierarchy_1 <Default> <h> Attributes Hierarchy
  • 7. PG Day, Horwood House, July 9th 2014 7 Simon and Hannu say … Page 53 • Understand Database Dependencies ◦ e.g. Table  View  Procedure
  • 8. PG Day, Horwood House, July 9th 2014  ETL Jobs  Forms and Reports  Applications  XML Message Schemas  Regulatory Requirements  Business Processes  Use Cases  JIRA tickets etc. 8 What about dependencies that aren’t in your database? Application produce use use use use use produce <Undefined> use Behind the scenes, Data objects are being accessed Databases are linked to the Physical Data Models that describe them Report Database 1 PostgreSQL Data Warehouse Database 2 Teradata Data Mart ETL or other Data Movement Windows Screen Window form Web Form Web form
  • 9. PG Day, Horwood House, July 9th 2014  Map data movements, generate data movement scripts, ETL scripts, replication scripts etc 9 Create Mappings Marts ice ss pdm Post Codes Lookup EDW EDW_PDM OLTP PDM OLTP to EDW EDW to Marts
  • 10. PG Day, Horwood House, July 9th 2014 10 Get Modelling! Build a database of your database metadata, and join the dots to other stuff What Tools are there? The big 3 ERwin, ER/Studio, PowerDesigner Others Dezign Sparx EA ModelRight Silverrun IBM Infosphere Data Architect Toad Data Modeller might not all support PG