craig_welton
Legendary Poster
Came across an interesting issue today on the iSeries ... if you check the detailed jas logs on a web dev client you'll find SQL statements like SELECT * FROM PY900DTA.F0911 WHERE (1 = 0). These are not, obviously, from application code, but the tool as it's collecting metadata about tables.
I noticed these queries taking quite a long time on large tables. The VisualExplain on this query shows it doing a table scan!
According to Oracle, these queries should return instantly, and the issue is with IBM. I was wondering if someone else could run a similar query on a different DB and let me know the query plan.
thanks,
Craig
I noticed these queries taking quite a long time on large tables. The VisualExplain on this query shows it doing a table scan!
According to Oracle, these queries should return instantly, and the issue is with IBM. I was wondering if someone else could run a similar query on a different DB and let me know the query plan.
thanks,
Craig