Deploy Clustered Nodes Improving Server Performance

Oracle Adapters Performance Tuning 17-3

17.2.3 Outbound Performance Best Practices

The Oracle File and FTP Adapters provide parameters that can be used to tune the performance of outbound operations. The table below describes the outbound performance parameters: Parameter Type Value Description ConcurrentThresho ld JCA property name=ConcurrentT hreshold value=100 Default: 20 In this case, not more than 20 translations occur for a particular outbound scenario. This parameter specifies the maximum number of translation activities that are allowed to start in parallel for a particular outbound scenario. The translation step during the outbound operation is CPU intensive and must be monitored as it might cause other applications or threads to starve. The maximum value is 100. Defined in the Outbound JCA File. Parameter Type Value Description UseStaging JCA property name=UseStaging value=true Default: True If the parameter is set to true, then the outbound Oracle File or FTP Adapter writes translated data to a staging file and later streams the staging file to the target file. If the parameter is set to false, then the outbound Oracle File or FTP Adapter does not use an intermediate staging file. Defined in Outbound JCA File. serializeTranslati on Endpoint Property reference name=PurchaseOrder Out interface.wsdl interface=.... binding.jca config=PurchaseOrd erOut_ftp.jca property name=serializeTran slation type=xs:string many=false source= override=maytrue property reference Defaults: ■ True If the value of UseStaging is set to True ■ False If the value of UseStaging is set to False If True, then the translation step is serialized using a semaphore. The number of permits for semaphore monitoring the translation step comes from ConcurrentThreshold parameter listed in the preceding table. The default value of True is used because the translation step is CPU intensive and you do not want to starve other applications or threads. If False, then the translation step occurs outside the semaphore. Defined in Binding property for reference in composite.xml. 17-4 Oracle Fusion Middleware Performance and Tuning Guide

17.3 Oracle JCA Adapter for Database Tuning

The Oracle Database Adapter is pre-configured with many performance optimizations. You can, however, make some changes to reduce the number of round trips to the database, as described in the following sections: ■ JCA Adapter Basic Tuning Considerations ■ Existence Checking

17.3.1 JCA Adapter Basic Tuning Considerations

Adapter performance is directly related to the number of round-trips to the database, and the network cost of each trip. If performance becomes an issue, and making modifications is appropriate for your deployment, consider tuning the following parameters: ■ Use Indexes Indexes can improve performance of selects, updates and deletes. Index all queried fields, such as the primary key and the MarkReadField of the LogicalDeletePollingStrategy, when polling. For MarkReadField specify a non-null MarkUnreadValue. Caution: An index on a column containing many nulls may revert to full table scans. ■ Disable OptimizeMerge The OptimizeMerge parameter allows the detection of XML elements for which no value was specified. The related columns are excluded from inserts and updates. Disabling this parameter generally improves performance, but there is one case where it could have a negative effect. If multiple rows are being passed in as a single XML, and each row has different columns set user entered with many optional fields, there is no benefit from batch writing, as each insert or update is different. inMemoryTranslatio n Binding Property reference name=PurchaseOrder Out interface.wsdl interface=.... binding.jca config=PurchaseOrd erOut_ftp.jca property name=inMemoryTrans lation type=xs:string many=false source=override= mayfalsepropert y reference Default: False This parameter is applicable only if UseStaging is False. If True, then the translation step occurs in-memory an in-memory byte array is created. If False, then the adapter creates an output stream to the target file FTP, FTPS, and SFTP included and allows the translator to translate and write directly to the stream. Defined in Binding property for reference in composite.xml. Note: The tuning considerations in this chapter are listed for example only. Tuning parameters are specific to each deployment. Review you current usage and performance issues to determine which tuning considerations can improve performance. Parameter Type Value Description