Post
The idea was to start with only the access paths that consume the most response time or resources and then see how frequently the queries are actually executed *and* show cardinality estimates/filter factors ("needle in the haystack?") and propose *better* indexes (not more).
0 reposts0 likes
... but now it looks like I'll just feed the relevant info into a language model instead. Let's see how it goes! Nevertheless, people have found this tool already useful in the past! backendtales.blogspot.com/2023/02/sant...
I first used "ash_index_helper.sql" that queried v$ash and v$sql_plan, etc, but since modern 19.x something databases store access_predicates/filter_predicates in AWR too, I cloned it to "dash_index_helper.sql" so you can go back in AWR: github.com/tanelpoder/t...