Dynamic Parameter Cache

  • Last update:  2022-03-01
  • I. Overview

    1. Version

    Report server version
    11.0


    2. Problem description

    In the user's actual usage scenario, the default parameters of some templates change every day, such as today()-1. At this time, the first visit of the day will still be slow to fetch data.


    3. Solutions

    The cache is generated in advance through task schedule and the extracted data cache function, so that the template with dynamic parameters will not be fetched slowly when it is accessed for the first time on the same day.

    II. Example

    1. Configure caching for template datasets

    For details, please refer to: Section III.4 of the Extracted Data Cache Introduction.


    2. Generate the specified parameter cache regularly

    Note: For the specific setting steps of task schedule, please refer to: Task Schedule Setting

    1) The template parameter does not contain the fine_username parameter

    • Enter the decision-making platform as an administrator, click Manage > Task Schedule, add a new task schedule, select the corresponding cache template, and set the corresponding parameters, such as: =today()-1,you can pass the date of the previous day as a parameter into the cache. As shown below:

    1.png

    • In the "Scheduling Cycle" step, set the start time before the cache timing update time, as shown in the following figure:

    2.png

    • In the "File Process" step, select the processing method as Timed calculation, and save the task schedule. As shown below:

    3.png

    • When the start time of the scheduled task is reached, a cache of dynamic parameters will be generated. As shown below:

    4.png

    2) Template parameter contains fine_username parameter

    • Enter the decision-making platform as an administrator, click Manage > Task Schedule, add a task, and select the user who needs to generate a cache in the "Basic Settings" step, as shown in the following figure:

    5.png

    • In the "Dispatcher Object" step, check "In addition to the general results, members of the default user group will receive individual results", as shown in the following figure:

    6.png

    • In the "Scheduling Cycle" step, set the start time before the cache timing update time, as shown in the following figure:

    7.png

    • In the "File Processing" step, select the processing method as timing calculation, and save the timing scheduling task. As shown below:

    8.png

    • After reaching the start time of the scheduled task, each user generates its own cache separately. As shown below:

    9.png


    Attachment List


    Theme: Decision-making Platform
    • 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