1 nVision Performance Tuning David Kurtz Go-Faster Consultancy Ltd.

Slides:



Advertisements
Similar presentations
HR7.5 Department Security Tree Tuning
Advertisements

1 SQL Best Coding Practice in PeopleTools 7.x David Kurtz Go-Faster Consultancy Ltd.
1 SQL Best Coding Practice in PeopleTools 7.x David Kurtz Go-Faster Consultancy Ltd.
PeopleSoft Ping David Kurtz
1 of 22 International Reports Phase 2/ DA0539-w1 Last updated: International Reports Phase 2.
Performance Tuning Compiled from: Oracle Database Administration, Session 13, Performance, Harvard U Oracle Server Tuning Accelerator, David Scott, Intec.
Go-Faster Consultancy Ltd.1 Experiences of Global Temporary Tables in Oracle 8.1 David Kurtz Go-Faster Consultancy Ltd.
PeopleTools Application Server & BEA Tuxedo Internals
UKOUG DBMS SIG www.go-faster.co.uk1 Materialized Views: Simple Replication? David Kurtz Go-Faster Consultancy Ltd.
General Ledger Fiscal Year End Closing out WELCOME! To the Year End Workshop. During this workshop and presentation, references will be made to.
Graphing AWR Data in Excel
Global Payroll Performance Optimisation - I David Kurtz Go-Faster Consultancy Ltd.
Aphorisms David Kurtz Go-Faster Consultancy Ltd.
1 PeopleSoft for the DBA David Kurtz Go-Faster Consultancy Ltd.
STATE OF CONNECTICUT Core-CT Project April and May 2007.
PIA Load Balancing, JVMs and Garbage Collection David Kurtz Go-Faster Consultancy Ltd.
An introduction to SQL*Trace, TKPROF and Execution Plans
CS CS4432: Database Systems II Logical Plan Rewriting.
1 Tuning with Oracle’s SQL Trace David Kurtz Go-Faster Consultancy Ltd.
PrimeSoft Solutions (K) Ltd SAVCO 3.5 & 4.x Loan Applications.
6/13/2005University of Maine System 1 General Ledger GL Inquiry Pages.
Advanced DatabaseTechniquesAdvanced DatabaseTechniques Optimisation & Performance Tuning University of Derby - School of Maths & Computing  University.
1 Internal Table / DB Alternatives Analysis of Various Table Lookup Approaches.
Preparing for New Fiscal Years. We know that January 1 is an important date. Why? When businesses reach the end of a fiscal year, there are a lot of things.
Getting to Know Grants: Peoplesoft General Ledger Web Reports – Budget Variance, Income Statement and Grants.
Advanced Accounting In WebTMA Luis Pino or JT Young TMA Systems.
AN INTRODUCTION TO EXECUTION PLAN OF QUERIES These slides have been adapted from a presentation originally made by ORACLE. The full set of original slides.
Executing Explain Plans and Explaining Execution Plans Craig Martin 01/20/2011.
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance.
Week 6.  Need to update certain general ledger accounts at the end of the fiscal period.  Reflect “internal” transactions ◦ Supplies used ◦ Prepaid.
Project Implementation for COSC 5050 Distributed Database Applications Lab3.
Completing the Accounting Cycle – Part II Chapter 4 1.
Unicode Oddity. from a Unicode PeopleSoft Database SELECT emplid, name, LENGTH(name), BLENGTH(name) FROMps_personal_data WHEREemplid = '007’ ; EMPLID.
Using ODBC drivers with Windows Applications.  Slightly Different steps for each release.  These steps are for  Creating a Query.  Autofilter.
Closing Entries The Why and the How….. Closing Temporary Accounts Income Summary Revenue Expenses We close revenue and expense accounts into a temporary.
NVision Reporting Office of the Controller. Objective 1.Budget Inquiries & Budget Status Report 2.Overview of some useful Queries 3.nVision Financial.
Module 4 Database SQL Tuning Section 3 Application Performance.
CERN IT Department CH-1211 Geneva 23 Switzerland t Oracle Tutorials CERN June 8 th, 2012 Performance Tuning.
SQL/Lesson 7/Slide 1 of 32 Implementing Indexes Objectives In this lesson, you will learn to: * Create a clustered index * Create a nonclustered index.
Accounting Events.
Oracle eBusiness Financials R12 Oracle Assets Functional Overview TCS Oracle Practice.
Computer Science 101 For Statement. For-Statement The For-Statement is a loop statement that is especially convenient for loops that are to be executed.
22 Copyright © 2009, Oracle. All rights reserved. Filtering Requests in Oracle Business Intelligence Answers.
Inquiries Oracle Subledger Accounting. Objectives After completing this lesson, you should be able to: Drill-down from a transaction view to the accounting.
CENTURY 21 ACCOUNTING © 2009 South-Western, Cengage Learning LESSON 8-1 Recording Adjusting Entries.
Database Systems, 8 th Edition SQL Performance Tuning Evaluated from client perspective –Most current relational DBMSs perform automatic query optimization.
親愛的吉姆舅舅: 今天吃完晚餐後,奶奶說,在家 裡情況變好以前,您要我搬到城裡跟 您住。奶奶有沒有跟您說,爸爸已經 好久沒有工作,也好久沒有人請媽媽 做衣服了? 我們聽完都哭了,連爸爸也哭了, 但是媽媽說了一個故事讓我們又笑了。 她說:您們小的時候,她曾經被您追 得爬到樹上去,真的嗎? 雖然我個子小,但是我很強壯,
ΜΕΤΑΣΥΛΛΕΚΤΙΚΗ ΦΥΣΙΟΛΟΓΙΑ ΕΡΓΑΣΤΗΡΙΟ 3. Μετασυλλεκτική Εργ3-Λιοσάτου Γ.2 ΒΙΟΛΟΓΙΚΟΙ ΠΑΡΑΓΟΝΤΕΣ ΠΟΥ ΕΠΗΡΕΑΖΟΥΝ ΤΗ ΦΘΟΡΑ ΤΩΝ ΟΠΩΡΟΚΗΠΕΥΤΙΚΩΝ Αναπνοή Η λειτουργία.
CENTURY 21 ACCOUNTING © Thomson/South-Western LESSON 8-3 Preparing a Post-Closing Trial Balance.
Index An index is a performance-tuning method of allowing faster retrieval of records. An index creates an entry for each value that appears in the indexed.
ACTIVITIES OF ACCOUNTS BRANCH COMPUTERISED
Requisitions from Stock
Oracle Tuning Practice
Posting Special Journal Totals to a General Ledger
The Benefits of using SmartList Builder
EasyReporting Toolset – Tips Using Drill Down
NextGen Trustee General Ledger Accounting
BUSINESS HIGH SCHOOL-ACCOUNTING II
اثرات گرمايش جهاني تغييرات آب و هوا، تأثيرات عميق و شديدي بر بسياري از عوامل اساسي موثر بر سلامت از جمله : آب، غذا، هوا و محيط زيست دارد كه اين مورد خود.
EasyReporting Toolset – Tips Using Drill Down
!'!!. = pt >pt > \ ___,..___,..
Introduction to Customizing Reports in SAP
Posting Special Journal Totals to a General Ledger
Posting Special Journal Totals to a General Ledger
Ашық сабақ 7 сынып Файлдар мен қапшықтар Сабақтың тақырыбы:
Windows басқару элементтері
Controller’s Corner August 24, 2016
Қош келдіңіздер!.
Информатика пән мұғалімі : Аитова Карима.
Presentation transcript:

1 nVision Performance Tuning David Kurtz Go-Faster Consultancy Ltd.

2 nVision Performance Options Match Indexes to Analysis Criteria Oracle: choice of optimiser

3 PS/nVision ledger analysis - special processing drill down –unroll roll-up reporting analysis by attribute –attribute held in a tree TREESELECTnn generate matrix

4 nVision ->options Show Report SQL –See each SQL before it is executed SQL Trace Oracle Trace 3-tier PSQRYSRV –from PT 7.54, 7.05

5 Show Report SQL Window appears just before the SQL that is contains is executed.

6 SQL Statement SELECT L1.TREE_NODE_NUM, A.DEPTID, SUM(A.POSTED_TOTAL_AMT) FROM PS_LEDGER A, PSTREESELECT06 L, PSTREESELECT06 L1 WHERE A.LEDGER='ACTUALS' AND A.FISCAL_YEAR=1995 AND A.ACCOUNTING_PERIOD BETWEEN 1 AND 12 AND A.BUSINESS_UNIT='M04' AND L.SELECTOR_NUM=214 AND A.ACCOUNT>= L.RANGE_FROM_06 AND A.ACCOUNT <= L.RANGE_TO_06 AND (L.TREE_NODE_NUM BETWEEN AND OR L.TREE_NODE_NUM BETWEEN AND ) AND L1.SELECTOR_NUM=216 AND A.PRODUCT=L1.RANGE_FROM_06 AND L1.TREE_NODE_NUM BETWEEN AND AND A.DEPTID IN ('21200', '21300', '21401', '31000') AND A.CURRENCY_CD=USD' AND A.STATISTICS_CODE=' ' GROUP BY L1.TREE_NODE_NUM, A.DEPTID

7 Which trees SELECT L1.TREE_NODE_NUM, A.DEPTID, SUM(A.POSTED_TOTAL_AMT) FROM PS_LEDGER A, PSTREESELECT06 L, PSTREESELECT06 L1 WHERE A.LEDGER='ACTUALS' AND A.FISCAL_YEAR=1995 AND A.ACCOUNTING_PERIOD BETWEEN 1 AND 12 AND A.BUSINESS_UNIT='M04' AND L.SELECTOR_NUM=214 AND A.ACCOUNT>= L.RANGE_FROM_06 AND A.ACCOUNT <= L.RANGE_TO_06 AND (L.TREE_NODE_NUM BETWEEN AND OR L.TREE_NODE_NUM BETWEEN AND ) AND L1.SELECTOR_NUM=216 AND A.PRODUCT=L1.RANGE_FROM_06 AND L1.TREE_NODE_NUM BETWEEN AND AND A.DEPTID IN ('21200', '21300', '21401', '31000') AND A.CURRENCY_CD=USD' AND A.STATISTICS_CODE=' ' GROUP BY L1.TREE_NODE_NUM, A.DEPTID

8 Which trees Use selector numbers from query to identify trees select * from pstreeselctl where selector_num in(214,216) SETID TREE_NAME EFFDT VERSION SELECTOR_NUM SELECTOR_ T LENGTH MFG MFG_PRODUCTS 01-JAN AUG-99 R 6 MFG ACCTROLLUP 01-JAN AUG-99 R 6

9 Without performance options

10 With performance options

11 Security for performance options

12 nVision Performance Options

13 Resultant SQL SELECT L1.TREE_NODE_NUM, A.DEPTID, SUM(A.POSTED_TOTAL_AMT) FROM PS_LEDGER A, PSTREESELECT06 L1 WHERE A.LEDGER='ACTUALS' AND A.FISCAL_YEAR=1995 AND A.ACCOUNTING_PERIOD BETWEEN 1 AND 12 AND A.BUSINESS_UNIT='M04' AND (A.ACCOUNT='400000' OR A.ACCOUNT BETWEEN '401000' AND '403000' OR A.ACCOUNT='410000' OR A.ACCOUNT='420000' OR A.ACCOUNT='499999') AND L1.SELECTOR_NUM=216 AND A.PRODUCT=L1.RANGE_FROM_06 AND L1.TREE_NODE_NUM BETWEEN AND AND A.DEPTID IN ('21200', '21300', '21401', '31000') AND A.CURRENCY_CD='USD' AND A.STATISTICS_CODE=' ' GROUP BY L1.TREE_NODE_NUM, A.DEPTID

14 Appropriate Index LEDGERsingle value FISCAL_YEARsingle value ACCOUNTING_PERIODrange of values BUSINESS_UNITone value ACCOUNTsome values/ranges PRODUCTequi-joined to L1 DEPTID some values CURRENCY_CD one value STATISTICS_CODE one value grouped by L1.TREE_NODE_NUM, DEPTID

15 Appropriate Index FISCAL_YEARsingle value DEPTID some values LEDGERsingle value BUSINESS_UNITsingle value PRODUCTequi-joined to L1 ACCOUNTsome values/ranges CURRENCY_CD single value STATISTICS_CODE single value ACCOUNTING_PERIODrange of values grouped by L1.TREE_NODE_NUM, DEPTID

16 Oracle Optimiser Mode Queries are flat - no correlated sub-queries Rule based optimiser follows the links Cost based optimiser, sometimes doesnt GL nVision queries perform well under Cost Base Optimiser

17 If using Oracle Rule Based Optimiser Rename PSTREESELECTnn to PSTREESELECTnn_TBL CREATE VIEW PSTREESELECTnn AS SELECT /*+ALL_ROWS*/ * FROM PSTREESELECTnn_TBL

18 If using Oracle 8.x The Cost Based Optimiser in invoked by –Parallelism –Partitioning

19 Non-Ledger queries Query is defined in PS/Query

20 nVision Performance Options Match Indexes to Analysis Criteria Oracle: choice of optimiser non-GL queries are different

21 nVision Performance Tuning David Kurtz Go-Faster Consultancy Ltd.