Slow Export Troubleshooting for Templates with Large Datasets

  • Last update:June 24, 2026
  • Overview

    This document describes how to troubleshoot slow export issues for templates with large datasets.

    Procedure

    Checking the Export Request

    There are two types of export requests:

    • Requests that include the sessionID parameter

    • Requests that include the template name, for example, ?viewlet=a.cpt&op=export&format=pdf

    For requests of the first type, data is not retrieved or calculated again, because the calculation has already been completed during preview. Requests of the second type, however, do require these steps. Therefore, if a second-type export request takes too long, first review the info log and check the SQL execution time to determine whether data retrieval is the bottleneck. For details, see Troubleshooting Template Performance Issues.

    Checking the Database Driver

    For an SQL Server database, earlier versions of the JDBC driver (sqljdbc) may cause performance issues. Upgrade the driver to sqljdbc42 to resolve the issue.

    Checking the Template

    Chart

    Issue description

    If the template includes charts, the slow export issue may be caused by the absence of J2V8 on the server. Without J2V8, the system falls back to Nashorn, which delivers lower performance.

    Solution

    Upgrade GCC. For details, see Upgrade Description of Chart Export.

    WEBIMAGE Formula

    Issue description

    The WEBIMAGE formula is used in the template, and its parameter is set to your own service address rather than a directly accessible image URL. If the service responds slowly, the export slows down as well, and template previews can also be slow. In this case, check the performance of your service.

    Solution

    Remove the formula from the template, export the template again, and compare the export speed.

    Attachment List


    Theme: Performance Optimization
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy