Skip to content

[refactor](stats) Refactor TableStatsMeta - #24769

Merged
starocean999 merged 1 commit into
apache:masterfrom
Kikyou1997:fix/table_stats
Oct 7, 2023
Merged

[refactor](stats) Refactor TableStatsMeta#24769
starocean999 merged 1 commit into
apache:masterfrom
Kikyou1997:fix/table_stats

Conversation

@Kikyou1997

@Kikyou1997Kikyou1997 commented Sep 22, 2023

Copy link
Copy Markdown
Contributor

Proposed changes

  1. Add a abstraction for column stats status which is required so furthur optimization and feature development
  2. Enable analyze test in p0 that disabled unexpectedly before

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

@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.49 seconds
stream load tsv: 596 seconds loaded 74807831229 Bytes, about 119 MB/s
stream load json: 21 seconds loaded 2358488459 Bytes, about 107 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.6 seconds inserted 10000000 Rows, about 349K ops/s
storage size: 17162552907 Bytes

@morrySnowmorrySnow changed the title [refactor](optimizer) Refactor TableStats[refactor](stats) Refactor TableStatsSep 22, 2023
@morrySnowmorrySnow changed the title [refactor](stats) Refactor TableStats[refactor](stats) Refactor TableStatsMetaSep 22, 2023
}
}

public ColStatsMeta findColStatsMeta(long tblId, String colName) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used?

@Kikyou1997Kikyou1997Sep 22, 2023

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need by column stats display

@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.29 seconds
stream load tsv: 560 seconds loaded 74807831229 Bytes, about 127 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 65 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: 17161945584 Bytes

englefly
englefly previously approved these changes Oct 7, 2023
@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.71 seconds
stream load tsv: 573 seconds loaded 74807831229 Bytes, about 124 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 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: 29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size: 17162348374 Bytes

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Oct 7, 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.

@starocean999
starocean999 merged commit e5fe4e5 into apache:masterOct 7, 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.3-mergedreviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

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