[geeklog-devel] Pear DB Overhead

Tom Willett tomw at pigstye.net
Thu Feb 6 16:18:34 EST 2003


Was surfing around and say this rather disturbing bit of info about php and 
databases.  Well to put it simply PEAR DB appears to be about three times 
slower that mysql -- here are the benchmark times.

        Average	 Overhead
MySQL	 1.14	  -
dbx      1.37     20% (index only)
ADODB	 1.45	  27%
dbx      1.53     34% (index/assoc/info)
PhpLib	 1.60	  40%
MDB      1.75	  54%
PEAR DB  2.87	 152% (fetchInto)
PEAR DB  3.15	 176% (fetchRow)
M'base	 2.52	 296% (numeric cols)
M'base	 4.77	 318% (assoc cols)



and a link to the full article.

http://phplens.com/lens/adodb/

--
Tom Willett
tomw at pigstye.net



More information about the geeklog-devel mailing list