As for what's going on ... You said this returns a cursor. What happens in TOAD if you subsequently run through all the rows in the cursor? I suspect that DBD::Oracle is doing just that while TOAD isn't.
In reply to Re^3: Query takes 895ms in TOAD but 42s in DBI
by dragonchild
in thread Query takes 895ms in TOAD but 42s in DBI
by joec_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |