Performance Issues When Importing Locations Via db.xml (Doc ID 1513013.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.2.7 and later
Information in this document applies to any platform.

Symptoms

After setting PYTHON variables

PYTHON_VERSION=2.5
PYTHON_HOME=$GLOG_HOME/python; export PYTHON_HOME
PYTHON_LIB=$PYTHON_HOME/lib/python$PYTHON_VERSION
PYTHONPATH=$PYTHON_LIB:$PYTHON_LIB/site-packages:$PYTHON_LIB/site-packages/_xmlplus:$GLOG_HOME/utils/integration/python; export PYTHONPATH
PYTHONUNBUFFERED=1; export PYTHONUNBUFFERED

a DB.XML upload for 4 location records needed 7186 seconds (equals to 119 minutes), which is ~30 minutes per location.


This is the resulting log:


5
0
7186.29703212
1437.25940642


A success count of 5 means 4 locations and the overall transaction.

There is no error, it just takes ages to upload locations, especially if there are a lot of child records referencing them.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms