Uh oh!
There was an error while loading. Please reload this page.
[enchancement](statistics) support periodic collection of statistics - #19247
Conversation
weizhengte
commented
May 4, 2023
run buildall |
TeamCity pipeline, clickbench performance test result: |
weizhengte
commented
May 4, 2023
run buildall |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PR approved by anyone and no changes requested. |
weizhengte
commented
May 5, 2023
run buildall |
weizhengte
commented
May 6, 2023
run buildall |
…pache#19247) This PR enables periodic collection of statistics and is a precursor to automatic statistics collection. It mainly includes the following contents: support periodic collection of statistics. Change the type of Date in statistics p0 to DateV2(see [Enhancement](data-type) add FE config to prohibit create date and decimalv2 type apache#19077) for test locally. complement cases(remove Chinese characters, optimize code, etc) , improve stability. Supports setting whether to keep records of statistics synchronization job info, convenient for use in p0 testing. The statistics job table was modified, and some auxiliary judgments were added to avoid the user perceiving the modification. This function was removed when the table schema is stable.
Proposed changes
This PR enables periodic collection of statistics and is a precursor to automatic statistics collection. It mainly includes the following contents:
...
Related syntax:
Fe configuration:
enable_auto_collect_statistics: if true, will allow the system to collect statistics automatically.auto_check_statistics_in_sec: the system automatically checks the time interval for statistics.enable_save_statistics_sync_job: session variable. if true, when synchronously collecting statistics, the information of the statistics job will be saved, currently mainly used for p0 test.Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...