[REBOL] Find Speed/Database Re:(4)
From: kracik:mbox:dkm:cz at: 2-Aug-2000 14:39
Hi,
that's what I tried to explain, maybe not very clearly:
MySQL uses a binary protocol, not text based, probably for speed.
That protocol is AFAIK not documented anywhere, but you can see it in
the source code for MySQL C library (messy), or the source code for
the Java JDBC "driver" (cleaner and simpler).
The mentioned C library can choose faster Unix domain sockets if the
client is on the same machine as the server, or slower TCP sockets if
it's on different; Java JDBC driver always uses TCP sockets.
So I wasn't suggesting using MySQL JDBC or ODBC driver, but writing
REBOL only "driver" that communicates with TCP, with knowledge about
the protocol gained from that Java source code.
Hope it's clearer now...
--
S pozdravem
Michal Kracik
[Petr--Krenzelok--trz--cz] wrote: