My Oracle Support Banner

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

Last updated on FEBRUARY 27, 2019

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:



<xml2sql>
<successCount>5</successCount>
<errorCount>0</errorCount>
<elapsedTime>7186.29703212</elapsedTime>
<TimePerTransaction>1437.25940642</TimePerTransaction>
</xml2sql>

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.