PeopleSoft Instrumentation © PeopleSoft: A Properly Instrumented Application? David Kurtz Go-Faster Consultancy Ltd.

Slides:



Advertisements
Similar presentations
Focusing Your Oracle Database Tuning Efforts For PeopleSoft Applications Bobby Durrett U. S. Foodservice, Inc.
Advertisements

What's a Proxy Printer Provider? PWG WIMS-CIM Working Group Rick Landau Dell, CTO Office 2008/08/08 v0.2.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
6 Copyright © 2005, Oracle. All rights reserved. Building Applications with Oracle JDeveloper 10g.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
PHP II Interacting with Database Data. The whole idea of a database-driven website is to enable the content of the site to reside in a database, and to.
Enterprise Java and Data Services Designing for Broadly Available Grid Data Access Services.
Overview Environment for Internet database connectivity
What the Search Engines are up to Now: same ingredients different recipes Karen Blakeman RBA Information Services, UK 02 June 20141Karen Blakeman
DB-Time-based Oracle Performance Tuning: Theory and Practice
PeopleSoft Ping David Kurtz
Suite Suite 2 TPF Software – Overview Binary Editor Remote Scripts zTREX Add-Ins & Project Integration with Source Control Manager.
A presentation by Werardt Systemss P Ltd An Online Machine Monitoring System.
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Overview of performance tuning strategies Oracle Performance Tuning Allan Young June 2008.
QA practitioners viewpoint
Instrumentation1 PeopleSoft: A Properly Instrumented Application? David Kurtz Go-Faster Consultancy Ltd.
1 Further Experiences of Global Temporary Tables in Oracle 8.1 David Kurtz Go-Faster Consultancy Ltd.
Modelling a Complex Batch Schedule in PeopleSoft 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.
Database System Concepts and Architecture
© 2008 Security Compass inc. 1 Firefox Plug-ins for Application Penetration Testing Exploit-Me.
ArrayExpress Query Interface Gonzalo Garc í a Lara January, / 24.
Chapter 9: The Client/Server Database Environment
Lecture plan Information retrieval (from week 11)
UFCE8V-20-3 Information Systems Development 3 (SHAPE HK)
Executional Architecture
DB Relay An Introduction. INSPIRATION Database access is WAY TOO HARD The crux.
Graphing AWR Data in Excel
Practical Guidance on the Use of PeopleSoft Performance Monitor
Collaborate08 PeopleTools 8.48/9© PeopleTools 8.48/8.49 New Database Features David Kurtz Go-Faster Consultancy Ltd.
Global Payroll Performance Optimisation - I David Kurtz Go-Faster Consultancy Ltd.
1 PeopleTools 8.45 Upgrade Musings David Kurtz Go-Faster Consultancy Ltd.
This presentation is licensed under a Creative Commons Attribution 3.0 LicenseCreative Commons Attribution 3.0 License The future of search: localisation,
Oracle Hyperion Financial Data Quality Management Considerations for a scaled, expedited and integrated approach on data quality NCOAUG – Aug 15, 2008.
SQL*Fingerprints David Kurtz
PIA Load Balancing, JVMs and Garbage Collection David Kurtz Go-Faster Consultancy Ltd.
An introduction to SQL*Trace, TKPROF and Execution Plans
Row Migration can Aggravate Contention on Cache Buffer Chains Latch David Kurtz Go-Faster Consultancy Ltd.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Peoplesoft Fundamentals David Lewis 10/18/02 (adapted from Psoft Training Materials)
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
1 Tuning PL/SQL procedures using DBMS_PROFILER 20-August 2009 Tim Gorman Evergreen Database Technologies, Inc. Northern California Oracle.
Practical Advice and Guidance on the use of PeopleTools Performance Monitor David Kurtz Go-Faster Consultancy Ltd.
AJAX Chat Analysis and Design Rui Zhao CS SPG UCCS.
Server-side Scripting Powering the webs favourite services.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
(Chapter 10 continued) Our examples feature MySQL as the database engine. It's open source and free. It's fully featured. And it's platform independent.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
CH1. Hardware: CPU: Ex: compute server (executes processor-intensive applications for clients), Other servers, such as file servers, do some computation.
Oracle9i Performance Tuning Chapter 12 Tuning Tools.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Presented by Vishy Grandhi.  Lesson 1: AX Overview  Lesson 2: Role based security  Lesson 3: Monitoring  Troubleshooting.
ECHO A System Monitoring and Management Tool Yitao Duan and Dawey Huang.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
Troubleshooting Dennis Shasha and Philippe Bonnet, 2013.
Enterprise Resource Planning - PeopleSoft. An ERP system is a business support system that maintains in a single database the data needed for a variety.
Basics Components of Web Design & Development Basics, Components, Design and Development.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Oracle Database Architectural Components
SQL Database Management
Running a Forms Developer Application
PHP / MySQL Introduction
Presentation transcript:

PeopleSoft Instrumentation © PeopleSoft: A Properly Instrumented Application? David Kurtz Go-Faster Consultancy Ltd.

PeopleSoft Instrumentation © Oracle Database Specialist –Independent consultant System Performance tuning –PeopleSoft ERP –Oracle RDBMS UKOUG Director Book – Who Am I?

PeopleSoft Instrumentation © UK Oracle User Group Annual Conference –Birmingham UK –1-5 December 2008 Call for Papers is open –

PeopleSoft Instrumentation © Agenda Instrumentation –Oracle RDBMS –PeopleSoft PeopleTools

PeopleSoft Instrumentation © Resources If you can’t hear me say so now. Please feel free to ask questions as we go along. The presentation will be available from Conference website Article in UKOUG Oracle Scene magazine

PeopleSoft Instrumentation © Taking the Con out of Fusion Project Fusion is a new ERP application suite that Oracle will develop. Taking the best bits from: –Oracle’s own E-Business suite –PeopleSoft –JD Edwards –Siebel All of which are now legacy applications!?

PeopleSoft Instrumentation © What databases will Fusion Support? Not just Oracle RDBMS? –SQL Server? –DB2?

PeopleSoft Instrumentation © Performance Tuning We do not use ratio based tuning any more. –Especially the buffer cache hit ratio We do use timed event based tuning. Further reading: –YAPP – Kolk, Yamaguchi, and Viscusi –Optimising Oracle Performance - Millsap & Holt –The Goal – Eli Goldratt

PeopleSoft Instrumentation © Performance Instrumentation Oracle does understand instrumentation. –Instrumentation is built in throughout the database kernel. PeopleTools 8.44 upwards includes Performance Monitor. –Instrumentation built into PeopleSoft technology.

PeopleSoft Instrumentation © Oracle RDBMS Instrumentation Dynamic Performance Views –Statspack –AWR / ADDM / ASH (licensed extras) Trace/Dump to operating system files –Enhanced by setting events –Profilers

PeopleSoft Instrumentation © What does this instrumentation do for us? If you have a performance problem, then you can determine exactly what the database is doing, and how long that is taking. –It can also prove that the problem is not located in the database! Hence, you can work out what to do about it.

PeopleSoft Instrumentation © Event Level 8 a.k.a. SQL*Trace with timed event information Includes –Every SQL Statement How long it took to parse/execute/fetch –Row source operation list How long each operation took –STATISTICS_LEVEL –Every event for which the database waits Can then profile with TKPROF, Trace File Analyzer, Hotsos or other profilers

PeopleSoft Instrumentation © Nørgaard’s Law Every 18 months one of your vendors will add another tier or layer of software somewhere in your stack. Below the database –SAN, Cache, Raid Controller Above the database –Application Server, Web Server, Java, E-WAN (Ever Wider Area Network), Encryption, Browser, Javascript

PeopleSoft Instrumentation © You probably don’t need event 10046! SQL*Net Message from Client –Idle Event? –Database is Idle, but is the user idle? –Or is something else active in the technology stack (so the user is still waiting)? This event cannot distinguish between these conditions. You probably won’t get all you need from event 10046!

PeopleSoft Instrumentation © Timed Event Information Oracle timed events tell us about the database. We need similar information for every element in the technology chain. PeopleSoft realised this and instrumented their entire technology stack. –And they got it right!

PeopleSoft Instrumentation © PeopleTools Performance Utilities New instrumentation in PeopleTools 8.4 –Query Statistics 8.44, usable from 8.45 –PeopleSoft Ping 8.42, back-ported to 8.19 –Performance Monitor 8.44

PeopleSoft Instrumentation © Performance Monitor PeopleTools 8.44 –Fully instrumented –Including a timed-event interface –Event for the application –Useful PeopleBook –Additional analytics in PT8.45

PeopleSoft Instrumentation © Performance Monitor Architecture Based upon existing PeopleSoft technology Monitored System –Send information to servlet in monitoring system Monitoring System –Monitor servlet writes results to database via PSPPMSRV process in application server Ideally PeopleTools only system database This minimises measurement intrusion effect

PeopleSoft Instrumentation © Web Server Web Server Application Server (application logic) Application Server (application logic) APPQ PSAPPSRV DBMS (application data & meta- data DBMS (application data & meta- data SQL Tuxedo Message http / https Browser (presentation & JavaScript) Browser (presentation & JavaScript) Monitoring System PIA Servlet PSPPMSRV Monitored System Web Server (presentation logic) Web Server (presentation logic) PIA Servlet DBMS (application data & meta- data DBMS (application data & meta- data Tuxedo Message http / https Browser (presentation & JavaScript) Browser (presentation & JavaScript) Screen Paint Java Script Application Server (application logic) Application Server (application logic) APPQ PSAPPSRV PSMONITORSRV SQL PPMI Servlet 0345f1003x Monitor Servlet

PeopleSoft Instrumentation © Performance Monitor Architecture Instrumentation in –Application Server processes PSMONITORSRV collects host resource statistics –Memory –CPU –Process Scheduler –PIA servlet

PeopleSoft Instrumentation © Performance Monitor Metrics Transactions –User activities in PIA that cause communications with application server –Sampled –Enabled to form a trace Events –Periodic samples –Usually initiated by monitoring agents –eg. CPU, Tuxedo counters

PeopleSoft Instrumentation © Performance Monitor Transactions User activity in PIA Performance Monitoring Unit –Hierarchy of transactions Similar to Oracle event trace –recursive actions

PeopleSoft Instrumentation © Transactions Stored to PSPMTRANSCURR table –As PMUs are closed moved to PSPMTRANSHIST –Later deleted or archived to PSPMTRANSARCH ERD downloadable from Customer Connection

PeopleSoft Instrumentation © ERD of Transaction PSTRANSHIST (C) PSPMSYSDEFN (B) PSPMAGENT (A) PSPMCONTEXTDEFN (C1) PSPMMETRICDEFN (M1) PSPMCONTEXTDEFN (C2) PSPMCONTEXTDEFN (C3) PSPMMETRICDEFN (M2) PSPMMETRICDEFN (M3) PSPMMETRICDEFN (M4) PSPMMETRICDEFN (M5) PSPMMETRICDEFN (M6) PSPMMETRICDEFN (M7) PM_CONTEXTID_n (n=1-3) PM_SYSTEMID PM_TRANS_DEFN_SET, PM_TRANS_DEFN_ID PM_AGENTID PM_METRICIDn (n=1-7) search criteria PSPMTRANSDEFN (E)

PeopleSoft Instrumentation © Metrics Metric IDs specified on transaction definition PSPMTRANSDEFN –Metrics Types defined on PSPMMETRICDEFN Type 1: Counters (including timers) –Metric 4: Total Servlet Request time (ms) Type 2: Gauges –Metric 102: %CPU Used Type 3: Numeric Identifier –Metric 20: HTTP response code Type 4: String Identifier –Metric 27: File Name

PeopleSoft Instrumentation © Transaction 101 Reported at entry and exit of PIA servlet –Context 1 Action=View Page –Context 2 IP Address= –Context 3 Session ID=AN7tpzSwpZc4kt9k8... –Additional Description psc/ps/EMPLOYEE/HRMS/c/UTILITIES.PTPERF_TES T.GBL

PeopleSoft Instrumentation © Transaction metrics –Metric 19: Response Size (bytes) =17613 –Metric 20: Response Code =200 –Metric 22: Static Content Count =0 –Metric 23: Is this a Pagelet? =0

PeopleSoft Instrumentation © Transaction Query Results PM_TOP_INST_ID PM_INSTANCE_ID PM_PARENT_INST_ID DBNAME PM_HOST_PORT PM_DOMAIN_NAME PM_AGENT_TYPE PM_INSTANCE PM_AGENT_STRT_DTTM PM_MON_STRT_DTTM OPRID PM_PERF_TRACE PM_PROCESS_ID PM_TRANS_DEFN_ID DESCR60 'CONTEXT1:'||C.PM_CONTEXTID_1||'-'||C1.PM_CONTEXT_LABEL||'='||C.PM_CONTEXT_VALUE … PM_TRANS_DURATION 'METRIC1:'||M1.PM_METRICLABEL||'='||C.PM_METRIC_VALUE1 … PM_ADDTNL_DESCR HR88 go-faster-3:7201:7202 ps WEBSERVER -1 16:12: :12: PS PS: :01: Reported at entry and exit of PIA servlet Context1:3-Session ID=AN7tpzSwpZc4kt9k8QNaCcYUWWh9FaFt! ! Context2:2-IP Address= Context3:1-Action=View Page 1322 Metric1:Response Size (bytes)=17613 Metric2:Response Code=200 Metric3:Static Content Count=0 Metric4:Is this a Pagelet?=0 Metric5:=0 Metric6:=0 Metric7:=

PeopleSoft Instrumentation © Events Certain events are defined for which the monitor agents collect metrics –Regular cycle Host resources –In response to user action PeopleSoft Ping –On an exception Jolt Exception or Query Timeout

PeopleSoft Instrumentation © Events Do not have an explicit context –Collecting agent provide context Stored in PSPMEVENTHIST –Later deleted or archived to PSPMEVETARCH

PeopleSoft Instrumentation © ERD of Events PSEVENTHIST (C) PSPMEVENTDEFN (E) PSPMSYSDEFN (B) PSPMAGENT (A) PSPMMETRICDEFN (M1) PSPMMETRICDEFN (M2) PSPMMETRICDEFN (M3) PSPMMETRICDEFN (M4) PSPMMETRICDEFN (M5) PSPMMETRICDEFN (M6) PSPMMETRICDEFN (M7) PM_AGENTIDPM_EVENT_DEFN_SET, PM_EVENT_DEFN_ID PM_SYSTEMIDsearch criteria PM_METRICIDn (n=1-7)

PeopleSoft Instrumentation © Event Query Results DBNAME PM_HOST_PORT PM_AGENT_TYPE PM_DOMAIN_NAME PM_INSTANCE PM_AGENT_DTTM PM_INSTANCE_ID PM_EVENT_DEFN_ID DESCR60 'METRIC1:'||M1.PM_METRICLABEL||'='||C.PM_METRIC_VALUE1 'METRIC2:'||M2.PM_METRICLABEL||'='||C.PM_METRIC_VALUE2 'METRIC3:'||M3.PM_METRICLABEL||'='||C.PM_METRIC_VALUE3 'METRIC4:'||M4.PM_METRICLABEL||'='||C.PM_METRIC_VALUE4 'METRIC5:'||M5.PM_METRICLABEL||'='||C.PM_METRIC_VALUE5 'METRIC6:'||M6.PM_METRICLABEL||'='||C.PM_METRIC_VALUE6 'METRIC7:'||M7.PM_METRICLABEL||'='||C.PM_METRIC_VALUE7 PM_ADDTNL_DESCR HR88 go-faster-3:7201:7202 WEBSERVER ps -1 16:12: PSPING metrics fowarded from browser Metric1:Network Latency (ms)=435 Metric2:WebServer Latency (ms)=100 Metric3:AppServer Latency (ms)=561 Metric4:DB Latency (millisecs)=451 Metric5:=0 Metric6:=0 Metric7:IP Address= PS;AN7tpzSwpZc4kt9k8QNaCcYUWWh9FaFt! !

PeopleSoft Instrumentation © Agent Filter Levels

PeopleSoft Instrumentation © Agent Filter Levels Controls amount of detail recorded in PMUs –4- standard –5 – verbose Includes SQL fetch operations Performance penalty –6 - debug

PeopleSoft Instrumentation © Analytics: System Performance

PeopleSoft Instrumentation © Analytics: Top Components

PeopleSoft Instrumentation © Performance Trace Generates a group of PMUs for activity in a user session –Choose an ID to identify records later

PeopleSoft Instrumentation © Performance Trace

PeopleSoft Instrumentation © Performance Monitoring Unit Look at PMU Tree Demonstration

PeopleSoft Instrumentation © Summary Very impressive feature rich piece of code –It could also put me out of business! In house support tool –An end use could be enabled to collect a performance trace

PeopleSoft Instrumentation © My Questions Will Fusion have a Performance Monitor? –I think it should Will it be separately licensed product? –PeopleSoft’s performance monitor isn’t

Your Questions?

PeopleSoft Instrumentation © PeopleSoft: A Properly Instrumented Application? David Kurtz Go-Faster Consultancy Ltd.