Amazons move off Oracle caused Prime Day outage in one of its biggest warehouses
cnbc.com
cnbc.com
This is what Oracle wants, this is what Oracle gets.
On Oracle to get a query plan you need to prefix the query with some statements that insert the query plan into another table (EXPLAIN PLAN FOR iirc), and you need to supply a unique ID for the query.
Ok, cool. So to get it out you need to SELECT some random poorly named extension function, giving the table and the unique ID you created above. It's not clear there is any easy way of knowing if that function is available or the user has permissions to read from that table.
Alright. So pretty bad, but not impossible. But then you run smack dab into an obscure Oracle error with a very unhelpful message. You slowly begin to realize that you cannot get the query plan for any query that uses parameters. At all.fE
In Postges it's simply a EXPLAIN ANALYZE VERBOSE prefix.