Академический Документы
Профессиональный Документы
Культура Документы
Hands-On Lab:
CA PPM Data Warehouse
Bryan Temple
CA PPM
CA Technologies
Session Number ICX07L
#CAWorld
Abstract
Bryan
Temple
CA Technologies
Sr. Engineering
Services Architect
Agenda
1
Integrated
Data Warehouse
Non-Volatile
Time Variant
CA PPM
Database
Jaspersoft Reports,
Ad Hoc Views &
Domains
Load Data
Warehouse job
(embedded Pentaho
Data Integration)
o Pentaho Data Integrator is
embedded within CA PPM. The
data transformation and load runs
as a CA PPM job.
Data
Warehouse
The data warehouse schema resides on another database server taking the stress
off the transactional CA PPM database.
The data warehouse carries keys and descriptive values in the dimension tables so
fewer joins are required. Facts are combined into summary and period tables.
With the exception of configuration and meta tables, the data warehouse tables
are user friendly to report against.
Similar tables are grouped together by the table prefix and the names are very
descriptive.
Column naming
In the CA PPM database, manager points to the user ID and resource points to the resource ID, or code,
which makes it inconsistent. In the data warehouse, resource columns (manager_key, resource_key, etc.)
are always the resource_key.
Date/time storage
Specific time slice requests are set up to populate the data warehouse. Defaults are set but can be
modified.
In the CA PPM database, the finish/end dates do not always match those displayed in CA PPM. Database
functions in queries must be leveraged to determine the correct date. In the data warehouse, the
finish/end dates always match CA PPM.
2014 CA. ALL RIGHTS RESERVED.
Code versus ID
In the CA PPM financial tables, codes are used instead of IDs. The data warehouse
always uses the numeric key of the dynamic lookups.
Database tuning
Since the data warehouse is separate from the CA PPM database, the database
can be tuned differently for optimal performance.
The data warehouse is extendable without customization. A flag has been added
to Studio objects and attributes that control whether the data warehouse load job
automatically adds custom objects and attributes.
10
The CSA data warehouse properties allow you to configure the basic data
warehouse credentials and settings. This database can be on the same physical
server, a different instance on the same server, or on a different server. This
depends on the size of the CA PPM database.
11
12
Time slices with the Data Warehouse flag checked determine the ranges for the
facts in the data warehouse.
Defaults
Verify these ranges work for your company. If not, you can update the From Date and
Periods in the time slice request.
All monthly time slices should have the same From Date and Number of Periods.
(The same applies for Weekly, etc.).
13
14
Two jobs exist in CA PPM for loading the data warehouse. These jobs are
independent of one another.
Load the Data Warehouse Security Privileges: Loads the security for investments and
resources. The table is truncated and rebuilt each time.
Load the Data Warehouse: This is the core job that analyzes the meta data, creates
new objects and attributes (if needed), loads the dimensions, lookups and facts.
Parameter:
Data Warehouse Full Reload If checked, this will truncate
and rebuild the data warehouse. Otherwise, only
incremental changes are processed.
16
17
DWH_FIN
DWH_INV
DWH_LKP
DWH_META - Meta data tables that help determine the data warehouse structure
DWH_RES
18
19
Data Type
Description
[lookup_name]_key
Number or
Varchar(30)
The key value of the lookup. If the hidden key in CA PPM is lookup_enum, then the key
in the data warehouse will be populated with the lookup_enum. Same for
lookup_code.
Example: investment_status_key
language_code_key
Number
language_code
Varchar(30)
[lookup_name]
Varchar(255)
sort_order
Number
Sort order is used to specify a specific order in which the user wants to see the values
is_active
Number
clarity_updated_date
Date
dw_updated_date
Date
20
Data Type
Description
[lookup_name]_key
The key value of the dynamic lookup. Depends on the NSQLs hidden value
language_code_key
Number
language_code
Varchar(30)
[lookup_name]
clarity_updated_date
Date
dw_updated_date
Date
21
If the dimension has language dependent lookups, a table ending with _ln carries the language
dependent descriptions.
Fact Table
Aggregation
dwh_fin_transaction_facts
Daily
dwh_tme_entry_facts
Daily
dwh_fin_benefit_period_facts
Fiscal Period
dwh_fin_plan_period_facts
Fiscal Period
dwh_inv_assign_period_facts
dwh_inv_task_period_facts
dwh_inv_team_period_facts
Investment facts
dwh_inv_period_facts
Resource Facts
dwh_res_period_facts
23
If matching summary numbers to period facts, qualify the period facts by a period type.
Internal Fact Tables start with a dwh_x_. These tables are used to populate the
period and summary fact tables in the most efficient way. They are not for user
consumption.
Fact Description
24
Fact Table
dwh_fin_benefit_summary_facts
dwh_fin_plan_summary_facts
dwh_inv_assign_summary_facts
dwh_inv_task_summary_facts
dwh_inv_team_summary_facts
Investment facts
dwh_inv_summary_facts
The Investment period facts table contains over 110 different facts.
25
DWH_INV_TEAM_LN
27
SELECT i.investment_manager,
i.investment_name,
t.resource_name,
t.role_name,
tl.booking_status,
tl.request_status,
p.period_start_date,
tf.alloc_hours,
tf.alloc_cost
FROM
dwh_inv_team t
INNER JOIN dwh_inv_team_ln tl ON t.team_key = tl.team_key
INNER JOIN dwh_inv_investment i ON t.investment_key = i.investment_key
INNER JOIN dwh_inv_team_period_facts tf ON t.team_key = tf.team_key
INNER JOIN dwh_cmn_period p ON tf.period_key = p.period_key
WHERE SYSDATE BETWEEN p.year_start_date AND p.year_end_date
AND
p.period_type_key = 'MONTHLY'
AND
tl.language_code = 'en'
28
29
30
31
32
33
34
35
Issue Management
WBS Structure
Exchange Rates
OBS Hierarchy
Resource Assignments
Summary Facts
Investment Applications
Resources
Investment Assets
Custom Attributes
Investment Ideas
Risk Management
TSV Values
Team Allocations
Investment Products
Time Entry
Investment - Projects
PMO Accelerator
Investment Services
Time Sheets
Baseline History
Earned Value History
Incidents
Portfolio Management
Resource Skills
Scenarios
36
Management Cloud
37
Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in
this presentation, CA may make such release available to new licensees in the form of a regularly scheduled major product release. Such
release may be made available to licensees of the product who are active subscribers to CA maintenance and support, on a when and ifavailable basis. The information in this presentation is not deemed to be incorporated into any contract.
38