Set the Document Body Serialization Threshold Property

When the size of the documents increase, there is a significant increase in the use of resources for serialization and deserialization of the business process context.

About this task

When you install Sterling B2B Integrator, the default value is documentInlineSerializationThreshold = 102400 bytes.

If the business process requires the use of the document body at almost every step, the number of database reads may use more resources than serialization or deserialization. In such a scenario, set the value higher. If, however, the documents are large and used infrequently, set the value lower.

To increase performance, in the install_dir/properties/jdbc.properties.in file, perform the following actions:

Procedure

  1. In the install_dir/properties/jdbc.properties.in file, add the following line:
    stream_threshold_bytes = &tune.noapp.documentInlineSerializationThreshold;
  2. Set the value of the tune.noapp.documentInlineSerializationThreshold property in the install_dir/properties/tuning.properties file according to your document size.
  3. From the Administration menu, select Operations > System > Troubleshooter.
  4. In the System Troubleshooting page, click Soft Stop.
    This stops Sterling B2B Integrator. For more information about the softstop process, refer to Completing a Soft Stop of Sterling B2B Integrator from the System Troubleshooter
  5. From the install_dir/bin directory, run one of the following commands:
    • (For UNIX or Linux) setupfiles.sh
    • (For Windows) setupfiles.cmd
    The performance configuration changes populate the initial setup files that are used during startup.
  6. From the install_dir/bin directory, start Sterling B2B Integrator by running one of the following commands:
    • (UNIX or Linux) run.sh
    • (Windows) startWindowsService.cmd
    Sterling B2B Integrator starts, and the updated performance configuration settings are applied.