Skip to content

Conversation

hawkingrei
Copy link
Member

@hawkingrei hawkingrei commented Jun 10, 2024

What problem does this PR solve?

Issue Number: close #53905

Problem Summary:

What changed and how does it work?

no need to convert the database names to lowercase in the analyze process. it takes some time on it.

image

https://flamegraph.com/share/28183024-2742-11ef-ab1b-b6898751f631

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-tests-checked release-note-none Denotes a PR that doesn't merit a release note. sig/planner SIG: Planner size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 10, 2024
@hawkingrei hawkingrei changed the title statistics: not convert the database names to lowercase in the analyz… statistics: not convert the database names to lowercase duration the auto analyze Jun 10, 2024
@hawkingrei
Copy link
Member Author

/retest

@hawkingrei hawkingrei requested review from 0xPoe and winoros June 11, 2024 01:28
@ti-chi-bot ti-chi-bot bot added approved needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jun 11, 2024
Copy link

codecov bot commented Jun 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.8563%. Comparing base (0b54071) to head (610d649).
Report is 4 commits behind head on master.

Additional details and impacted files
@@                Coverage Diff                @@
##             master     #53906         +/-   ##
=================================================
- Coverage   74.5027%   55.8563%   -18.6465%     
=================================================
  Files          1508       1628        +120     
  Lines        358349     602451     +244102     
=================================================
+ Hits         266980     336507      +69527     
- Misses        71944     242717     +170773     
- Partials      19425      23227       +3802     
Flag Coverage Δ
integration 37.2826% <0.0000%> (?)
unit 71.5031% <100.0000%> (-1.8760%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 52.9656% <ø> (-2.2339%) ⬇️
parser ∅ <ø> (∅)
br 50.5606% <ø> (+6.7454%) ⬆️

*
Signed-off-by: Weizhen Wang <[email protected]>
*
Signed-off-by: Weizhen Wang <[email protected]>
@hawkingrei
Copy link
Member Author

/retest

Copy link

ti-chi-bot bot commented Jun 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hi-rustin, winoros

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jun 11, 2024
Copy link

ti-chi-bot bot commented Jun 11, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-06-11 04:04:44.591497005 +0000 UTC m=+437438.644808927: ☑️ agreed by winoros.
  • 2024-06-11 06:34:35.177855919 +0000 UTC m=+446429.231167844: ☑️ agreed by hi-rustin.

@hawkingrei
Copy link
Member Author

/retest

2 similar comments
@hawkingrei
Copy link
Member Author

/retest

@hawkingrei
Copy link
Member Author

/retest

@ti-chi-bot ti-chi-bot bot merged commit 395edab into pingcap:master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. sig/planner SIG: Planner size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no need to convert the database names to lowercase in the analyze process
3 participants