As we know, the MySQL prepared statements API leaves a bit to be
desired, although there is a fair amount of progress. With MySQL,
using the "normal" API or the prepared statement API usually
doesn't have that much different in terms of performance.
When you use Oracle though, things are different. There is no
separate "prepared statement" API, there is just on interface,
which has a lot of functions and structures, and isn't the
easiest to use, because of the complexity, but it IS very
functional and performant.
If we look at the low-level Oracle interface, there used to be
three of them:
- Oracle Call Interface (OCI) - This is the the interface that is most complex, but also most functional. It is a C level interface along the lines of the MySQL C API, i.e. you still pass SQL statements, it's not a file level interface of some kind. This is also the interface that is used to build Oracle Data …