-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: Django introspection query performance regression #93955
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
In my tests, this query takes ~450ms in a database that has 38 tables. Also, it seems to me that the filter should be updated to something more like:
|
You can use |
This query still takes 1-2 seconds with 23.1 alpha 8 and the current nightly and the full Django test suite runtime is up from ~40 minutes with 22.2.x to ~1.5 hrs (though I'm not sure it's entirely attributable to this query). Do you want to reopen this issue or track it in another one? (I saw some discussion at #96960 (comment).) Edit: I created #100871 for this follow up. |
Describe the problem
A regression in 072ec8d is causing the following query (which Django's test suite runs quite often) to take several seconds (instead of milliseconds).
To Reproduce
Environment:
Jira issue: CRDB-22612
The text was updated successfully, but these errors were encountered: