08.06.2014 Views

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

4.15.8 Special considerations for large objects (LOBs)<br />

Business Process Manager workloads often use LOBs to store data. For Oracle databases,<br />

LOBs are most efficiently handled by using the file system cache, while other database<br />

activity is more efficiently managed by using concurrent I/O. So, to achieve optimal<br />

performance, the LOBs must be managed separately from other I/O activity. Use the following<br />

approach to achieve this performance:<br />

►<br />

►<br />

►<br />

►<br />

Disable concurrent I/O at the database level. For example, for AIX set filesystemio_options<br />

to asynch.<br />

Move the LOBs to separate file systems.<br />

Mount all file systems that do not have LOBs using concurrent I/O.<br />

Partition the LOB table spaces to reduce file locking contention.<br />

Also for LOBs, enable caching for LOB columns for the lsw_task_execution_context and<br />

lsw_bpd_instance_data tables<br />

4.15.9 Setting prepared statement cache size<br />

Prepared statements that are cached perform faster than those not cached. However, for<br />

Oracle databases, each prepared statement can take a significant amount of Java heap<br />

space (140 KB per statement for some cases that we have seen in Business Process<br />

Manager solutions). As such, do the following tasks:<br />

►<br />

►<br />

Judiciously set prepared statement cache sizes to be large enough to improve<br />

performance (particularly for the BPEDB data source for BPEL business processes, which<br />

realize significant benefit from the prepared statement cache).<br />

Monitor Java heap utilization to ensure that the prepared statements are not using too<br />

much heap space or causing OutOfMemory exceptions.<br />

4.15.10 Specific tuning parameter recommendations<br />

For our internal performance evaluation of the Business Process Manager 8.0 Process<br />

Server, we changed the following Oracle database settings from their default. This approach<br />

is a useful starting point for tuning the Oracle database, but follow the suggested<br />

methodology for your applications and configuration. The first four settings in the following list<br />

generally vary by workload and volume, so consult with your database administrator to<br />

determine appropriate values. Also, the last two settings work well for Business Process<br />

Manager solutions where the Oracle undo operation is typically not used, but might not work<br />

well for non-Business Process Manager databases.<br />

► memory_max_target: 25G<br />

► memory_target: 25G<br />

► processes: 500<br />

► open_cursors: 1000<br />

► undo_retention: 200<br />

► _undo_autotune: FALSE<br />

Also, edit the 98database.xml file in the profiles configuration directory, and change the<br />

following parameter to keep more threads active in the connection pool to better manage<br />

peak throughput.<br />

40<br />

90 <strong>IBM</strong> Business Process Manager V8.0 Performance Tuning and Best Practices

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

Saved successfully!

Ooh no, something went wrong!