Commit Graph

124 Commits

Author SHA1 Message Date
2aa9cb2276 branch-2.1: [fix](lzo) fix lzo decompression failed #49538 (#49634)
Cherry-picked from #49538

---------

Co-authored-by: Mingyu Chen (Rayner) <morningman@163.com>
Co-authored-by: morningman <yunyou@selectdb.com>
2025-04-17 09:19:35 +08:00
4c2abc7ba8 branch-2.1: [opt](pick_pr) add branch name to title for manual pick pr tool #45902 (#45911)
Cherry-picked from #45902

Co-authored-by: yujun <yujun@selectdb.com>
2024-12-25 11:53:43 +08:00
aa728aef66 [Improvement](tools) refine tools schema (#45825)
pick from master #45778
2024-12-24 10:27:08 +08:00
596cfc9b18 [opt](cpu-profile) enable cpu profile in BE webui (#40330) (#41044)
bp #40330
2024-09-20 17:18:16 +08:00
4eaf65d887 [fix](tools) adjust download url (#40429) (#40445)
pick from master #40429

Co-authored-by: stephen <hello-stephen@qq.com>
2024-09-05 20:58:59 +08:00
baf5b71b39 [branch-2.1](memory) Modify thedefault JEMALLOC_CONF and support flush Jemalloc tcache (#39829)
pick #38185
2024-08-23 17:21:42 +08:00
df22344550 [opt](tools) update tools schema (#36114)
pick from master #35873

Update tpcds tools table customer_demographics's bucket column as its
primary key column, avoid performance issue due to data skew.
2024-06-19 12:23:48 +08:00
9c15a857d3 [fix](tools) update tools cases #35467
Remove useless filter of tpcds sf1000 query78
2024-05-28 13:13:47 +08:00
087f3869fd [opt](tools) update bucket number in schema file (#34561)
update tpcds sf1000 bucket number from 64 to 32, for workarounding fdb issue under storage-compute separation arch.


Co-authored-by: zhongjian.xzj <zhongjian.xzj@zhongjianxzjdeMacBook-Pro.local>
2024-05-10 22:06:54 +08:00
5053ac2b59 [improve](CI)Core modules require maintainer review (#32468) 2024-04-17 23:42:13 +08:00
59b8bf24b1 [chore](license) fix incomplete license header (#33306)
Co-authored-by: yiguolei <yiguolei@gmail.com>
2024-04-07 15:00:14 +08:00
353add74db [chore](ci) fix script (#32420)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-03-21 14:07:23 +08:00
99b8db5f9d [Chore](tools) update ssb tools (#32308) 2024-03-21 14:07:23 +08:00
d02f7606de [chore](tools) update tools config (#32193) 2024-03-15 18:01:49 +08:00
f42935560d [tools] remove useless conf (#31295)
Co-authored-by: zhongjian.xzj <zhongjian.xzj@zhongjianxzjdeMacBook-Pro.local>
2024-02-22 20:35:10 +08:00
9481728b37 [tools] update tools script (#31286) 2024-02-22 19:51:51 +08:00
6d7662e8ac [fix](tools) Fix non-standard code in tpch/tpcds dbgen tools leading to compilation failure (#31124)
Fix non-standard code in tpch/tpcds dbgen tools leading to compilation failure
2024-02-20 16:24:05 +08:00
95a1e1c0bf [Enhancement](tools) Support transaction for benchmarks loading (#31126) 2024-02-20 16:24:05 +08:00
ed30b658bb fix pick_pr.sh push_id (#31041) 2024-02-19 17:22:03 +08:00
866dde92b8 [tools] update tpcds test tools (#30607)
Co-authored-by: zhongjian.xzj <zhongjian.xzj@zhongjianxzjdeMacBook-Pro.local>
2024-01-31 23:53:39 +08:00
8240c4e225 [Enhance](tools) change SSB perf tests to standardize behavior (#30002)
change SSB perf tests to standardize behavior
2024-01-16 18:46:19 +08:00
a974e96841 [community](tool) add a tool to pick pr from one branch to another (#29764) 2024-01-16 18:33:51 +08:00
7db65f3f6c [tools] update tpcds tools query (#29745)
Co-authored-by: zhongjian.xzj <zhongjian.xzj@192.168.2.27>
2024-01-12 11:52:56 +08:00
61677d1d4b [ci](perf) 1. add perf check of tpcds, 2. adjust clickbench and tpch check (#28431) 2023-12-29 09:26:15 +08:00
ba4033ad2e [opt](Nereids) improve Shape check cases (#28124)
* tmplate update
* log tpcds stats when check shape
2023-12-21 20:19:54 +08:00
19281e3590 [tpcds] remove useless tpcds tools config (#27867)
Co-authored-by: zhongjian.xzj <zhongjian.xzj@192.168.2.31>
2023-12-01 18:47:12 +08:00
f018b00646 [ci](perf) add new pipeline of tpch-sf100 (#26334)
* [ci](perf) add new pipeline of tpch-sf100
Co-authored-by: stephen <hello-stephen@qq.com>
2023-11-08 15:32:02 +08:00
576972ee79 [opt](tools) analyze with full in tools scripts #25873 2023-10-30 08:19:36 +08:00
46158a6555 [tpcds-tools](nereids) remove cascades specific control for global config (#25595)
remove sf100 cascades specific control for global config, which is only for q72
2023-10-18 06:47:19 -05:00
7edc00a78f [tools](tpc)make tpch-tools and tpcds-tools default scale factor 100 (#25002)
default sf change to 100G
2023-10-07 23:13:46 +08:00
4c94820ff9 [opt](nereids) adjust column stats in filter estimation (#24973)
TPCDS before
query4  9335    8113    8070    8070
query13 3104    1386    1385    1385
query18 1704    1216    1151    1151
query48 840     840     839     839
query61 435     379     383     379
query71 715     570     579     570
query85 2822    2627    2612    2612
query88 1897    1816    1793    1793
Total cold run time: 20852 ms
Total hot run time: 16799 ms

after:
query4  9610    8287    8249    8249
query13 1721    1013    1042    1013
query18 1585    1186    1155    1155
query48 789     777     778     777
query61 384     387     381     381
query71 713     610     584     584
query85 2020    1867    1843    1843
query88 1859    1812    1805    1805
Total cold run time: 18681 ms
Total hot run time: 15807 ms
2023-09-28 21:34:17 +08:00
a574f29d76 [enhancement](Nereids): use enforcer to choose the n-th plan (#22929) 2023-09-28 15:16:24 +08:00
ca73684d10 [feature](tools)draw a graphic profile (#24495)
### how to get profile.png
1. execute a sql file, and draw its profile  
          python3 profile_viewer.py -f[path to sql file] -t [query title]

2. draw a given profile
          python3 profile_viewer.py -qid [query_id] -t [query title]
    
    graphviz is required(https://graphviz.org/)
    on linux: apt install graphviz
    on mac: brew install graphviz

### related changes
reimplement rest api: /profile/json/{query_id} to return profile in json format. currently, json profile only contains two counters: RowsReturned and TotalTime
2023-09-21 10:24:35 +08:00
73722ad1cc [fix](tools) tpch-tools and tpcds-tools update #24650
move analyze from run-query script to load-data script
fix some errors in scripts
2023-09-20 23:59:11 +08:00
eb2db1bfb0 [enhance](Tools) update tpch tools (#24291)
update tpch tools:
1) extend data scale to sf1/sf100/sf1000/sf10000
2) add table schema, sql, opt config for all different scale.
3) refine result output
2023-09-14 09:47:50 +08:00
301a1d97e1 [fix](row-policy) fix creating row policy with forward issue (#23801)
The `CreateRowPolicyCommand` is implemented with overriding `run()` method.

So when executing `create row policy` in non-master FE, and forward it to Master FE,
it will call `execute(TUniqueId queryId)` method and go through `executeByNereids()`.
And because without `run()` method, it will do nothing and return OK.
So after `show row policy`, user will get empty result.

This PR fix it by implmenting the `run()` method but throw an Exception, so that it will
fallback to old planner, to do the creating row policy command normally.

The full implement of `run()` method should be implemented later.
This is just a tmp fix.
2023-09-04 15:19:37 +08:00
c25e1b7d95 [fix](tools)fix perf tools analyze db (#23370) 2023-08-23 18:01:40 +08:00
9a7d4f906b [enhance](Tools): update tpcds tools #23308
Update tpcds tools: add sf1000 & sf10000 related sql and config.
2023-08-22 17:10:50 +08:00
f0f3548dfe [regression](multi-catalog)add EMR cloud env test tools (#21788)
add emr test tools for aliyun, huawei cloud, tencent cloud.
2023-07-28 09:45:10 +08:00
e78afedd0a [minor](refactor) refine function logics (#22280) 2023-07-27 15:09:23 +08:00
8180cde83b [tools](tpcds) Update README.md, use default gcc (#21159)
compile with gcc-11 is not ok,
compile with gcc 9.40 or below is ok,
default gcc often meet requirements.
2023-07-24 21:47:51 +08:00
24290799c4 [improvement](tpch) run-tpch-query.sh add analyze database with sync and calculate total time (#21652)
* run-tpch-query shell add analyze database with sync and calculate total time

* run-tpch-query shell add analyze database with sync and calculate total time
2023-07-10 22:04:57 +08:00
9f3bc11b04 [improvement](ssb) run-ssb-queries.sh and run-ssb-flat-queries.sh add analyze database with sync and calculate total time #21653 2023-07-10 11:45:45 +08:00
70f473f32c [improvement](nereids) Refine tpcds tools (#21421)
Refine tpcds test tools, including split 99 cases into separate files, and refine 100g schema with range partition format.



---------

Co-authored-by: zhongjian.xzj <zhongjian.xzj@zhongjianxzjdeMacBook-Pro.local>
2023-07-04 09:28:02 +08:00
7075bcc526 [tools](refactor) remove unused session variables (#21405) 2023-07-01 16:14:36 +08:00
379a5a8299 [Benchmark](clickbench) change query q29 to right sql (#21398) 2023-07-01 01:40:13 +08:00
c3e6db827c [typo][docs] remove unuse config mysql_service_nio_enabled (#20862) 2023-06-16 09:58:33 +08:00
033f64de93 [tools](tpch)add analyze in run-tpch-queries.sh (#20733) 2023-06-13 14:11:45 +08:00
22eec4148b [fix](conf) fix fe host in doris-cluster.conf #20422 2023-06-06 09:15:36 +08:00
e32eba8fdf [refactor](stats) Persist status of analyze task to FE meta data (#20264)
1. In the past, we use a BE table named `analysis_jobs` to persist the status of analyze jobs/tasks, however there are many flaws such as, if BE crashed analyze job/task would failed however the status of analyze job/task couldn't get updated.
2. Support `DROP ANALYZE JOB [job_id]` to delete analyze job
3. Support `SHOW ANALYZE TASK STATUS [job_id] ` to  get the task status of specific job
4. Restrict the execute condition of auto analyze, only when  the  last execution of auto analyze job finished a while ago could be executed again
5. Support analyze whole DB
2023-06-02 12:33:31 +08:00