Slowness and 500 Timeout error when opening deliveries or delivery templates

This article discusses the issue where on-premises instances using Oracle as a database encounter slowness and a 500 Timeout error when opening deliveries or delivery templates.

Description description

Environment

Adobe Campaign Classic v7 (ACC v7) with Oracle DB connection

Issue

For on-premises instances that use Oracle as a database, opening deliveries or delivery templates is slow and results in 500 Timeout errors.

Steps to reproduce:

  1. Connect to Adobe Campaign Console on an on-premises instance that uses Oracle as a database.
  2. Open a delivery or a delivery template. The console freezes, and after a couple of minutes, a 500 Timeout error is displayed.
  3. Confirm with your Oracle DBA that while reproducing the slowness there’s a query on NmsDelivery table that is long.
  4. This can be noticed with Verbose and TraceFilter logs enabled in the web process as well. Refer to Log Precisionin Campaign Classic v7 documentation to enable it.

NOTE: Verbose and TraceFilter logs should be enabled only on Dev/Stage instances and not in Production.

Resolution resolution

To resolve the issue, follow these steps:

  1. Manually change the nms:delivery form by replacing:
    @linkedDelivery-id,linkedDelivery/*,
    with
    @linkedDelivery-id,linkedDelivery/@id,
  2. Save the form.
  3. Disconnect and reconnect to the Adobe Campaign Console to see the difference.

Note:

  • The query will still exist, but it will not load all the columns.
  • The above solution should be first confirmed in Dev and Stage before being applied to Production.
  • Engineering will provide this improvement under a fix in a future patch.

Cause

The slowness issue is caused by a large query that Adobe Campaign runs on the Oracle database server.

The product generates the query and loads excessive data because there is a wildcard on linkedDelivery/* in the nms:delivery form.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f