Categories
Blog Posts Videos

Some things you probably didn’t know about Oracle tracing (Chicago edition)

Today, I had the honor of speaking online to the Chicago Oracle Users Group in their “20 in 2020” webinar series. In this presentation, I talk about why it’s OK to trace everything on your system and how to do it safely, and I explain why you’d want to do that in the first place.

Some things you probably didn’t know about Oracle tracing
Categories
Blog Posts

Example of resetting user session handle attributes in JDBC

Earlier, Mark Williams showed us how in Java to clear the session handle attributes to enable our code to be more easily traced. Because I had not seen the trace data produced when using his method, I decided to construct a test to see the trace data produced when the code does and does not execute the Connection.isValid method.

Categories
Blog Posts Videos

Some things you probably didn’t know about Oracle tracing (Dallas edition)

It really is OK to trace everything—even your whole database if you want to. But you have to do it right. This session explains how to safely trace anything you want, and why you’d want to trace your programs in the first place. This is a Dallas Oracle Users Group (DOUG) webinar presentation, recorded on 7 May 2020.

Some things you probably didn’t know about Oracle tracing
Categories
Blog Posts Videos

Method R Workbench: The Pesky, Intermittent Performance Problem

New Method R Workbench features are always inspired by needs discovered on real projects. Two new features of the soon-to-be-released Workbench 9—the radically faster mrskew utility, and a new trace file cropping utility called mrcrop—make it faster and easier than ever to shred through millions of lines of Oracle trace data to find exactly what you need. In this video, I tell the story of how to get to the bottom of a pesky, intermittent performance problem within just a couple minutes of receiving your trace files.

Categories
Blog Posts Videos

Method R Workbench: Opening HTML Files Automatically …Or Not

Whenever you load an Oracle trace file into Method R Workbench, the application automatically opens a tab on your default web browser, displaying your shareable HTML5 profile report. But when I load files during software demos, my loads usually don’t open a browser tab.

This video explains why we made opening a tab the default behavior, and why my teammates and I usually turn it off.

Categories
Blog Posts Videos

Seven Workflows Using Oracle SQL Developer and Method R Workbench

This simple, silent video shows seven common workflows for generating Oracle trace files in Oracle SQL Developer using Method R Trace and then processing the data in Method R Workbench.

Categories
Blog Posts

Resetting User Session Handle Attributes in JDBC

From Oracle Database 12.1 onward, the JDBC driver provides a convenient method called setClientInfo to set user session handle attributes in the database. There are three user session handle attributes that are useful when instrumenting your application so that it identifies itself and exposes its actions in Oracle Database (such as in the V$SESSION view):

Categories
Blog Posts

How to Make Tracing Easy

Last month (June 2018), I presented at Kscope the story of how to make it easy to collect Oracle extended SQL trace data, so you can measure exactly how an Oracle-based application consumes its user’s time. The slides are available at SlideShare.net.

Categories
Blog Posts

A Model for Predicting Response Times

One of the more challenging types of performance problem is the dreaded scenario in which the problem occurs only intermittently and is difficult to trap with your performance measurement tools. In such a situation, trace data can be an irreplaceable ally, allowing you to understand even phenomena that you’ve not yet actually measured.

Categories
Blog Posts Videos

Why You Need a Profiler for Oracle

If you use Oracle and you care about performance, then you need a profiler for Oracle. This video, created and narrated by Cary Millsap, explains why.