Skip to content

scaling problem on Elements.update_element_dataframe #1184

@Cubewise-JoeCHK

Description

@Cubewise-JoeCHK

Describe what did you try to do with TM1py
We are currently facing challenges with synchronizing a large dimension (>800K elements) across TM1 instances. The requirement is to perform a full synchronization of the dimension each time. However, when utilizing the hierarchies.update_element_dataframe method, we encounter an error in the target instance due to the command line limitation of 16K in the TI process.

image

Error Encountered
The error arises from exceeding the command line length limit when attempting to execute the update.

To reproduce the use case

  1. Dimension A: This is the source dimension, which contains over 20K elements and has a complex rollup structure.
  2. Dimension B: This is the target dimension that receives updates from Dimension A. It also has a different complex rollup structure, which necessitates adding and removing edges during the update process.
  3. Use elements.get_elements_dataframe() to retrieve the element table from Dimension A.
  4. Use hierarchies.update_elements_dataframe() to update the element table in Dimension B.

Version

  • TM1py: 2.0.4
  • TM1 Server Version: 3.12.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions