Re: What is up with Pear DB speed?

From: Date: Wed, 02 Jul 2003 13:10:30 +0000
Subject: Re: What is up with Pear DB speed?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6385@lists.php.net to get a copy of this message
On 01 Jul 2003 12:17:04 -0400 Jeff Bearer <jbearer@pittsburghlive.com> wrote: > Am I doing something grossly wrong with Pear DB or is it just that > much slower? If this is a fact of life, how come I never seen > anything mentioning that Pear DB is that much slower? There should be > a big red flashing warning or something. Hmmm, did you really expect that using a wrapper will be not significantly slower than native functions? As said often here and there, the usage of a DB layer or an abstraction layer (a la MDB) will be slower (even much slower in some cases) than the native functions. The performance decreases while your wrapper complexity grows. No hidden informations from the DB authors. Just a logical and simple fact, use DB if you need it, not just for the fun, if the performance is one of your priorities. The same rule applies for any kind of wrappers or classes available around. hth pierre

« previous php.pear.general (#6385) next »