Subject | Re: [Firebird-Java] Bechmark Results |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-08-06T15:34:09Z |
Some comments:
and type 4 driver, since you connect to MySQL using sockets.
Also, did you use Hypersonic with disk-persistence or memory-only tables?
Most likely MySQL used index to obtain data. With Firebird this is not
possible - it must check all record versions.
architecture.
Roman
> I have been running come benchmarks comparing Hypersonic, FirebirdThe comparison is not really fair. You should use remote Hypersonic server
> Embedded(Jdbc Type2) and Mysql on the same data set.
and type 4 driver, since you connect to MySQL using sockets.
Also, did you use Hypersonic with disk-persistence or memory-only tables?
> Select ID from abc; returning all 75000 integer IDsWhat is ID? Column a?
> HYPERSONIC = 1.66 sec
> FIREBIRD = 3.46 sec
> MYSQL = 0.2 sec
Most likely MySQL used index to obtain data. With Firebird this is not
possible - it must check all record versions.
> Select count(*) from abc where J > 500; returning count of 68000Firebird must fetch all rows to return count(*), that's the price for MGA
> (index on column J)
> HYPERSONIC = 1.41 sec
> FIREBIRD = 30.26 sec
> MYSQL = 0.06 sec
architecture.
> Select count(*) from abc where K > 500; returning count of 55000 (noSame here, but MySQL seems to be faster anyway...
> index on column K)
> HYPERSONIC = 1.54 sec
> FIREBIRD = 0.25 sec
> MYSQL = 0.06 sec
Roman