It’s not complete notes from the session, but here’s a few interesting things I caught during Christopher Jones’ talk:
- Oracle is introducing connection pooling for Oracle->PHP scripts (to be included with version 11g) – database resident connection pooling
- you don’t need to redo the entire prepare/reparse of the oracle statement just because you change a value of a bind variable. You can just oci_execute and move on…
- You get better performance if the table statistics are up to date
- Check the oci8.statement_cache_size php.ini setting to tweak your fetching performance
- Use oci_set_prefetch function (PHP5) to get a bit permance increase
- ‘set autotrace on explain’ can give you more stats on your query and how it’s performing
- Look into using TKPROF and STATSPACK (admin)
Looks like a bright future ahead for Oracle and PHP – especially with the new connection pooling. I can’t wait to give it a shot…



