PDO performance
| From: | Andrew Mason | Date: | Thu, 15 Nov 2007 06:33:02 +0000 |
| Subject: | PDO performance | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-33148@lists.php.net to get a copy of this message | ||
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
Andrew