Notifications

892 views

Description

When a user creates or updates a field on a large table from the UI (for example, Task), the transaction may time out and be canceled by the UI Transactions Quota Rule.
This can affect the instance in different ways:
- the database operation fails and the field is not created or altered;
- the user transaction is canceled and the update is is not captured in the current update set.

Steps to Reproduce

  1. Identify a large table with numerous columns and populated with a million records or more.
  2. Choose the current Update Set.
  3. Follow one of these scenarios:
    • Create a new field from the system dictionary or from the table maintenance
    • Update the dictionary record of a field to increase the max_length

Observe the screen going blank after several minutes. The following may have occurred:

  • The field has been created in the table, but there is no record of it in the current Update Set.
  • The field was created on the database, but the related Dictionary record is missing.
  • The field length change is not done on the database, but the Dictionary record is updated. If the field was being extended, longer values will not be stored. There is no update record in the current Update Set.

Workaround

Recommended

1. If creating a new field, use the Form/List Configuration slushbucket. This will create the new field(s) using a Progress Worker which is not subject to UI Transaction Quota rules.

2. If possible, reduce the size of the affected table.

Table changes done via UI, such as adding and removing fields, or extending fields length, are commonly done on a Development instance in order to be captured in Update Sets and promoted.
If the issue occurs, for example on Task table, it likely has a large number of records (over a million). Simply reducing the number of records or excluding them during a clone prevents the issue.

Update Set commits are not user actions and are not canceled by UI Transactions Quota Rule, so the issue does not occur when deploying such Update Sets. 


Alternative

Adjust the Quota Rules to allow relevant system modules to wait longer for the database transaction to complete. Use these steps cautiously as they may affect instance performance.

  1. Navigate to System Definition > Quota Rules.
  2. Select the UI Transactions rule.
  3. Add these conditions:
    • URL does not contain sys_dictionary
    • URL does not contain sys_db_object
    • URL does not contain slushbucket.do
    • URL does not contain sys_remote_update_set.do
    • URL does not contain sys_update_set.do


Related Problem: PRB597639

Seen In

Calgary Patch 1 Hot Fix 3
Calgary Patch 4
Dublin EA 9
Dublin Patch 1
Dublin Patch 5
Eureka Patch 1 Hot Fix 2
Eureka Patch 10
Eureka Patch 11
Eureka Patch 13
Eureka Patch 13 Hot Fix 5
Eureka Patch 2
Eureka Patch 4 Hot Fix 1
Eureka Patch 7
Eureka Patch 8
Eureka Patch 9
Eureka Patch 9 Hot Fix 4
Fuji Patch 10
Fuji Patch 11
Fuji Patch 11 Hot Fix 2
Fuji Patch 12 Hot Fix 1
Fuji Patch 13 Hot Fix 1
Fuji Patch 5
Fuji Patch 7 Hot Fix 5
Fuji Patch 7 Hot Fix 9
Fuji Patch 9 Hot Fix 1
Helsinki Patch 2 Hot Fix 2
Eureka Patch 8

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-10-23 13:22:42
Published:2018-10-23