SlideShare ist ein Scribd-Unternehmen logo
1 von 75
Downloaden Sie, um offline zu lesen
PowerDesigner 16.7 MasterclassJune, 2020
SAP PowerDesigner 16.7
Masterclass
George McGeachie
Metadata Matters Limited
PowerDesigner 16.7 MasterclassJune, 2020
Topics
Governance and
Design using MS
Visio and/or Excel
From Excel to
PowerDesigner -
what can we gain?
It's more than 'just'
databases
Data Models in
PowerDesigner -
Requirements, Governance
and Design
Lineage
Database Support
in PowerDesigner
Creating a
Business Objects
CUBE
What's in it for IQ?
Real-world
PowerDesigner
uses
What now?
PowerDesigner 16.7 MasterclassJune, 2020
 Could define and connect metadata of
different types, and generate applications
 Had a flexible front-end for drawing
diagrams (and I still have 3 of them):
My first modelling tool
It ran on an ICL
mainframe, and it
was called the
‘Data Dictionary
System’ (DDS).
PowerDesigner 16.7 MasterclassJune, 2020
If only real
databases
were this
simple ☺
PowerDesigner 16.7 MasterclassJune, 2020
A simple DB in Visio
Employee
PK emp_id
manager_id
emp_fname
emp_lname
FK1 dept_id
Department
PK dept_id
dept_name
dept_head_id
Sales_Order
PK id
PK,FK2 cust_id
order_date
region
FK1 emp_id
Sales_Order_Item
PK,FK2 cust_id
PK,FK2 id
PK line_id
FK1 prod_id
quantity
ship_date
Product
PK prod_id
name
description
size
color
quantity
unit_price
Customer
PK cust_id
fname
lname
address
city
etc.
Visio
file
PowerDesigner 16.7 MasterclassJune, 2020
Model it in Excel?
Excel
file
Table Column Comment Primary Domain
Customer Customer Identifier X Identifier
Forename Name
Last Name Name
Address Address
City City
Sales Order Identifier X Identifier
Customer Identifier Customer id X Identifier
Order Date Date
Region Region
Employee Identifier Identifier
Employee Employee Identifier X Identifier
Manager Identifier Identifier
Employee First Name Name
Employee Last Name Name
Department Identifier Identifier
Department Department Identifier X Identifier
Department Name Name
Department Head Identifier Identifier
Product Product Identifier Identifier
Name Name
Description Description
Size Number
Colour Colour Code
Quantity Quantity
Unit Price Price
Name Owner Comment
Customer READER This descibes Customer
Department READER This descibes Department
Employee READER This descibes Employee
Sales Order READER This descibes Sales Order
Product READER This descibes Product
Sales Order Item READER
This descibes Sales Order
Item
PowerDesigner 16.7 MasterclassJune, 2020
Import from Excel into
PowerDesigner
1..5
Customer
Customer Identifier
Forename
Last Name
Address
City
IDENTIFIER
NAME
NAME
ADDRESS
CITY
<pk>
Department
Department Identifier
Department Name
Department Head Identifier
IDENTIFIER
NAME
IDENTIFIER
<pk>
Employee
Employee Identifier
Manager Identifier
Employee First Name
Employee Last Name
Department Identifier
IDENTIFIER
IDENTIFIER
NAME
NAME
IDENTIFIER
<pk>
<ak>
<ak>
<fk>
Sales Order
Identifier
Customer Identifier
Order Date
Region
Employee Identifier
IDENTIFIER
IDENTIFIER
DATE
REGION
IDENTIFIER
<pk>
<pk,fk1>
<fk2>
Product
Product Identifier
Name
Description
Size
Colour
Quantity
Unit Price
IDENTIFIER
NAME
DESCRIPTION
NUMBER
COLOUR_CODE
QUANTITY
PRICE
Sales Order Item
Identifier
Customer Identifier
IDENTIFIER
IDENTIFIER
<fk1>
<fk1>
PowerDesigner 16.7 MasterclassJune, 2020
Physical names can be derived
1..5
cust
cust_id
forename
last_nm
addrss
city
id
nm
nm
addrss
city
<pk>
dept
dept_id
dept_nm
dept_head_id
id
nm
id
<pk>
empe
empe_id
manager_id
empe_first_nm
empe_last_nm
dept_id
id
id
nm
nm
id
<pk>
<ak>
<ak>
<fk>
sales_order
id
cust_id
order_dt
rgn
empe_id
id
id
dt
rgn
id
<pk>
<pk,fk1>
<fk2>
product
product_id
nm
dscn
size
colour
quantity
unit_price
id
nm
dscn
number
colour_cd
quantity
price
sales_order_item
id
cust_id
id
id
<fk1>
<fk1>
Codes
Sales Order
Identifier
Customer Identifier
Order Date
Region
Employee Identifier
identifier
identifier
date
region
identifier
<pk>
<pk,fk1>
<fk2>
Names
PowerDesigner 16.7 MasterclassJune, 2020
Physical names can be derived
PowerDesigner 16.7 MasterclassJune, 2020
The
model
can be
extended
PowerDesigner 16.7 MasterclassJune, 2020
The model can be extended
<<DBCreateAfter>>
<<DBCreateAfter>> <<DBCreateAfter>>
<<DBCreateAfter>>
<<DBCreateAfter>>
<<DBCreateAfter>>
<<DBCreateAfter>>
<<DBCreateAfter>>
1..5
cust
cust_id
forename
last_nm
addrss
city
id
nm
nm
addrss
city
<pk>
dept
dept_id
dept_nm
dept_head_id
id
nm
id
<pk>
empe
empe_id
manager_id
empe_first_nm
empe_last_nm
dept_id
id
id
nm
nm
id
<pk>
<ak>
<ak>
<fk>
sales_order
id
cust_id
order_dt
rgn
empe_id
id
id
dt
rgn
id
<pk>
<pk,fk1>
<fk2>
product
product_id
nm
dscn
size
colour
quantity
unit_price
id
nm
dscn
number
colour_cd
quantity
price
sales_order_item
id
cust_id
id
id
<fk1>
<fk1>
sp_cust_list
sp_cust_products
sp_product_info
sp_sales_order_itemssp_sales_order
PowerDesigner 16.7 MasterclassJune, 2020
Custom model checks (I created them)
The model can be validated
PowerDesigner 16.7 MasterclassJune, 2020
Now create the SQL
13
PowerDesigner 16.7 MasterclassJune, 2020
The right tool can
give you a lot more
than just this messy
Diagram
– would you want to
work with this
diagram?
14
Most models are not that simple
PowerDesigner 16.7 MasterclassJune, 2020
A data model is a lot more than just a Diagram
15
This is my favourite theme
PowerDesigner 16.7 MasterclassJune, 2020
 Check against your design standards
 The tedious stuff, like making sure all your
tables have the standard audit columns
 Do you need JSON?
 How much will this DB grow?
 Managing (and comparing) schema, table &
column versions
 Building Data Vaults automatically
16
Automate tasks – before you
build the database
PowerDesigner 16.7 MasterclassJune, 2020
Making automation available
A Contextual menu is one way of
accessing automation – check the
model, export JSON to a file, apply
Naming Standards, adding audit
columns
PowerDesigner 16.7 MasterclassJune, 2020
Add your own model
checks, along with
automatic fixing for
those problems if
possible
(e.g. adding
surrogate key)
18
Check your design meets your
design standards
PowerDesigner 16.7 MasterclassJune, 2020 19
A PDM – without audit columns
PowerDesigner 16.7 MasterclassJune, 2020
Standard audit columns added:
20
cust
cust_id
forename
last_nm
addrss
city
EDW_LOAD_DATE
EDW_CREATED_BY
EDW_START_DATE
EDW_END_DATE
EDW_EDW_UPDATE_DATE
EDW_UPDATED_BY
EDW_DELETE_DATE
id
nm
nm
addrss
city
meta_edw_load_dt
meta_created_by
meta_start_dt
meta_end_dt
meta_edw_update_dt
meta_updated_by
meta_delete_dt
<pk>
dept
dept_id
dept_nm
dept_head_id
EDW_LOAD_DATE
EDW_CREATED_BY
EDW_START_DATE
EDW_END_DATE
EDW_EDW_UPDATE_DATE
EDW_UPDATED_BY
EDW_DELETE_DATE
id
nm
id
meta_edw_load_dt
meta_created_by
meta_start_dt
meta_end_dt
meta_edw_update_dt
meta_updated_by
meta_delete_dt
<pk>
empe
empe_id
manager_id
empe_first_nm
empe_last_nm
dept_id
EDW_LOAD_DATE
EDW_CREATED_BY
EDW_START_DATE
EDW_END_DATE
EDW_EDW_UPDATE_DATE
EDW_UPDATED_BY
EDW_DELETE_DATE
id
id
nm
nm
id
meta_edw_load_dt
meta_created_by
meta_start_dt
meta_end_dt
meta_edw_update_dt
meta_updated_by
meta_delete_dt
<pk>
<ak>
<ak>
<fk>
sales_order
id
cust_id
order_dt
rgn
empe_id
EDW_LOAD_DATE
EDW_CREATED_BY
EDW_START_DATE
EDW_END_DATE
EDW_EDW_UPDATE_DATE
EDW_UPDATED_BY
EDW_DELETE_DATE
id
id
dt
rgn
id
meta_edw_load_dt
meta_created_by
meta_start_dt
meta_end_dt
meta_edw_update_dt
meta_updated_by
meta_delete_dt
<pk>
<pk,fk1>
<fk2>
PowerDesigner 16.7 MasterclassJune, 2020 21
{
"Name" : "Departments",
"Code" : "Departments",
"Fully Qualified Name" : "Group0.Departments",
"Fully Qualified Code" : "Group0.Departments",
"Owner" : "Group0",
"Object Type" : "Table",
"id" : "8731F3EE-8E53-46C6-A873-81C522F51717",
"description" : "contains the names and heads of th
"note" : "<NONE>",
"Columns" :
[
{
"Name" : "DepartmentID",
"Code" : "DepartmentID",
"Fully Qualified Name" : "Departments
"Fully Qualified Code" : "Group0.Depa
"Object Type" : "Column",
"id" : "D23F6064-87A8-4D1D-92D0-70F35
"description" : "short one",
"note" : "<NONE>",
"Data Type" : "INT4",
"Length" : "4",
"Precision" : "0",
"Primary?" : "TRUE",
"FK?" : "FALSE",
"Mandatory?" : "TRUE",
Do you need documentation in JSON
format?
PowerDesigner 16.7 MasterclassJune, 2020
• Created in PD Web
• Can generate JSON schema to
file or Git
NoSQL version of model
PowerDesigner 16.7 MasterclassJune, 2020
 Extract current statistics, define growth rates
23
How much will this database
grow?
PowerDesigner 16.7 MasterclassJune, 2020
Estimate of the size of the Database "From XL"...
Number Estimated size Object
------------------------- -----------------------
6,480 72 KB Table 'READER'.'Sales Order'
------------------------- -----------------------
72 KB Total estimated space
Database size estimation successful.
24
Estimate Database size
PowerDesigner 16.7 MasterclassJune, 2020
Amend
the script
25
If you don’t like the way it’s done
PowerDesigner 16.7 MasterclassJune, 2020
• Branching
26
Versioning
• Comparing versions
PowerDesigner 16.7 MasterclassJune, 2020
 Check models into the
repository, but don’t
update the mainline until
they’ve been approved
27
Check in model for peer review
PowerDesigner 16.7 MasterclassJune, 2020
Integrate the Build Branch back
into the Design Branch
28
Models updated with
selected changes
PowerDesigner 16.7 MasterclassJune, 2020
Versions
29
Still able to access version 1
in the Build branch
Version history
PowerDesigner 16.7 MasterclassJune, 2020
View
→ Owner
→ Table
→ References
→ Mapping
→ Table (diff PDM)
→ Procedure
→ Owner
30
Understanding Database
Dependencies
PowerDesigner 16.7 MasterclassJune, 2020
It’s more than ‘just’ databases
31
PowerDesigner 16.7 MasterclassJune, 2020
Databases are not isolated
Enterprise WarehouseSales Database
ETL Server
Load Warehouse Data
PowerDesigner 16.7 MasterclassJune, 2020
❑ ETL Jobs
❑ Forms and Reports
❑ Applications
❑ XML Message Schemas
❑ Regulatory Requirements
❑ Business Processes
❑ Use Cases
❑ JIRA tickets
etc.
33
Databases have connections
Enterprise Architecture Model
Model: Enterprise Architecture Model
Package:
Diagram: ServiceOrientedDiagram
Author: Administrator Date: 2016-08-16
Version:
PowerDesigner 16.7 MasterclassJune, 2020
Data Models in PowerDesigner
34
PowerDesigner 16.7 MasterclassJune, 2020
 Logical Data Models
 Physical Data Models
 Round-trip engineering
 Multiple diagrams per model
 Extended (user-defined) properties
 Model Generation and Synchronisation
 Model Validation
 Reporting
The basics of data
modelling
Most
tools do
these
PowerDesigner 16.7 MasterclassJune, 2020
Data Models
• Conceptual
• Object-oriented*
• XML
• Data Movements
What does PowerDesigner
add?
Other types of Models
• Object-oriented *
• Business Process*
• Enterprise Architecture*
• Requirements
• Impact Analysis Model
499-501
• Availability depends on your licence
PowerDesigner 16.7 MasterclassJune, 2020
 Model Editing in Browser (PowerDesigner Web)
 Specific support for SAP databases
 Integration with SAP Products
◦ HANA
◦ Business Suite
◦ Business Objects
◦ Solution Manager
◦ NetWeaver (via BPMN)
◦ Data Services
◦ Information Steward
What does PowerDesigner add?
PowerDesigner 16.7 MasterclassJune, 2020
A lot of connections
PowerDesigner 16.7 MasterclassJune, 2020
Governance
PowerDesigner 16.7 MasterclassJune, 2020
Requirements
PowerDesigner 16.7 MasterclassJune, 2020
Requirements
PowerDesigner 16.7 MasterclassJune, 2020
Enterprise Conceptual Data
Model
Value Contribution
Finance
Sales Shipping
Business Organisation
Customer
Location Asset
Market Research
Material
Product Development
Business Partner
A key artefact
in both Data
Governance
and Business
Governance
PowerDesigner 16.7 MasterclassJune, 2020
Account
# Account Identifier
Address
#
o
*
*
*
*
*
Address Identifier
Address Line 1
Address Line 2
Region
Postal Code
City
Country
Customer
# Customer Identifier
Employee
#
o
o
o
Employee Identifier
First Name
Last Name
Title
Invoice
#
o
Invoice Identifier
Invoice Date
Account Relationship
#
*
o
Account Relationship Type
Relationship Effective From
Relationship Effective To
Customer
Account
Account Identifier
Address
Address Identifier
Address Line 1
Address Line 2
Region
Postal Code
City
Country
Customer
Customer Identifier
Employee
(Organisation)
Employee Identifier
First Name
Last Name
Title
Invoice
(Finance)
Invoice Identifier
Invoice Date
Organisational Customer
Business Name
Personal Customer
First Name
Last Name
Account Relationship
Account Relationship Type
Relationship Effective From
Relationship Effective To
Enterprise model
expands to …
Same
model,
different
notation
Attributes or not?
Your choice
Account
Address
Customer
Employee
Invoice
Account Relationship
PowerDesigner 16.7 MasterclassJune, 2020
Lineage
PowerDesigner 16.7 MasterclassJune, 2020
Lineage
PowerDesigner 16.7 MasterclassJune, 2020
• Core Physical Database
Modelling features
◦ Round-trip engineering
◦ Versioning and Archive
Models
• Extended and
customised for each
DBMS / version
◦ If you don’t like it you
can change it
PowerDesigner support for
Databases
PowerDesigner 16.7 MasterclassJune, 2020
• Assign ‘Dimensional
Type’ to Tables
Business Objects support
• Generate CUBE
sales_order sales_order_item product
sales_order_item - fin_code_sales_order
sales_order_item - productsales_order_item - employee_sales_order
sales_order_item - customer_sales_order
fin_code_sales_order
employee_sales_order
Hierarchy_1 <Default> <h>
product
Hierarchy_1 <Default> <h>
sales_order_item
quantity
id
prod_id
customer_sales_order
Hierarchy_1 <Default> <h>
PowerDesigner 16.7 MasterclassJune, 2020
Mappings created
PowerDesigner 16.7 MasterclassJune, 2020
Complete with SQL
PowerDesigner 16.7 MasterclassJune, 2020
What’s in it for IQ?
PowerDesigner 16.7 MasterclassJune, 2020
• The standard
Physical Data Model
has been heavily
configured to
support IQ
52
What’s in it for IQ?
PowerDesigner 16.7 MasterclassJune, 2020
Most likely action
is changing DDL
syntax
◦ E.g. Template for
name of Check
Constraint
Customising DBMS Support
PowerDesigner 16.7 MasterclassJune, 2020
Table - Physical Options
PowerDesigner 16.7 MasterclassJune, 2020
Table – the SAP IQ tab
PowerDesigner 16.7 MasterclassJune, 2020
Column – the SAP IQ tab
PowerDesigner 16.7 MasterclassJune, 2020
• Define a Lifecycle
and associated
phases, then
associate tables to
the Lifecycle
• See the features on
Database menu
57
Lifecycles
PowerDesigner 16.7 MasterclassJune, 2020
Table – the Lifecycle tab
PowerDesigner 16.7 MasterclassJune, 2020
• PowerDesigner can
generate data movement
scripts to populate your
AS IQ data warehouse
from other databases.
The script can generate a
flat file for loading to the
IQ data warehouse and
create Insert Location
statements for use with a
proxy database (for ASE
and ASA only).
IQ Data Movements
• Extension adds tabs
PowerDesigner 16.7 MasterclassJune, 2020
IQ Data Movements
60
PowerDesigner 16.7 MasterclassJune, 2020
Real-world PowerDesigner uses
PowerDesigner 16.7 MasterclassJune, 2020
 Business Transformation – a European railway company
◦ Understand current (as-is) Enterprise Architecture
◦ Describe requirements for a proposed purchase of a software solution for Sales and Marketing
◦ Describe detailed (to-be) Sales and Marketing business processes, prior to selecting a solution
◦ Update Enterprise Architecture understanding following implementation of Sales and Marketing solution
 Data Governance
◦ Two organisations have purchased Collibra Data Governance Centre and needed to integrate with
PowerDesigner
 Information Architecture
◦ An urgent Covid-19 requirement for a key provider of offshore Oil and Gas infrastructure
◦ Managing multiple IQ environments
◦ Generating Data Vault models for the Data Warehouse
 Regulatory Compliance
◦ A bank needs to show how they have complied with BCBS 239
Real-world examples
PowerDesigner 16.7 MasterclassJune, 2020
Integrating PowerDesigner with Collibra Data
Governance Centre
 Export model structure as JSON, to be
ingested by Collibra
 Import file exported from Collibra
◦ Create new PowerDesigner model, ready for user to
compare with the existing model
Data Governance
PowerDesigner 16.7 MasterclassJune, 2020
COVID-19
◦ An urgent requirement for a key provider of
offshore Oil and Gas infrastructure
Information Architecture
64
Image copyright - New Scientist - https://www.newscientist.com/term/covid-19/#
PowerDesigner 16.7 MasterclassJune, 2020
•Country / city / facility / vessel
Where are they currently
located?
•Country / city / facility / vessel
Where will they need to travel
to?
•The further away in time, the greater the uncertainty
When will they need to get
there?
•This could depend on their citizenship / residency
Where are they allowed to travel
to?
•What are the current and expected travel restrictions?
How do we get them to where
they need to be?
Due to the COVID-19 pandemic, urgently
needed information about staff
PowerDesigner 16.7 MasterclassJune, 2020
•One of the engineers due to join that vessel
is a Brazilian, currently in a city in Italy that
will probably be locked down soon
The crew of a vessel
in the North Sea
needs to be relieved
as soon as possible
•How many different routes are there? How
long will transit be possible?
An American
engineer in Bahrain
needs to go home to
Hawaii
For example
PowerDesigner 16.7 MasterclassJune, 2020
Using PowerDesigner, they were able to provide the required
capabilities very quickly by producing:
 A Logical Data Model of the information required – based on
personal knowledge of business applications and creating
Physical Data Models of the databases that hold the data
 A Physical Data Model of the new database structures needed
 A database (generated from the Physical Data Model) to hold
the information
 Power BI reports for the business
This was VERY urgent
PowerDesigner 16.7 MasterclassJune, 2020
 There is one IQ database associated with a
PDM
 If(!) you need to support several
environments
◦ Generated DDL - include %Environment%
◦ Use script to post-process DDL
◦ Combine both the above to generate a special tag
that can be edited
Managing multiple IQ
environments
PowerDesigner 16.7 MasterclassJune, 2020
Data Vault
<<Hub>>
Hub_1
<<Satellite>>
Satellite_2
<<Link>>
Link_3
<<Link>>
Link_4
<<Satellite>>
Satellite_5
<<Satellite>>
Satellite_6
<<Hub>>
Hub_7
PowerDesigner 16.7 MasterclassJune, 2020
An example from John Giles in a
presentation to the UK Data Vault User
Group on June 9th, 2020
PowerDesigner 16.7 MasterclassJune, 2020
Database_1
Database_2
Database_3
Staging Raw Vault Business Vault Data Marts
Generating Data Vault models
for the Data Warehouse
PowerDesigner 16.7 MasterclassJune, 2020
 BCBS Principles documented in Requirements
Model
◦ Created by importing Word document
 Enterprise Conceptual Data linked to BCBS
 Enterprise Logical Data Model used to
generate domain models
Demonstrating compliance with
BCBS 239
PowerDesigner 16.7 MasterclassJune, 2020
Questions?
PowerDesigner 16.7 MasterclassJune, 2020
• If you already have a
relationship with a
reseller, talk to
them about a demo
• If you don’t, I can
put you in touch
with Mike Evans at
Kronva
What now?
• For techie stuff,
contact George
McGeachie (or SAP if
you prefer – Ruairi
Prendiville knows his
stuff ☺)
PowerDesigner 16.7 MasterclassJune, 2020
• I host regular
chinwags (3 times a
week)
• If you want to join in
go to
metadatajunkie.wordpress.com/
pd-chinwags/
75
Chinwags and 1-2-1s
• The same page also
contains a link if you
want to book a free
one-to-one
discussion with
George McGeachie
PowerDesigner 16.7 MasterclassJune, 2020
Thank You for Attending
Telephone: +44 (0) 208 123 8756
UK mobile: +44 (0) 794 293 0648
Skype: gmcgeachie Twitter: metadatajunkie
Email: George.McGeachie @ MetadataMatters.com
Blog: http://metadatajunkie.wordpress.com/

Weitere ähnliche Inhalte

Was ist angesagt?

Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)
Paulo Gandra de Sousa
 
Accelerating a Path to Digital With a Cloud Data Strategy
Accelerating a Path to Digital With a Cloud Data StrategyAccelerating a Path to Digital With a Cloud Data Strategy
Accelerating a Path to Digital With a Cloud Data Strategy
MongoDB
 

Was ist angesagt? (17)

Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)
 
Prescriptive Analytics
Prescriptive AnalyticsPrescriptive Analytics
Prescriptive Analytics
 
7 Dangerous Myths DBAs Believe about Data Modeling
7 Dangerous Myths DBAs Believe about Data Modeling7 Dangerous Myths DBAs Believe about Data Modeling
7 Dangerous Myths DBAs Believe about Data Modeling
 
Visio Conference 2008
Visio Conference 2008Visio Conference 2008
Visio Conference 2008
 
[WSO2Con Asia 2018] Patterns for Building Streaming Apps
[WSO2Con Asia 2018] Patterns for Building Streaming Apps[WSO2Con Asia 2018] Patterns for Building Streaming Apps
[WSO2Con Asia 2018] Patterns for Building Streaming Apps
 
SlamData - How MongoDB Is Powering a Revolution in Visual Analytics
SlamData - How MongoDB Is Powering a Revolution in Visual AnalyticsSlamData - How MongoDB Is Powering a Revolution in Visual Analytics
SlamData - How MongoDB Is Powering a Revolution in Visual Analytics
 
Give Me My Damn Report: Making NoSQL Data Accessible to the Business
Give Me My Damn Report: Making NoSQL Data Accessible to the BusinessGive Me My Damn Report: Making NoSQL Data Accessible to the Business
Give Me My Damn Report: Making NoSQL Data Accessible to the Business
 
Karen's Favourite Features of SQL Server 2016
Karen's Favourite Features of  SQL Server 2016Karen's Favourite Features of  SQL Server 2016
Karen's Favourite Features of SQL Server 2016
 
The Key to Keys - Database Design
The Key to Keys - Database DesignThe Key to Keys - Database Design
The Key to Keys - Database Design
 
Freeing Yourself from an RDBMS Architecture
Freeing Yourself from an RDBMS ArchitectureFreeing Yourself from an RDBMS Architecture
Freeing Yourself from an RDBMS Architecture
 
Silverlight 5 whats new overview
Silverlight 5 whats new overviewSilverlight 5 whats new overview
Silverlight 5 whats new overview
 
MongoDB .local Chicago 2019: Using MongoDB Transactions to Implement Cryptogr...
MongoDB .local Chicago 2019: Using MongoDB Transactions to Implement Cryptogr...MongoDB .local Chicago 2019: Using MongoDB Transactions to Implement Cryptogr...
MongoDB .local Chicago 2019: Using MongoDB Transactions to Implement Cryptogr...
 
Architecture and RxJava
Architecture and RxJavaArchitecture and RxJava
Architecture and RxJava
 
Accelerating a Path to Digital With a Cloud Data Strategy
Accelerating a Path to Digital With a Cloud Data StrategyAccelerating a Path to Digital With a Cloud Data Strategy
Accelerating a Path to Digital With a Cloud Data Strategy
 
Semi Formal Model for Document Oriented Databases
Semi Formal Model for Document Oriented DatabasesSemi Formal Model for Document Oriented Databases
Semi Formal Model for Document Oriented Databases
 
Html css
Html cssHtml css
Html css
 
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...
 

Ähnlich wie SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group (UKSUG)

L’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazioneL’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazione
MongoDB
 
Business Process Improvement plan - SQL
Business Process Improvement plan - SQLBusiness Process Improvement plan - SQL
Business Process Improvement plan - SQL
rubylu818
 

Ähnlich wie SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group (UKSUG) (20)

L’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazioneL’architettura di classe enterprise di nuova generazione
L’architettura di classe enterprise di nuova generazione
 
[MongoDB.local Bengaluru 2018] Keynote
[MongoDB.local Bengaluru 2018] Keynote[MongoDB.local Bengaluru 2018] Keynote
[MongoDB.local Bengaluru 2018] Keynote
 
Modern Business Intelligence and Advanced Analytics
Modern Business Intelligence and Advanced AnalyticsModern Business Intelligence and Advanced Analytics
Modern Business Intelligence and Advanced Analytics
 
L’architettura di Classe Enterprise di Nuova Generazione
L’architettura di Classe Enterprise di Nuova GenerazioneL’architettura di Classe Enterprise di Nuova Generazione
L’architettura di Classe Enterprise di Nuova Generazione
 
Business Process Improvement plan - SQL
Business Process Improvement plan - SQLBusiness Process Improvement plan - SQL
Business Process Improvement plan - SQL
 
Simplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data WarehouseSimplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data Warehouse
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
 
Internet of Things in Tbilisi
Internet of Things in TbilisiInternet of Things in Tbilisi
Internet of Things in Tbilisi
 
Data Virtualization for Data Architects (New Zealand)
Data Virtualization for Data Architects (New Zealand)Data Virtualization for Data Architects (New Zealand)
Data Virtualization for Data Architects (New Zealand)
 
MongodB Internals
MongodB InternalsMongodB Internals
MongodB Internals
 
Guidelines DataCite Denmark 2014
Guidelines DataCite Denmark 2014Guidelines DataCite Denmark 2014
Guidelines DataCite Denmark 2014
 
MongoDB Schema Design: Practical Applications and Implications
MongoDB Schema Design: Practical Applications and ImplicationsMongoDB Schema Design: Practical Applications and Implications
MongoDB Schema Design: Practical Applications and Implications
 
Modular Web Applications With Netzke
Modular Web Applications With NetzkeModular Web Applications With Netzke
Modular Web Applications With Netzke
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuery
 
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
 
Analyst View of Data Virtualization: Conversations with Boulder Business Inte...
Analyst View of Data Virtualization: Conversations with Boulder Business Inte...Analyst View of Data Virtualization: Conversations with Boulder Business Inte...
Analyst View of Data Virtualization: Conversations with Boulder Business Inte...
 
RedisConf18 - Redis Memory Optimization
RedisConf18 - Redis Memory OptimizationRedisConf18 - Redis Memory Optimization
RedisConf18 - Redis Memory Optimization
 
いそがしいひとのための Microsoft Ignite 2018 最新情報 Data 編
いそがしいひとのための Microsoft Ignite 2018 最新情報 Data 編いそがしいひとのための Microsoft Ignite 2018 最新情報 Data 編
いそがしいひとのための Microsoft Ignite 2018 最新情報 Data 編
 
Spark Cassandra Connector: Past, Present and Furure
Spark Cassandra Connector: Past, Present and FurureSpark Cassandra Connector: Past, Present and Furure
Spark Cassandra Connector: Past, Present and Furure
 
Webinar: How Banks Use MongoDB as a Tick Database
Webinar: How Banks Use MongoDB as a Tick DatabaseWebinar: How Banks Use MongoDB as a Tick Database
Webinar: How Banks Use MongoDB as a Tick Database
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

SAP PowerDesigner Masterclass for the UK SAP Database & Technology User Group (UKSUG)

  • 1. PowerDesigner 16.7 MasterclassJune, 2020 SAP PowerDesigner 16.7 Masterclass George McGeachie Metadata Matters Limited
  • 2. PowerDesigner 16.7 MasterclassJune, 2020 Topics Governance and Design using MS Visio and/or Excel From Excel to PowerDesigner - what can we gain? It's more than 'just' databases Data Models in PowerDesigner - Requirements, Governance and Design Lineage Database Support in PowerDesigner Creating a Business Objects CUBE What's in it for IQ? Real-world PowerDesigner uses What now?
  • 3. PowerDesigner 16.7 MasterclassJune, 2020  Could define and connect metadata of different types, and generate applications  Had a flexible front-end for drawing diagrams (and I still have 3 of them): My first modelling tool It ran on an ICL mainframe, and it was called the ‘Data Dictionary System’ (DDS).
  • 4. PowerDesigner 16.7 MasterclassJune, 2020 If only real databases were this simple ☺
  • 5. PowerDesigner 16.7 MasterclassJune, 2020 A simple DB in Visio Employee PK emp_id manager_id emp_fname emp_lname FK1 dept_id Department PK dept_id dept_name dept_head_id Sales_Order PK id PK,FK2 cust_id order_date region FK1 emp_id Sales_Order_Item PK,FK2 cust_id PK,FK2 id PK line_id FK1 prod_id quantity ship_date Product PK prod_id name description size color quantity unit_price Customer PK cust_id fname lname address city etc. Visio file
  • 6. PowerDesigner 16.7 MasterclassJune, 2020 Model it in Excel? Excel file Table Column Comment Primary Domain Customer Customer Identifier X Identifier Forename Name Last Name Name Address Address City City Sales Order Identifier X Identifier Customer Identifier Customer id X Identifier Order Date Date Region Region Employee Identifier Identifier Employee Employee Identifier X Identifier Manager Identifier Identifier Employee First Name Name Employee Last Name Name Department Identifier Identifier Department Department Identifier X Identifier Department Name Name Department Head Identifier Identifier Product Product Identifier Identifier Name Name Description Description Size Number Colour Colour Code Quantity Quantity Unit Price Price Name Owner Comment Customer READER This descibes Customer Department READER This descibes Department Employee READER This descibes Employee Sales Order READER This descibes Sales Order Product READER This descibes Product Sales Order Item READER This descibes Sales Order Item
  • 7. PowerDesigner 16.7 MasterclassJune, 2020 Import from Excel into PowerDesigner 1..5 Customer Customer Identifier Forename Last Name Address City IDENTIFIER NAME NAME ADDRESS CITY <pk> Department Department Identifier Department Name Department Head Identifier IDENTIFIER NAME IDENTIFIER <pk> Employee Employee Identifier Manager Identifier Employee First Name Employee Last Name Department Identifier IDENTIFIER IDENTIFIER NAME NAME IDENTIFIER <pk> <ak> <ak> <fk> Sales Order Identifier Customer Identifier Order Date Region Employee Identifier IDENTIFIER IDENTIFIER DATE REGION IDENTIFIER <pk> <pk,fk1> <fk2> Product Product Identifier Name Description Size Colour Quantity Unit Price IDENTIFIER NAME DESCRIPTION NUMBER COLOUR_CODE QUANTITY PRICE Sales Order Item Identifier Customer Identifier IDENTIFIER IDENTIFIER <fk1> <fk1>
  • 8. PowerDesigner 16.7 MasterclassJune, 2020 Physical names can be derived 1..5 cust cust_id forename last_nm addrss city id nm nm addrss city <pk> dept dept_id dept_nm dept_head_id id nm id <pk> empe empe_id manager_id empe_first_nm empe_last_nm dept_id id id nm nm id <pk> <ak> <ak> <fk> sales_order id cust_id order_dt rgn empe_id id id dt rgn id <pk> <pk,fk1> <fk2> product product_id nm dscn size colour quantity unit_price id nm dscn number colour_cd quantity price sales_order_item id cust_id id id <fk1> <fk1> Codes Sales Order Identifier Customer Identifier Order Date Region Employee Identifier identifier identifier date region identifier <pk> <pk,fk1> <fk2> Names
  • 9. PowerDesigner 16.7 MasterclassJune, 2020 Physical names can be derived
  • 10. PowerDesigner 16.7 MasterclassJune, 2020 The model can be extended
  • 11. PowerDesigner 16.7 MasterclassJune, 2020 The model can be extended <<DBCreateAfter>> <<DBCreateAfter>> <<DBCreateAfter>> <<DBCreateAfter>> <<DBCreateAfter>> <<DBCreateAfter>> <<DBCreateAfter>> <<DBCreateAfter>> 1..5 cust cust_id forename last_nm addrss city id nm nm addrss city <pk> dept dept_id dept_nm dept_head_id id nm id <pk> empe empe_id manager_id empe_first_nm empe_last_nm dept_id id id nm nm id <pk> <ak> <ak> <fk> sales_order id cust_id order_dt rgn empe_id id id dt rgn id <pk> <pk,fk1> <fk2> product product_id nm dscn size colour quantity unit_price id nm dscn number colour_cd quantity price sales_order_item id cust_id id id <fk1> <fk1> sp_cust_list sp_cust_products sp_product_info sp_sales_order_itemssp_sales_order
  • 12. PowerDesigner 16.7 MasterclassJune, 2020 Custom model checks (I created them) The model can be validated
  • 13. PowerDesigner 16.7 MasterclassJune, 2020 Now create the SQL 13
  • 14. PowerDesigner 16.7 MasterclassJune, 2020 The right tool can give you a lot more than just this messy Diagram – would you want to work with this diagram? 14 Most models are not that simple
  • 15. PowerDesigner 16.7 MasterclassJune, 2020 A data model is a lot more than just a Diagram 15 This is my favourite theme
  • 16. PowerDesigner 16.7 MasterclassJune, 2020  Check against your design standards  The tedious stuff, like making sure all your tables have the standard audit columns  Do you need JSON?  How much will this DB grow?  Managing (and comparing) schema, table & column versions  Building Data Vaults automatically 16 Automate tasks – before you build the database
  • 17. PowerDesigner 16.7 MasterclassJune, 2020 Making automation available A Contextual menu is one way of accessing automation – check the model, export JSON to a file, apply Naming Standards, adding audit columns
  • 18. PowerDesigner 16.7 MasterclassJune, 2020 Add your own model checks, along with automatic fixing for those problems if possible (e.g. adding surrogate key) 18 Check your design meets your design standards
  • 19. PowerDesigner 16.7 MasterclassJune, 2020 19 A PDM – without audit columns
  • 20. PowerDesigner 16.7 MasterclassJune, 2020 Standard audit columns added: 20 cust cust_id forename last_nm addrss city EDW_LOAD_DATE EDW_CREATED_BY EDW_START_DATE EDW_END_DATE EDW_EDW_UPDATE_DATE EDW_UPDATED_BY EDW_DELETE_DATE id nm nm addrss city meta_edw_load_dt meta_created_by meta_start_dt meta_end_dt meta_edw_update_dt meta_updated_by meta_delete_dt <pk> dept dept_id dept_nm dept_head_id EDW_LOAD_DATE EDW_CREATED_BY EDW_START_DATE EDW_END_DATE EDW_EDW_UPDATE_DATE EDW_UPDATED_BY EDW_DELETE_DATE id nm id meta_edw_load_dt meta_created_by meta_start_dt meta_end_dt meta_edw_update_dt meta_updated_by meta_delete_dt <pk> empe empe_id manager_id empe_first_nm empe_last_nm dept_id EDW_LOAD_DATE EDW_CREATED_BY EDW_START_DATE EDW_END_DATE EDW_EDW_UPDATE_DATE EDW_UPDATED_BY EDW_DELETE_DATE id id nm nm id meta_edw_load_dt meta_created_by meta_start_dt meta_end_dt meta_edw_update_dt meta_updated_by meta_delete_dt <pk> <ak> <ak> <fk> sales_order id cust_id order_dt rgn empe_id EDW_LOAD_DATE EDW_CREATED_BY EDW_START_DATE EDW_END_DATE EDW_EDW_UPDATE_DATE EDW_UPDATED_BY EDW_DELETE_DATE id id dt rgn id meta_edw_load_dt meta_created_by meta_start_dt meta_end_dt meta_edw_update_dt meta_updated_by meta_delete_dt <pk> <pk,fk1> <fk2>
  • 21. PowerDesigner 16.7 MasterclassJune, 2020 21 { "Name" : "Departments", "Code" : "Departments", "Fully Qualified Name" : "Group0.Departments", "Fully Qualified Code" : "Group0.Departments", "Owner" : "Group0", "Object Type" : "Table", "id" : "8731F3EE-8E53-46C6-A873-81C522F51717", "description" : "contains the names and heads of th "note" : "<NONE>", "Columns" : [ { "Name" : "DepartmentID", "Code" : "DepartmentID", "Fully Qualified Name" : "Departments "Fully Qualified Code" : "Group0.Depa "Object Type" : "Column", "id" : "D23F6064-87A8-4D1D-92D0-70F35 "description" : "short one", "note" : "<NONE>", "Data Type" : "INT4", "Length" : "4", "Precision" : "0", "Primary?" : "TRUE", "FK?" : "FALSE", "Mandatory?" : "TRUE", Do you need documentation in JSON format?
  • 22. PowerDesigner 16.7 MasterclassJune, 2020 • Created in PD Web • Can generate JSON schema to file or Git NoSQL version of model
  • 23. PowerDesigner 16.7 MasterclassJune, 2020  Extract current statistics, define growth rates 23 How much will this database grow?
  • 24. PowerDesigner 16.7 MasterclassJune, 2020 Estimate of the size of the Database "From XL"... Number Estimated size Object ------------------------- ----------------------- 6,480 72 KB Table 'READER'.'Sales Order' ------------------------- ----------------------- 72 KB Total estimated space Database size estimation successful. 24 Estimate Database size
  • 25. PowerDesigner 16.7 MasterclassJune, 2020 Amend the script 25 If you don’t like the way it’s done
  • 26. PowerDesigner 16.7 MasterclassJune, 2020 • Branching 26 Versioning • Comparing versions
  • 27. PowerDesigner 16.7 MasterclassJune, 2020  Check models into the repository, but don’t update the mainline until they’ve been approved 27 Check in model for peer review
  • 28. PowerDesigner 16.7 MasterclassJune, 2020 Integrate the Build Branch back into the Design Branch 28 Models updated with selected changes
  • 29. PowerDesigner 16.7 MasterclassJune, 2020 Versions 29 Still able to access version 1 in the Build branch Version history
  • 30. PowerDesigner 16.7 MasterclassJune, 2020 View → Owner → Table → References → Mapping → Table (diff PDM) → Procedure → Owner 30 Understanding Database Dependencies
  • 31. PowerDesigner 16.7 MasterclassJune, 2020 It’s more than ‘just’ databases 31
  • 32. PowerDesigner 16.7 MasterclassJune, 2020 Databases are not isolated Enterprise WarehouseSales Database ETL Server Load Warehouse Data
  • 33. PowerDesigner 16.7 MasterclassJune, 2020 ❑ ETL Jobs ❑ Forms and Reports ❑ Applications ❑ XML Message Schemas ❑ Regulatory Requirements ❑ Business Processes ❑ Use Cases ❑ JIRA tickets etc. 33 Databases have connections Enterprise Architecture Model Model: Enterprise Architecture Model Package: Diagram: ServiceOrientedDiagram Author: Administrator Date: 2016-08-16 Version:
  • 34. PowerDesigner 16.7 MasterclassJune, 2020 Data Models in PowerDesigner 34
  • 35. PowerDesigner 16.7 MasterclassJune, 2020  Logical Data Models  Physical Data Models  Round-trip engineering  Multiple diagrams per model  Extended (user-defined) properties  Model Generation and Synchronisation  Model Validation  Reporting The basics of data modelling Most tools do these
  • 36. PowerDesigner 16.7 MasterclassJune, 2020 Data Models • Conceptual • Object-oriented* • XML • Data Movements What does PowerDesigner add? Other types of Models • Object-oriented * • Business Process* • Enterprise Architecture* • Requirements • Impact Analysis Model 499-501 • Availability depends on your licence
  • 37. PowerDesigner 16.7 MasterclassJune, 2020  Model Editing in Browser (PowerDesigner Web)  Specific support for SAP databases  Integration with SAP Products ◦ HANA ◦ Business Suite ◦ Business Objects ◦ Solution Manager ◦ NetWeaver (via BPMN) ◦ Data Services ◦ Information Steward What does PowerDesigner add?
  • 38. PowerDesigner 16.7 MasterclassJune, 2020 A lot of connections
  • 42. PowerDesigner 16.7 MasterclassJune, 2020 Enterprise Conceptual Data Model Value Contribution Finance Sales Shipping Business Organisation Customer Location Asset Market Research Material Product Development Business Partner A key artefact in both Data Governance and Business Governance
  • 43. PowerDesigner 16.7 MasterclassJune, 2020 Account # Account Identifier Address # o * * * * * Address Identifier Address Line 1 Address Line 2 Region Postal Code City Country Customer # Customer Identifier Employee # o o o Employee Identifier First Name Last Name Title Invoice # o Invoice Identifier Invoice Date Account Relationship # * o Account Relationship Type Relationship Effective From Relationship Effective To Customer Account Account Identifier Address Address Identifier Address Line 1 Address Line 2 Region Postal Code City Country Customer Customer Identifier Employee (Organisation) Employee Identifier First Name Last Name Title Invoice (Finance) Invoice Identifier Invoice Date Organisational Customer Business Name Personal Customer First Name Last Name Account Relationship Account Relationship Type Relationship Effective From Relationship Effective To Enterprise model expands to … Same model, different notation Attributes or not? Your choice Account Address Customer Employee Invoice Account Relationship
  • 46. PowerDesigner 16.7 MasterclassJune, 2020 • Core Physical Database Modelling features ◦ Round-trip engineering ◦ Versioning and Archive Models • Extended and customised for each DBMS / version ◦ If you don’t like it you can change it PowerDesigner support for Databases
  • 47. PowerDesigner 16.7 MasterclassJune, 2020 • Assign ‘Dimensional Type’ to Tables Business Objects support • Generate CUBE sales_order sales_order_item product sales_order_item - fin_code_sales_order sales_order_item - productsales_order_item - employee_sales_order sales_order_item - customer_sales_order fin_code_sales_order employee_sales_order Hierarchy_1 <Default> <h> product Hierarchy_1 <Default> <h> sales_order_item quantity id prod_id customer_sales_order Hierarchy_1 <Default> <h>
  • 48. PowerDesigner 16.7 MasterclassJune, 2020 Mappings created
  • 49. PowerDesigner 16.7 MasterclassJune, 2020 Complete with SQL
  • 50. PowerDesigner 16.7 MasterclassJune, 2020 What’s in it for IQ?
  • 51. PowerDesigner 16.7 MasterclassJune, 2020 • The standard Physical Data Model has been heavily configured to support IQ 52 What’s in it for IQ?
  • 52. PowerDesigner 16.7 MasterclassJune, 2020 Most likely action is changing DDL syntax ◦ E.g. Template for name of Check Constraint Customising DBMS Support
  • 53. PowerDesigner 16.7 MasterclassJune, 2020 Table - Physical Options
  • 54. PowerDesigner 16.7 MasterclassJune, 2020 Table – the SAP IQ tab
  • 55. PowerDesigner 16.7 MasterclassJune, 2020 Column – the SAP IQ tab
  • 56. PowerDesigner 16.7 MasterclassJune, 2020 • Define a Lifecycle and associated phases, then associate tables to the Lifecycle • See the features on Database menu 57 Lifecycles
  • 57. PowerDesigner 16.7 MasterclassJune, 2020 Table – the Lifecycle tab
  • 58. PowerDesigner 16.7 MasterclassJune, 2020 • PowerDesigner can generate data movement scripts to populate your AS IQ data warehouse from other databases. The script can generate a flat file for loading to the IQ data warehouse and create Insert Location statements for use with a proxy database (for ASE and ASA only). IQ Data Movements • Extension adds tabs
  • 59. PowerDesigner 16.7 MasterclassJune, 2020 IQ Data Movements 60
  • 60. PowerDesigner 16.7 MasterclassJune, 2020 Real-world PowerDesigner uses
  • 61. PowerDesigner 16.7 MasterclassJune, 2020  Business Transformation – a European railway company ◦ Understand current (as-is) Enterprise Architecture ◦ Describe requirements for a proposed purchase of a software solution for Sales and Marketing ◦ Describe detailed (to-be) Sales and Marketing business processes, prior to selecting a solution ◦ Update Enterprise Architecture understanding following implementation of Sales and Marketing solution  Data Governance ◦ Two organisations have purchased Collibra Data Governance Centre and needed to integrate with PowerDesigner  Information Architecture ◦ An urgent Covid-19 requirement for a key provider of offshore Oil and Gas infrastructure ◦ Managing multiple IQ environments ◦ Generating Data Vault models for the Data Warehouse  Regulatory Compliance ◦ A bank needs to show how they have complied with BCBS 239 Real-world examples
  • 62. PowerDesigner 16.7 MasterclassJune, 2020 Integrating PowerDesigner with Collibra Data Governance Centre  Export model structure as JSON, to be ingested by Collibra  Import file exported from Collibra ◦ Create new PowerDesigner model, ready for user to compare with the existing model Data Governance
  • 63. PowerDesigner 16.7 MasterclassJune, 2020 COVID-19 ◦ An urgent requirement for a key provider of offshore Oil and Gas infrastructure Information Architecture 64 Image copyright - New Scientist - https://www.newscientist.com/term/covid-19/#
  • 64. PowerDesigner 16.7 MasterclassJune, 2020 •Country / city / facility / vessel Where are they currently located? •Country / city / facility / vessel Where will they need to travel to? •The further away in time, the greater the uncertainty When will they need to get there? •This could depend on their citizenship / residency Where are they allowed to travel to? •What are the current and expected travel restrictions? How do we get them to where they need to be? Due to the COVID-19 pandemic, urgently needed information about staff
  • 65. PowerDesigner 16.7 MasterclassJune, 2020 •One of the engineers due to join that vessel is a Brazilian, currently in a city in Italy that will probably be locked down soon The crew of a vessel in the North Sea needs to be relieved as soon as possible •How many different routes are there? How long will transit be possible? An American engineer in Bahrain needs to go home to Hawaii For example
  • 66. PowerDesigner 16.7 MasterclassJune, 2020 Using PowerDesigner, they were able to provide the required capabilities very quickly by producing:  A Logical Data Model of the information required – based on personal knowledge of business applications and creating Physical Data Models of the databases that hold the data  A Physical Data Model of the new database structures needed  A database (generated from the Physical Data Model) to hold the information  Power BI reports for the business This was VERY urgent
  • 67. PowerDesigner 16.7 MasterclassJune, 2020  There is one IQ database associated with a PDM  If(!) you need to support several environments ◦ Generated DDL - include %Environment% ◦ Use script to post-process DDL ◦ Combine both the above to generate a special tag that can be edited Managing multiple IQ environments
  • 68. PowerDesigner 16.7 MasterclassJune, 2020 Data Vault <<Hub>> Hub_1 <<Satellite>> Satellite_2 <<Link>> Link_3 <<Link>> Link_4 <<Satellite>> Satellite_5 <<Satellite>> Satellite_6 <<Hub>> Hub_7
  • 69. PowerDesigner 16.7 MasterclassJune, 2020 An example from John Giles in a presentation to the UK Data Vault User Group on June 9th, 2020
  • 70. PowerDesigner 16.7 MasterclassJune, 2020 Database_1 Database_2 Database_3 Staging Raw Vault Business Vault Data Marts Generating Data Vault models for the Data Warehouse
  • 71. PowerDesigner 16.7 MasterclassJune, 2020  BCBS Principles documented in Requirements Model ◦ Created by importing Word document  Enterprise Conceptual Data linked to BCBS  Enterprise Logical Data Model used to generate domain models Demonstrating compliance with BCBS 239
  • 73. PowerDesigner 16.7 MasterclassJune, 2020 • If you already have a relationship with a reseller, talk to them about a demo • If you don’t, I can put you in touch with Mike Evans at Kronva What now? • For techie stuff, contact George McGeachie (or SAP if you prefer – Ruairi Prendiville knows his stuff ☺)
  • 74. PowerDesigner 16.7 MasterclassJune, 2020 • I host regular chinwags (3 times a week) • If you want to join in go to metadatajunkie.wordpress.com/ pd-chinwags/ 75 Chinwags and 1-2-1s • The same page also contains a link if you want to book a free one-to-one discussion with George McGeachie
  • 75. PowerDesigner 16.7 MasterclassJune, 2020 Thank You for Attending Telephone: +44 (0) 208 123 8756 UK mobile: +44 (0) 794 293 0648 Skype: gmcgeachie Twitter: metadatajunkie Email: George.McGeachie @ MetadataMatters.com Blog: http://metadatajunkie.wordpress.com/