Oracle Trace Analyzer

From: Mladen Gogala <>
Date: Thu, 3 Jan 2013 19:28:38 +0000 (UTC)
Message-ID: <>

I've just learned from the author that the venerable TRCA package uses just PL/SQL to parse the trace files. That's why it's so slow and resource consuming tkprof, orasrp and Cary's Method R profiler. There are many parsing good tools but PL/SQL is not one of them. Most of the parsing tools use finite automata which require lexer and grammar. Lexer identifies the tokens while the grammar part performs the required actions with the tokens. The most frequently used parsing tools are lex/ yacc (flex/bison) and Perl.
That is why parsing of a 30MB trace file takes 10 minutes with TRCA and it takes seconds with tkprof or orasrp.
Mladen Gogala
The Oracle Whisperer
Received on Thu Jan 03 2013 - 20:28:38 CET

Original text of this message