Re: SV: [PHP4BETA] Easier Porting To Different Databases

From: Date: Wed, 01 Mar 2000 23:24:21 +0000
Subject: Re: SV: [PHP4BETA] Easier Porting To Different Databases
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11300@lists.php.net to get a copy of this message
Johan Ekenberg wrote: > In my experience ODBC is *a lot* slower than > direct interfaces. If Perl DBI can do without ODBC, > I really hope PHP can too. > For instance, see the benchmarks at > http://www.mysql.com/benchmark.html Well looking at those benchmarks, ODBC is only involved in the Oracle graph. Of course ODBC will be slower in many cases, it involves additional layers to provide a unified interface. But remember this thread is discussing adding another layer to PHP to interface between whatever the final unified API may be and the underlying interface, this will also slow things down, as to it being quicker or slower than ODBC it remains to be seen. IMHO most of the 'slow' ODBC drivers seem to come from vendors who wish to retain control over their own API's (see Oracle example above) Whatever the final API, it will have to face the same problems and restriction that the ODBC design had to face, but it may only have to implement a much simpler set of calls in this case. -- Nick Gorham, nick@lurcher.org Found in a sig... Give a man a match and he'll be warm for an hour... Set him on fire and he'll be warm for the rest of his life.

« previous php.version4 (#11300) next »