Skip to content

[fix](stats) Fix analyze failed when there are thousands of partitions. - #24521

Merged
morrySnow merged 1 commit into
apache:masterfrom
Kikyou1997:fix/query_id
Sep 18, 2023
Merged

[fix](stats) Fix analyze failed when there are thousands of partitions.#24521
morrySnow merged 1 commit into
apache:masterfrom
Kikyou1997:fix/query_id

Conversation

@Kikyou1997

Copy link
Copy Markdown
Contributor

Proposed changes

It's caused by we used same query id for multiple queries of same olap analyze task, but many structures related to query execution depends on query id.

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...

@Kikyou1997

Copy link
Copy Markdown
ContributorAuthor

run buildall

@doris-robot

Copy link
Copy Markdown

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.57 seconds
stream load tsv: 619 seconds loaded 74807831229 Bytes, about 115 MB/s
stream load json: 21 seconds loaded 2358488459 Bytes, about 107 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.7 seconds inserted 10000000 Rows, about 348K ops/s
storage size: 17162411111 Bytes

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Sep 18, 2023
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@morrySnowmorrySnow changed the title [fix](optimizer) Fix analyze failed when there are thousands of partitions.[fix](stats) Fix analyze failed when there are thousands of partitions.Sep 18, 2023
@morrySnow
morrySnow merged commit 67e8951 into apache:masterSep 18, 2023
xiaokang pushed a commit that referenced this pull request Sep 18, 2023
…s. (#24521)
It's caused by we used same query id for multiple queries of same olap analyze task, but many structures related to query execution depends on query id.
@xiaokangxiaokang mentioned this pull request Sep 28, 2023
morningman pushed a commit that referenced this pull request Oct 13, 2023
…anch 2.0 (#25119)
This PR is composed of belowing commits which has been merged to Doirs master:
* #24769
* #24672
* #24599
* #24521
* #24405
* #24237
* #24135
* #24074
* #24026
* #23992
* #23978
* #23622
* #23507
* #23354
* #23103
* #22963
* #22896
* #22775
* #22773
morningman pushed a commit that referenced this pull request Oct 15, 2023
….0 (#25421)
This PR is composed of belowing commits which has been merged to Doirs master:
* #24769
* #24672
* #24599
* #24521
* #24405
* #24237
* #24135
* #24074
* #24026
* #23992
* #23978
* #23622
* #23507
* #23354
* #23103
* #22963
* #22896
* #22775
* #22773
After this PR, when user upgrade Doris from 2.0.2 to 2.0.3, the origin info in AnalysisManager will be ignored, and the new module AnalysisManagerV2 will be saved(with more info).
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.dev/2.0.2-mergedmerge_conflictp0_breviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Kikyou1997@doris-robot@englefly@morrySnow@xiaokang