Oracle::TraceOracle::Trace is a Perl Module for parsing Oracle Trace files. | |
Download |
Oracle::Trace Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Richard Foley
- Publisher web site:
- http://search.cpan.org/~rfoley/Perlbug-2.93/Perlbug/Format.pm
Oracle::Trace Tags
Oracle::Trace Description
Oracle::Trace is a Perl Module for parsing Oracle Trace files. Oracle::Trace is a Perl Module for parsing Oracle Trace files.SYNOPSIS use Oracle::Trace; print Oracle::Trace->new($tracefilename)->parse->test_report;Currently the parsing and statistics are very rudimentary, and in certain matters may be fundamentally flawed - you have been warned! Expect this to improve as further development takes place.newCreate a new object for a given Orace Trace file. my $o_trc = Oracle::Trace->new($tracefile);initInitialise the object (check the tracefile). $o_trc->init.opentracefilePerform basic exists/read/etc. checks on given tracefile.Returns object or undef. $o_trc = $o_trc->checkfile($tfile); headerReturn the Header object. my $o_hdr = $o_trc->header;entriesReturn Entry objects which comply with given regex criteria. my @o_ents = $o_trc->entries('type'=>'EXEC #d+', 'key'=>dep, 'value'=>0);oidsReturn the unique object ids for the currently known Entryies my @oids = $o_trc->oids;footerReturn the Footer object my $o_ftr = $o_trc->footer;test_reportReturn a simple test_report of the current object. print $o_trc->test_report('string');mini_reportReturn a simple string of descending order timings for the statements retrieved from the given objects. my $s_str = $o_trc->mini_report($i_max, @o_objs);Note that we use microsecond resolution for Oracle 9i and above and centisecond resolution otherwiseRequirements:· Perl Requirements: · Perl
Oracle::Trace Related Software