Skip to content
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

SQLPerformanceWarning should log hint about gathering dictionary statistics in OracleDatabase #16031

Closed
lukaseder opened this issue Jan 8, 2024 · 1 comment

Comments

@lukaseder
Copy link
Member

So far, the only RDBMS that produced SQLPerformanceWarning in issues on github was Oracle. And in many cases, the problem was outdated dictionary statistics. Here seems to be a clear case (given that even trivial queries were slow):

Other cases:

See:
https://github.com/jOOQ/jOOQ/issues?q=is%3Aissue+SQLPerformanceWarning+is%3Aclosed

It would probably be helpful to hint at gathering dictionary statistics, if the database used is OracleDatabase:
https://blogs.oracle.com/optimizer/post/gathering-system-fixed-object-and-dictionary-statistics

@lukaseder lukaseder added this to the Version 3.20.0 milestone Jan 8, 2024
@lukaseder lukaseder added this to To do in 3.20 Other improvements via automation Jan 8, 2024
lukaseder added a commit that referenced this issue Jan 8, 2024
lukaseder added a commit that referenced this issue Jan 8, 2024
lukaseder added a commit that referenced this issue Jan 8, 2024
lukaseder added a commit that referenced this issue Jan 8, 2024
3.20 Other improvements automation moved this from To do to Done Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant