01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

20.1.1 Performance Analysis Tools<br />

Methodology<br />

The first step <strong>to</strong>wards tuning your report is determining where your report spends<br />

most of its execution time. Does it spend a large portion of <strong>the</strong> time retrieving <strong>the</strong> data,<br />

formatting <strong>the</strong> retrieved data, or waiting for run time resources/distribution? Even if<br />

your report has <strong>the</strong> most streamlined and tuned layout possible, it may be of little<br />

consequence if most of <strong>the</strong> time is spent in retrieving data, due <strong>to</strong> inefficient SQL.<br />

20.1.1.1 Report Trace<br />

Setting <strong>the</strong> report tracing option produces a text file that describes <strong>the</strong> series of steps<br />

completed during <strong>the</strong> execution of <strong>the</strong> report. Tracing can be set <strong>to</strong> capture all events<br />

or just specific types of events. For example, you can trace just <strong>the</strong> SQL execution or<br />

just <strong>the</strong> layout and formatting. The trace file provides abundant information, which is<br />

useful not only for performance tuning but also for debugging reports.<br />

Tracing can be set for various methods of report execution, such as, both .rdf and<br />

.jsp report definitions containing SQL and/or non-SQL data sources (for example,<br />

XML and Text pluggable data sources).<br />

Generating a reports trace file<br />

To turn tracing on, do one of <strong>the</strong> following:<br />

■ In <strong>Reports</strong> Builder:<br />

1. Choose Program >Tracing.<br />

2. Select <strong>the</strong> Trace Mode.<br />

3. Select appropriate Trace Options. The trace file now logs information for <strong>the</strong><br />

entire <strong>Reports</strong> Builder session. Refer <strong>to</strong> Chapter 3, "Configuring <strong>Oracle</strong>AS<br />

<strong>Reports</strong> Services", for more information on Trace Options.<br />

Figure 20–1 <strong>Reports</strong> Builder<br />

■ In <strong>the</strong> rwbuilder.conf configuration file, specify:<br />

<br />

Tuning <strong>Oracle</strong> <strong>Reports</strong> 20-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!