Home Discussions Questions & Answers Optimizing Report Export Performance (Column Data)

Optimizing Report Export Performance (Column Data)

Avatar photoCustomer May 18, 2020 at 1:32 am

We have several hundred reports to migrate. When using the export utility, there is an option/parameter (`p_include_columns`) to include column translations and number formats. If I select this, our export slows down drastically. Why does including column details impact performance so severely?

Viewing 6 reply threads
  • Author
    Replies
    • Support May 19, 2020 at 11:36 am  

      Including column details (translations and number formats) via the `p_include_columns` parameter significantly impacts performance because it forces the database to perform an extra step for every report being exported . The database must explicitly parse all exported report SQLs in order to identify every single column name included in the query . This process is computationally intensive, especially for complex or voluminous SQLs, leading to a substantial slowdown of the export utility .

    • Avatar photoCustomer May 21, 2020 at 1:08 pm  

      When should I absolutely use this option, despite the performance hit?

    • Support May 22, 2020 at 7:10 am  

      You should only use the `p_include_columns` option if you have mandatory column configurations to migrate . Specifically, this includes cases where you have defined optional multi-language column translations or implemented column-specific number format settings that differ from the site or report defaults . If your environment only uses default formats or English column headers, you should omit this option .

    • Avatar photoCustomer May 23, 2020 at 2:24 am  

      Where are the custom number format codes defined for individual columns?

    • Support May 25, 2020 at 3:17 am  

      Custom number formats are defined in the lookup `XXEN_REPORT_NUMBER_FORMATS` . This lookup stores the internal Microsoft style IDs, which must be a numeric value above 200 (as lower IDs are reserved for Microsoft’s standard formats) . Once defined, you can reference these formats either for all columns in a report, or for individual columns using column translations .

    • Avatar photoCustomer May 26, 2020 at 5:48 am  

      If I need to update the SQL for almost all my reports (e.g., adding a specific hint), is there a tool for mass SQL modification?

    • Support May 27, 2020 at 9:08 am  

      Yes, for updating SQL text or List of Values across all reports simultaneously, you must use the Mass Change functionality, accessible via Blitz Report Setup > Tools > Mass Change . This utility allows you to enter a find-and-replace update across the entire SQL base . Always use the Preview button first to see the list of changed objects before applying the changes .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: