Performance of SUBSTR on CLOB
I have a PL/SQL procedure that does a lot of SUBSTR s on a VARCHAR2 parameter. I would like to remove the length limit, so I tried to change it to CLOB . Works fine, but performance suffers, so I did some tests (based on these tests from 2005). UPDATE : I can reproduce this on several different instances with different Oracle versions and different hardware, dbms_lob.substr is always noticeable slower than substr(CLOB) , and a lot slower than SUBSTR(VARCHAR2) . Bob's results and the tests in the link above tell a different story. Can anyone explain this, or at least reproduce either Bob's or