uniexp and uniimp commands are slower after upgrading UVMS to 6.10.101
search cancel

uniexp and uniimp commands are slower after upgrading UVMS to 6.10.101

book

Article ID: 410886

calendar_today

Updated On:

Products

Automic Dollar Universe

Issue/Introduction

The uniexp, uniimp, unidpl commands are much slower after the UVMS is upgraded to 6.10.101 or superior.

The bigger the number of roles,node views, groups, the slower the commands are in comparison with having UVMS and du_upgrade_toolkit (devopskit) on version 6.10.91 or inferior.

For example, while having the UVMS on version 6.10.71 it takes 2.5s for a command uniexp on a node when requested to export a uproc that does not exist ( with no objects defined in the node).
Simply by upgrading the same UVMS to version 6.10.111 or superior, it takes 17.5s instead.

Environment

UVMS 6.10.101 and superior

Cause

Defect DE123531 and RFE DE172323

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Univiewer.Management.Server (UVMS)
Dollar Universe 7.01.21 - Available

 

Please note that it is necessary to modify the file variables.xml that is found on the subfolder app/files of the UVMS setting the login user on the variable IMPORT_EXPORT_CLI_USER that will be launching the commands uniimp/uniexp where the performance gain will be applied.

Please note that this user MUST be dedicated to the devopskit commands (uniexp/uniimp/unidpl) and cannot be used to login with Univiewer Console.

Additionally, thanks to the RFE DE172323, it is now possible to reduce the amount of Node Views / Roles / Groups to only the needed ones (ie. only for area A and X instead of having the A,I,S,X):

  • Enable Advanced Behaviour for Default Node Views and Roles Creation:
     A new parameter has been introduced to control how UVMS creates default roles and node views upon company registration. For more information, see UVMS - Synchronization.

    For that, please set the following settings in the UVMS, launching the following from the app/bin folder of the uvms:

    unisetvar ADVANCED_DEFAULT_NV_ROLES_MANAGEMENT Y
    unisetvar DISABLE_AUTOMATIC_DEFAULT_NODEVIEWS_ROLES N

    Then you can proceed with deleting the unnecessary Roles, Node Views and Groups either via UVC or registering / unregistering a node of the area that you want to remove.

    Additional Information

    Public Title: uniexp and uniimp commands are way slower after upgrading uvms to 6.10.101

    Public Description: Performance optimization derived through a new configuration user under "IMPORT_EXPORT_CLI_USER" in variables.xml file to handle the command line executions of uniexp/uniimp commands.