MySQL测试结果
db2informixms-sqlsolidsybasemysql对比

这个文件中包含了不同基准测试的结果。

测试结果后()中的数字表示精确测试中执行的SQL命令的数目。一个测试可以有很多不同的参数,这里只给出一个大致的样子。请查看源码以获得更多的信息。

注意,使用不同--cmp选项的测试结果不能进行对比。--cmp选项根据测试中全部服务器的最差的限制进行设置。

标记了‘+’的数字是根据上一次的运行结果进行估计得出的,因为查询语句的执行超出了给定的时间限制。这个估计和预想中的真实的结果不会相差很远。

标记了‘?’的数字是一个糟糕的结果。它只能用来说明服务器产生这个糟糕结果所花的时间:)

希望这能使你对每种数据库的运行情况有一些认识....
希望你喜欢它.... Luuk & Monty (1997)

第一列是用秒记数的。其他列都是与第一列相关的。
1.00表示相同。更大的数字表示速度更慢。

这是db2informixms-sqlsolidsybasemysql对比的测试结果。测试环境为:

1 mysql_odbc-NT_4.0 MySQL 3.22.16 gamma
2 db2_odbc-NT_4.0 IBM DB2 5
3 informix_odbc-NT_4.0 Informix 7.30C1
4 ms-sql_odbc-NT_4.0 Microsoft SQL Server 7.00 - 7.00.517 (Intel X86)
5 mysql-NT_4.0 MySQL 3.22.16 gamma
6 solid_odbc-NT_4.0 Solid version ???
7 sybase_odbc-NT_4.0 Sybase enterprise 11.5 NT
操作 1
mysql_odbc
2
db2_odbc
3
informix_o
4
ms
5
mysql
6
solid_odbc
7
sybase_odb
每项测试的结果(第一列以秒记,后面列是第一列的倍数):
ATIS 168 3.07 1.98 1.38 0.42 +7.43 2.01
alter-table 4   1.75 1.75 1.25 1.75 3.00
big-tables 100 2.50 2.85 1.55 0.74 1.07 3.53
connect 459   9.20 1.17 0.34 1.90 5.94
create 78 14.18 2.85 1.95 0.92 2.06 2.92
insert 6744 +2.60 +45.35 +2.29 0.80 +28.49 +10.37
select +1003 +1.93 +8.37 +1.18 +0.90 +28.44  
wisconsin 74 4.97 2.96 3.92 0.51 4.57  
每项操作的结果:
alter_table_add (8) 1   0.00 0.00 1.00 0.00 1.00
connect (10000) 189   10.52 1.07 0.30 2.04 6.75
connect+select (10000) 211   9.72 1.11 0.30 1.96 6.30
count (100) 58 1.50 2.00 0.84 0.93 38.29 0.40
count_key (50000) +709 +1.06 +11.04 +1.08 +0.94 +23.78  
count_on_key (100) 34 1.71 27.38 0.53 0.91 62.91 0.41
create+drop (1000) 15 27.20 2.33 2.33 0.93 2.73 4.20
create_index (8) 1   1.00 1.00 2.00 1.00 0.00
create_key+drop (1000) 20 9.65 4.50 1.80 0.90 3.60 2.60
create_table (1031) 23 19.09 2.57 2.43 1.00 1.04 3.57
delete_big (15) 681 0.66 16.53 1.29 1.00 3.28 11.63
delete_key (500) 2 8.00 369.00 10.50 0.50 32.50 21.50
drop_index (8) 1   0.00 0.00 1.00 1.00 0.00
drop_table (1028) 4 26.75 8.25 1.75 0.75 5.00 4.75
insert (350768) 619 5.59 4.35 6.48 0.62 2.91 7.76
insert_duplicates (300000) 144 2.45 1.94 1.99 0.47 1.19 2.30
insert_key (100000) 2908 0.85 2.83 1.78 1.00 3.36 2.43
insert_many_fields (20000) 40 3.38 2.77 1.90 0.75 1.23 5.78
min_max (60) 28 2.00 12.29 4.11 0.93 +1299.57 0.61
min_max_on_key (73000) 268 +6.09 +4.04 1.24 0.82 +42.93 0.36
order_by (10) 382 0.95 1.36 0.65 0.26 1.70 1.03
order_by_key (10) 355 1.04 1.37 0.57 0.21 1.84 0.77
select (20000) 39   2.87 1.67 0.54 1.21 2.05
select_big (10080) 377 1.02 1.54 0.63 0.23 1.64 0.84
select_distinct (800) 35 2.34 2.77 1.69 0.49 9.34 1.83
select_group (3191) 61 3.02 15.79 2.07 0.87 42.75 1.49
select_join (200) 91 2.47 1.09 0.73 0.34 +7.67 1.25
select_key (200000) 464 +2.60 +261.05 +3.52 0.79 +1.89 +37.96
select_key_prefix (200000) 470 +2.55 +255.23 +3.61 0.80 +1.79 +37.04
select_many_fields (20000) 60 1.88 2.90 1.30 0.73 0.93 2.03
select_range (25400) 62 +35.00 +117.85 1.40 0.65 +367.15 +42.35
select_range_prefix (25000) 51 +42.16 +146.04 1.33 0.67 +442.12 +51.33
select_simple_join (500) 10 2.60 2.20 0.80 0.30 6.90 1.70
update_key (500) 1 5.00 771.00 8.00 0.00 2.00 40.00
update_key_big (501) 26 20.85 115.38 15.50 1.00 38.23 13.35
update_of_key (256) 164 1.07 13.35 4.11 0.96 101.56 6.24
wisc_benchmark (114) 23 1.39 1.96 1.04 0.35 3.65  
总计 +8627 +2.30 +35.09 +2.09 +0.77 +17.93 +7.71