[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php4beta
Subject:    Re: SV: [PHP4BETA] Easier Porting To Different Databases
From:       Nick Gorham <nick () lurcher ! org>
Date:       2000-03-01 23:24:21
[Download RAW message or body]

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.




-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic