Skip to content

[2.0.1] change postgre sql for serial int#7248

Merged
CalvinKirs merged 9 commits intoapache:2.0.1-preparefrom
lenboo:201-1204
Dec 7, 2021
Merged

[2.0.1] change postgre sql for serial int#7248
CalvinKirs merged 9 commits intoapache:2.0.1-preparefrom
lenboo:201-1204

Conversation

@lenboo
Copy link
Contributor

@lenboo lenboo commented Dec 7, 2021

close #7247
add version in sql

GaoTianDuo and others added 8 commits December 4, 2021 17:04
…w instance and task instance are accessed slowly apache#7061 (apache#7139)

1、I found that the SQL behind this interface is very slow. The main table is large, but there is no index to use. By add the index, the all mode in the query plan can be changed into a more efficient ref mode. If this optimization still fails to meet the requirements, please contact me and I will continue to optimize。
2、modify index start_time_index in init script and upgrade scripts.
* fix #7601 move ddl to 2.0.1

* fix #7601 move ddl to 2.0.1
@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2021

Codecov Report

❗ No coverage uploaded for pull request base (2.0.1-prepare@d7eab83). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##             2.0.1-prepare    #7248   +/-   ##
================================================
  Coverage                 ?   32.18%           
  Complexity               ?     1569           
================================================
  Files                    ?      432           
  Lines                    ?    14484           
  Branches                 ?     1438           
================================================
  Hits                     ?     4662           
  Misses                   ?     9364           
  Partials                 ?      458           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7eab83...88a43db. Read the comment docs.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 7, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug E 5 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 74 Code Smells

17.6% 17.6% Coverage
1.4% 1.4% Duplication

@lenboo lenboo changed the title [2.0.1] add version in sql [2.0.1] change postgre sql for serial int Dec 7, 2021
Copy link
Member

@CalvinKirs CalvinKirs left a comment

Choose a reason for hiding this comment

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

+1

@CalvinKirs CalvinKirs merged commit 4e8507e into apache:2.0.1-prepare Dec 7, 2021
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.

4 participants