Skip to content

Conversation

jbj
Copy link
Contributor

@jbj jbj commented Aug 24, 2019

When this query was run as an upgrade script, the optimizer picked a bad join order, making the upgrade very slow on large databases. It picked a bad join order because upgrade scripts are run with no stats.

See https://semmle.slack.com/archives/C1ECYQUMN/p1566650458091600.

When this query was run as an upgrade script, the optimizer picked a bad
join order, making the upgrade very slow on large databases. It picked a
bad join order because upgrade scripts are run with no stats.
@jbj jbj added C++ Priority PR that should be reviewed and merged as a matter of priority. labels Aug 24, 2019
@jbj jbj added this to the 1.22 milestone Aug 24, 2019
@jbj jbj requested a review from ian-semmle August 24, 2019 13:36
@jbj jbj requested a review from a team as a code owner August 24, 2019 13:36
Copy link
Contributor

@pavgust pavgust left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ian-semmle ian-semmle merged commit 8d037da into github:master Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Priority PR that should be reviewed and merged as a matter of priority.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants