Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #56159

Optimize Variant sparse-column scans by introducing a per-segment sparse
column cache so multiple readers/iterators reuse sparse column (keyed by
column unique_id and path).
@Thearas
Copy link
Contributor

Thearas commented Sep 28, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Sep 28, 2025
@Thearas
Copy link
Contributor

Thearas commented Sep 28, 2025

run buildall

@doris-robot
Copy link

ClickBench: Total hot run time: 30.52 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 6b31cc48277113ed9b2e90a3b00c0c1a6f2c09f0, data reload: true

query1	0.04	0.03	0.04
query2	0.10	0.04	0.04
query3	0.27	0.07	0.08
query4	1.73	0.11	0.11
query5	0.27	0.26	0.25
query6	1.23	0.66	0.66
query7	0.03	0.02	0.02
query8	0.06	0.04	0.04
query9	0.59	0.53	0.52
query10	0.58	0.58	0.58
query11	0.19	0.11	0.11
query12	0.15	0.12	0.12
query13	0.63	0.62	0.61
query14	0.80	0.81	0.82
query15	0.87	0.88	0.87
query16	0.39	0.40	0.39
query17	1.04	1.09	1.03
query18	0.19	0.20	0.19
query19	1.92	1.82	1.87
query20	0.02	0.02	0.01
query21	15.45	0.93	0.57
query22	0.81	1.12	1.19
query23	14.88	1.29	0.56
query24	5.46	0.62	0.35
query25	0.18	0.06	0.07
query26	0.55	0.14	0.13
query27	0.05	0.05	0.05
query28	12.21	1.47	0.92
query29	12.68	3.89	3.40
query30	0.30	0.14	0.12
query31	3.12	0.63	0.42
query32	3.53	0.59	0.50
query33	3.21	3.41	3.53
query34	17.73	5.93	4.96
query35	5.17	5.05	4.82
query36	0.68	0.51	0.50
query37	0.10	0.07	0.07
query38	0.09	0.04	0.03
query39	0.04	0.03	0.03
query40	0.17	0.15	0.15
query41	0.10	0.04	0.02
query42	0.04	0.02	0.03
query43	0.04	0.03	0.03
Total cold run time: 107.69 s
Total hot run time: 30.52 s

@yiguolei yiguolei merged commit 6110815 into branch-4.0 Sep 28, 2025
21 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants