3

PeopleSoft Trace Analyzer – TraceMagic

PeopleSoft trace files contain tons of information and depending on the kind of information you need from a trace file – it can turn out to be a daunting task. Wouldn’t it be nice if there was a tool to analyze the PeopleSoft trace files? If you are ready to make sense of *.tracesql files in a fraction of the usual time, this post is for you.

TraceMagic, provided by Oracle is a utility that gives PeopleSoft system administrators, programmers and support engineers the ability to quickly isolate performance bottlenecks in SQL Statements and/or PeopleCode functions. It accomplishes this by turning the text-based, time-ordered tracesql file into a sortable-grid display, allowing the user to quickly locate system performance issues.

TraceMagic was released in July 2012 and the tool was developed by the CoE using Microsoft Visual Studio 2010. Trace Magic requires Version 4 of the Microsoft dot.net Framework. All you need to do is to download the TraceMagic zip file, unzip it and run the setup.exe program used to install TraceMagic. The setup program will inspect your machine for the presence of the prerequisite software, and request permission from the installer to download and install the required software if needed.

peoplesoft trace analyzer - TraceMagic

TraceMagic has been tested on the following platforms:

  •     Windows XP (32-bit)
  •     Windows 7 (32-bit)
  •     Windows 7 (64-bit)

Other platforms may or may not function correctly with TraceMagic. Platforms that will not run the Microsoft dot.net framework will not likely run TraceMagic. The installer will create a Start Menu Icon under “Oracle Corporation > Tools & Utilities > Trace Magic and a Desktop Icon.

TraceMagic is designed primarily to address the difficulty in working with tracesql files when attempting to determine which SQL statement(s), and or PeopleCode programs are causing performance problems. As such, it tends to assume that certain trace flags were set during the creation of the trace file. While other trace flags settings will work with this tool, it is highly recommended that the flags set during the creation of the tracesql file be those eight checked settings shown below.

trace

You can download TraceMagic as per your system configuration either from the URLs provided below or logon to My Oracle Support and search for TraceMagic to get the relevant link:

TraceMagic (32 bit)

TraceMagic (64 bit)

I had to restart my system before which TraceMagic was not displaying the results properly. Once I got through the issues – it was nice and easy to get the needful information quickly. Please use the comment box to let us know if you have any questions.

Apurva Tripathi
 

Apurva is a PeopleSoft consultant and a big advocate of everything PeopleSoft. He is also a technology enthusiast and loves learning and implementing newer and open source technologies. He spends his spare time updating this blog and likes to read books on self help and productivity.

Click Here to Leave a Comment Below 3 comments