Professional Documents
Culture Documents
Geoff Bazira Tools: Enterprise Reporting Central States Regional Users Group 2nd Quarter Meeting April, 23rd
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
10:45 to 11:45
PS/nVision process flow Where nVision spends its time Where you can make a difference
Environment Layout Indexing for performance Tree performance options Summary ledgers
Summary Q and A
Page 2
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Fetch
Issue
Read Get Metadata Criteria
Open
Start
Layout
Page 3
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Instance
Fetch
Issue
Read Get Metadata Criteria
Deliver
Open
Start
Layout
Page 4
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Instance
PSNVS.EXE is started
Starting PeopleTools
Preloading cache Establishing object authorization
PS/nVision Parsing Layout Criteria Digesting Report Scope and Meta Data
Page 5
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Environment tuning Layout tips Intelligent indexing Tree performance options Summary ledger
Page 7
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Environment Tuning
Microsoft Excel
Properly installed Files and Macros in the XLStart Folder Outlooks Journal Lines Entry Feature (Excel 97)
Network
Network Load Optimized NIC
Page 8
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Layout Tips
Microsoft Excel version of your layout file Distinguish Ad-Hoc Vs Batch type Instancehook macros Selected Detail Values instead of Tree joins Consider not formatting unused cells Pivot Tables performance hogs Have a power user review all layouts
Page 9
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Indexing - overview
Indexes tell the database how to find your data Sequence of fields is important
Determines how much work the database has to do to find a row
Page 10
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Page 11
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Indexing - Goals
Minimize number of indexes by designing them to cover most SQL statements against that table
Sequence columns used most at beginning of index
Make indexes effective by picking columns that segment the data table well
Sequence effective columns at beginning of index
Cardinality of column values Sparsity (Density) of column values Frequency column is used in WHERE clause How column is used in WHERE clause
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
How Used
Page 13
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Run Statistics
Poor statistics poor Execution Plan State of tables at time statistics are calculated can have a dramatic affect on performance
Page 15
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Tree Selectors
Join
Exec
Prcs Schdlr
Deliver
Open
Start
Tree Objects
Layout
Page 16
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Instance
PSTREESELECTnn L
ACCTROLLUP Tree
PS_LEDGER
PSTREESELECTnn L2
DEPARTMENTS Tree
Page 17
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
ACCTROLLUP EXP
EXPA EXPB
ASSETS CASH
1000-1499 2000-2199 Ledger Table: Static Selector: join using "BETWEEN" or ">= <=" B. U. M04 M04 M04 M04 M04 M04 M04 M04 M04 M04 M04 M04 LEDGER ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACCOUNT 1000 2001 2001 2010 2090 2090 2090 2150 2180 2180 Amount 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00
Tree Selector Table (PSTREESELECTnn): Sel # 123 123 991 991 991 991 991 991 991 Node # 1234567 1234789 1234789 1234789 1234789 1234789 1234789 1234789 1234789 From 1000 2000 2001 2010 2050 2090 2100 2150 2180 To 1499 2199
Page 18
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Customer controlled
Settings for each tree Defaults in Tree Manager Overrides in PS/nVision layout
Page 21
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
PSTREESELECTnn L1
PS_LEDGER
Suppress join
Adds detail values/ranges to WHERE clause Efficient for multiple tree reports Great with tree in scope
Literal Values
PSTREESELECTnn L
Page 22
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Dynamic selectors
Selector built for this report Contains only required part of tree Enables more streamlined join
Page 24
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Page 25
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Ranges of values
Control over join syntax BETWEEN is best on most platforms
ACCTROLLUP EXP
EXPA EXPB
ASSETS CASH
1000-1499 2000-2199 Ledger Table: Static Selector: join using "BETWEEN" or ">= <=" B. U. M04 M04 M04 M04 M04 M04 M04 M04 M04 M04 M04 M04 LEDGER ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACTUALS ACCOUNT 1000 2001 2001 2010 2090 2090 2090 2150 2180 2180 Amount 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00
Tree Selector Table (PSTREESELECTnn): Sel # 123 123 991 991 991 991 991 991 991 Node # 1234567 1234789 1234789 1234789 1234789 1234789 1234789 1234789 1234789 From 1000 2000 2001 2010 2050 2090 2100 2150 2180 To 1499 2199
Page 27
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Page 28
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
DYNAMIC SELECTOR with SINGLE VALUES: SELECT A.ACCOUNT, A.DEPTID, SUM(A.POSTED_TOTAL_AMT) FROM PS_LEDGER A, PSTREESELECT10 L, PSTREESELECT10 L1 WHERE A.LEDGER='LOCAL' AND A.FISCAL_YEAR=1995 AND A.ACCOUNTING_PERIOD BETWEEN 1 AND 12 AND A.BUSINESS_UNIT='US001' AND L.SELECTOR_NUM=215 AND A.ACCOUNT>= L.RANGE_FROM_10 AND A.ACCOUNT <= L.RANGE_TO_10 AND L.TREE_NODE_NUM BETWEEN 101694916 AND 305084745 AND L1.SELECTOR_NUM=214 AND A.DEPTID>= L1.RANGE_FROM_10 AND A.CURRENCY_CD='USD' AND A.STATISTICS_CODE=' ' GROUP BY A.ACCOUNT, A.DEPTID
Summary Ledgers
Page 30
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Summary Ledgers
Maximizing compression
Reduce number of ChartFields Consider using a summary calendar to map periods into quarters or even year-to-date Roll up one or more ChartFields using trees - store node names in Summary Ledger Review PS/nVisions Translate features
Page 31
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Run subset of reports to pre-load cache Limit number of concurrent PS/nVision instances to 5 or 6 per batch server
Page 32
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Page 33
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Critical to consistently measure performance of large reports or large batch jobs Weigh the cost of reporting time Vs Size of reports
Page 34
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Recommended Approach
Find out what performance monitoring tools your RDBMS provides Review the nVision Red Paper
Page 35
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Summary
nVision process flow Where we spend time Where we can make a difference Tools to help us Action plan
Page 36
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Extra logging capability that shows functions executed Can restart Report Requests and Reportbooks Can set time limits for PS/nVision processes Microsoft Excel concurrency issues minimized Report books and Requests can be secured as Public or Private
Page 37
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Page 38
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.
Questions?
Page 39
PeopleSoft Proprietary and Confidential, Copyright 2003 PeopleSoft, Inc. For Internal Use Only, Do not distribute outside of PeopleSoft.