4
What are the differences between Adodb and PDO? Which one has the best performance?
4
What are the differences between Adodb and PDO? Which one has the best performance?
6
PDO is standard in PHP as of version 5.1. (It is also available with a PECL extension in PHP 5.0) Most hosting providers will have enabled. Adodb is not a standard extension.
Furthermore, I believe that PDO drivers are "PHP native": they are built on top of the same libraries that PHP itself was built and use the same underlying routines for things like memory management. Thus, potentially, PDO is lighter than Adodb.
According to this benchmark, Adodb is considerably slower than PDO: (fixed link) http://tonylandis.com/performance/php-adodb-pdo-mysql-database-apc-benchmark/
Of course, you should consider whether this is important enough for your use case to prefer PDO or not.
Translated from: https://stackoverflow.com/questions/1943051/what-are-the-differences-between-adodb-and-pdo-in-php
Browser other questions tagged php pdo
You are not signed in. Login or sign up in order to post.