Re: PDO performance
| From: | Brian Moon | Date: | Thu, 15 Nov 2007 14:02:48 +0000 |
| Subject: | Re: PDO performance | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33154@lists.php.net to get a copy of this message | ||
Andrew Mason wrote:
Hi guys, Just a quick question. I've recently been looking at changing over our code to use the PDO interface to a mysql database. Currently we are using MySQLi but after looking at the PDO interface i personally prefer the way API is presented (not saying mysqli is bad or anything like that...completely personal). I was just wondering if there was any performance or latency hit by using PDO with mysql 5. From what i have benchmarked there isn't any at all, but since PDO came back faster for a few things i'm not sure how accurate my benchmarks were =) Just looking for some feedback. many thanks AndrewI have not done the benchmark recently, but here is what I found last year. It just depends on what is important to you. http://dealnews.com/developers/php-mysql.html -- Brian Moon Senior Developer ------------------------------ http://dealnews.com/ It's good to be cheap =)