APEX Performance Analyse

Similar documents
Installation Guide. Version Last updated: August tryfoexnow.com 1 of 3

Installation Guide. Version Last updated: November. tryfoexnow.com 1 of 3

<Insert Picture Here> Using the PL/SQL Hierarchical Performance Profiler

First Steps. Release 1.1.0

<Insert Picture Here> Oracle SQL Developer: PL/SQL Support and Unit Testing

Using SQL Reporting Services with isupport

Oracle Application Express Student Guide

Oracle Application Express Workshop I Ed 2

Virto Office 365 Bulk File Upload for Microsoft SharePoint Online Release User and Installation Guide

Real Application Security Administration

Orange for Oracle DBA Edition

Oracle Application Express Schema Design Guidelines Presenter: Flavio Casetta, Yocoya.com

I, J, K. Lightweight directory access protocol (LDAP), 162

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts

Extend EBS Using Applications Express

Oracle MOOC: SQL Fundamentals

Detects Potential Problems. Customizable Data Columns. Support for International Characters

Oracle Performance Tuning. Overview of performance tuning strategies

Using SQL Developer. Oracle University and Egabi Solutions use only

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Application Express: Administration 1-2

APEX Times Ten Berichte. Tuning DB-Browser Datenmodellierung Schema Copy & Compare Data Grids. Extension Exchange.

Toad for Oracle Suite 2017 Functional Matrix

SPAR. Installation Guide. Workflow for SharePoint. ITLAQ Technologies

using PL/SQL and APEX

Connecting to the Virtual Desktop Infrastructure (VDI)

Developer. 1 enterprise. Professional Guide. Oracle Advanced PL/SQL. example questions for 1Z0-146 examination

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites

Oracle Sql Describe Schema Query To Find Table

Oracle ILM Assistant Installation Guide Version 1.4

INSTALLING LYNC SERVER 2013 EE POOL ON WINDOWS SERVER 2012

TIBCO LiveView Web Getting Started Guide

BEC. NetScaler Unmanaged VPN. Installation Guide. and. User Guide. Version

Database Administration and Management

Oracle Application Express Administration Guide. Release 18.1

Administration Guide Release 5.0

EnterSpace Data Sheet

Report Exec Dispatch System Specifications

Minimum Requirements to Operate the Moderator and Client Modules

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express

Compliance Deputy Version 5.1 User Guide

Why is My Website Running Slow? Edmond Chan & Feybian Yip Akamai Professional Services September 2018

Excel4apps Wands 5 Architecture Excel4apps Inc.

Step 7 How to convert a YouTube Video to Music As I mentioned in the YouTube Introduction, you can convert a Video to a MP3 file using Free Video To

The Cisco HCM-F Administrative Interface

About the Presenter. John Peters, JRPJR, Inc. Primarily Technology Focus

User and Reference Manual

Oracle Compare Two Database Tables Sql Query List All

Testing your TLS version

Alter Package Schema Name Package Name Compile Debug Package Specification Body

Assignment 6. This lab should be performed under the Oracle Linux VM provided in the course.

SAS STUDIO. A pretty big deal! Copyr i g ht 2012, SAS Ins titut e Inc. All rights res er ve d.

Techno Expert Solutions An institute for specialized studies!

Agresso Milestone 5 - supported platforms

PL/SQL Developer 7.0 New Features. December 2005

Building Database-Centric Web Applications Using. Oracle HTML DB

Integration Service. Admin Console User Guide. On-Premises

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Joomla Extension for CopySafe PDF -- Installation for Joomla 3 --

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile

Oracle Login Maximum Length Of Column Name In 11g Table

Installation & Configuration Guide Enterprise/Unlimited Edition

Oracle Application Express

DefendX Software Control-Audit for Hitachi Installation Guide

Joomla Extension for CopySafe WEB -- Installation --

We offer our customers the opportunity to get 100 words translated in 30 minutes by one of our expert translators.

Power BI Architecture

DNA Evolution 4.0 Workflow Guide for Automated Third-party Preview Generation

Oracle Fusion Middleware 11g: Build Applications with Oracle Forms

OrgPublisher 10 Architecture Overview

Oracle APEX 18.1 New Features

Browser Support Internet Explorer

Oracle Database. 2 Day + Application Express Developer s Guide Release 4.2 for Oracle Database 12c E

Login Troubleshooting

Integration Service. Admin Console User Guide. On-Premises

Apparo Fast Edit. Installation Guide 3.1.1

NTP Software File Auditor for Hitachi

Instructions for downloading paid media from BSO.org and playing paid media in the BSO Media Center Revised as of 12/23/2011

DBPLUS Performance Monitor for Oracle

Installation Guide. Apparo Fast Edit

Getting Started with ehealth for Voice Cisco Unity & Unity Bridge

Oracle Application Express

Application Architecture

ADDITIONAL GUIDES Customer SAP Enable Now System Requirements Customer

Using RSS Feeds for Distributing Videos. Dr. Rick Jerz St. Ambrose University Davenport, Iowa

Binary Markup Toolkit Quick Start Guide Release v November 2016

APEX installation on Linux - Step by Step

Web Database Programming

Service Quotation. School Employees LC Credit Union ATTN: Neil Sommers 340 GRISWOLD ROAD ELYRIA, OHIO USA

To create a private database link, you must have the CREATE

DreamApps. WorkSpace. A Guide to Demo Site

Coveo Platform 7.0. Microsoft SharePoint Legacy Connector Guide

EBS goes social - The triumvirate Liferay, Application Express and EBS

Oracle Application Express fast = true

Web client programming

Oracle Fusion Middleware 11g: Build Applications with Oracle Forms

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

Oracle 1Z Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP. Download Full Version :

Logging in from Home. Follow these steps:

Transcription:

APEX Performance Analyse DOAG 2018 Peter Raganitsch @PeterRaganitsch peter.raganitsch@foex.at

Tools Tools Tools

Activity Log Browser Developer Tools APEX Debug Trace Hierarchical Profiler

Co-Founder of FOEX

How to measure: Page Load

DB Time

Network Time

Client Time

= Total Time User waits

Stop Watch?

Browser Developer Tools

Google Chrome

Firefox

Safari

TTFB = Time to first Byte = DB-Time+Network-Time

(Page) Load = DB-Time+Network-Time+Client-Time

Network tab explained in detail

Save as HAR (HTTP Archive)

Review HAR Files Some Browser Developer Tools (eg. Firefox) also support loading HAR files and displaying their content

Activity Log

View APEX_WORKSPACE_ACTIVITY_LOG

View APEX_WORKSPACE_ACTIVITY_LOG

App Builder has many predefined Activity Reports

App Builder has many predefined Activity Reports

Logging can be deactivated

APEX Debug

Activate Debug in APEX as Developer

Activate Debug in APEX f?p=app:page:session::yes/levelx::: OR APEX_DEBUG.enable(p_level) OR APEX_SESSION.set_debug(p_session_id,p_level) debug messages are logged into internal rolling tables will be purged after x days (default 14)

Instance wide Debug Scripts @d0..activates/deactivates debug level 9 - instance wide @d1..lists debug sessions @d2 <id>. opens editor with debug details!attention! Every APEX session on the DB is debugged!!

View Debug Output

View Debug Output

Debug Overview

Debug Detail Information

View Debug Output

Debug Level 9 also shows the plan of executed queries

Trace

Activate Trace Mode in APEX f?p=app:page:session:::::&p_trace=yes OR APEX_SESSION.set_trace(p_session_id, SQL ) activates events (10046 trace name context forever, level 12) writes a message into APEX Debug log with the trace file identifier (as of APEX 18.1)

Trace File Identifier logged in APEX Debug *as of APEX 18.1. **APEX 19.1 will also include trace file name

Programmatically activate Trace in PL/SQL Attention! This can generate tons of trace files. Will be called for every page render/submit/ajax!!!

Get Trace File Name (new in 12.2)

Get Trace File Content (12.2)

TKPROF or SQL Developer

TKPROF or SQL Developer

Enable/Disable Trace Instance wide APEX_INSTANCE_ADMIN.set_parameter( ENABLE_TRACE, N );

Hierarchical Profiler

The PL/SQL Hierarchical Profiler

Activate HPROF in APEX f?p=app:page:session:::::&p_trace=hprof OR APEX_SESSION.set_trace(p_session_id, HPROF ) activates sys.dbms_hprof.start_profiling writes a message into APEX Debug log with the hprof file name (as of APEX 18.1)

Programmatically activate HPROF in PL/SQL

HPROF in APEX needs some setup at first setup directory and grant privileges SQL> conn / as sysdba SQL> create directory tmp as '/tmp'; SQL> grant read,write on directory tmp to APEX_xxxxxx; SQL> grant execute on dbms_hprof to APEX_xxxxxx; SQL> grant execute on dbms_hprof to <parsing-schema>; configure profile directory SQL> conn APEX_xxxxxx/... SQL> exec wwv_flow_instance_admin.set_parameter('hprof_directory','tmp');

HPROF creates files on the DB Server

File content - not very readable

Convert HPROF.trc File to readable output plshprof -output report test.trc OR DBMS_HPROF.analyze('PLSHPROF_DIR', test.trc')

HTML Report

Visualize HPROF Output Data in APEX

Enable/Disable HPROF Instance wide APEX_INSTANCE_ADMIN.set_parameter( ENABLE_TRACE, N );

Helpful Links

More links and knowledge http://www.oracle-and-apex.com - my blog will feature more detailed posts on all those tools https://developers.google.com/web/tools/chrome-devtools/network-performance/ reference#analyze http://www.softwareishard.com/har/viewer/ https://docs.oracle.com/en/database/oracle/oracle-database/12.2/adfns/hierarchicalprofiler.html https://oracle-base.com/articles/11g/plsql-hierarchical-profiler-11gr1

Thanks! Follow FOEX: @FOEXplugins FOEXPlugins foex-gmbh