Created
August 12, 2024 20:31
-
-
Save dincosman/630a01ae2eb211085a23e75062881722 to your computer and use it in GitHub Desktop.
Most Invalidated Sql statements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL> SELECT sql_id, | |
| sum(invalidations) | |
| FROM gv$sql | |
| WHERE invalidations > 0 | |
| GROUP BY sql_id | |
| ORDER BY sum(invalidations) desc | |
| FETCH first 20 ROWS only ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment