Report Execution Process

  • Last update:  2021-12-20
  • I. Description

    The execution process of the report can be roughly divided into two steps: 1. Report calculation; 2. Page conversion.

    • Report calculation process: first read our SQL statement, transfer the complete SQL statement to the database server, and the database returns the data to the report server. The report server performs calculations such as data column expansion, summary, association, and formula calculation, and finally generates the report result.

    • Page conversion process: After the report calculation is completed, an XML page is generated, which needs to be converted to an HTML page to be viewed in a browser.

    For this process, FineReport can be monitored in real time. The monitoring method is to set the log output level of the server to "general information", and you can see the time used in each step on the console.

    II. Steps

    1.  Set the log output level

    Open the designer, click File>Options>Advanced, select DEBUG in the Log Level Settings, as shown in the following figure:

    Note: The export log storage location can be modified in the 'log export configuration', the default is stored in the %FR_HOME%\logs\fanruan.log file. For details, please refer to: Log Introduction


    5.png


    2. Open the template

    Open the FineReport designer and open the built-in template: %FR_HOME%\webroot\WEB-INF\reportlets\GettingStarted.cpt


    3. Clear Log

    Clear the log before clicking Paging Preview. As shown below:

    6.png


    4. Browser-side access to the report

    Click Pagination Preview,enter the parameter conditions, and click query;

    After the report is fully displayed on the browser, check the information in the log window:

    7.png

    From the log, we can monitor the execution of the report in real time.

    Attachment List


    Theme: Performance Optimization
    Already the First
    Already the Last
    • 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