Load the rw_server.sql file to a database this file is included with your Oracle

24-34 Publishing Reports to the Web with Oracle Reports Services that takes 10 seconds to 5 minutes to run, you can set engineResponseTimeOut=5 5 minutes. 4. Set the maxConnect attribute of the connection element in the server configuration file; connection maxConnect=180 idleTimeOut=15 For more information on the connection element, refer to Section 8.2.1.5, connection . The maxConnect attribute controls how many total requests Reports Server can simultaneously handle at any moment in time. The key purpose of maxConnect is to keep Reports Server from being overcome by some runaway program or process or by a denial of service attack. It should be always set to a value that is greater than the maximum simultaneous clients. For example, if your system is expected to handle 150 simultaneous clients, you can set maxConnect to any value above 150. You can use a safety factor of 10 to 20, as follows: maxConnect = 150 + 150 0.2 = 180 5. Set the HTTP timeout value applicable to AS only. The HTTP timeout value should be set based on the time required to run the longest report in the system. If longest-running report takes 20 minutes to run, HTTP timeout should be more than 20 minutes. Otherwise, an HTTP timeout error will display when the report is still running in the server. This parameter can be set in the ORACLE_INSTANCEconfigOHSohs1httpd.conf file. Alternatively, you can set the timeout value in Oracle Enterprise Manager.

24.5 Accessing the Data

If your performance measuring tools show that the report spends a large amount of time accessing data from the data sources, you must review the structure of the data and determine how the data is being used. Inefficient schema design has a dramatic affect on the performance of a report. For example, an overly normalized data model can result in many avoidable joins or queries. This section discusses ways to review and improve the efficiency of the data used in your report: ■ Non-SQL Data Sources ■ Database Indexes ■ Calculations ■ Redundant Data ■ Break Groups ■ Group Filters ■ To Link or Not To Link Note: It is always better to run batch reports on a separate server with different engineResponseTimeOut values. Do not submit interactive and batch reports to same server.