I recently went through a blog and noticed some points about using PDO in mysql, and it changed my mind about PDO. Points:
Own prepared statements cannot use the query cache, which leads to poor performance.
Native prepared statements cannot execute type certificate types, such as "SHOW TABLES"
Own prepared statements incorrectly report column lengths for some other SHOW queries, resulting in garbled results.
Calling stored procedures several times using built-in prepared statements causes the connection to fail.
Can anyone comment on this?
I need a query cache in my web application. I am ready to move my web application to use PDO after addressing performance issues on my website. Can anyone suggest me?
Thanks in advance.
source
share