MySQL测试结果
oraclemysql对比

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

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

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

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

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

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

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

这是oraclemysql对比的测试结果。测试环境为:

1 mysql-NT_4.0 MySQL 3.22.16 gamma --small-tables
2 mysql_odbc-NT_4.0 MySQL 3.22.16 gamma --odbc --small-tables
3 oracle_odbc-NT_4.0 Oracle 8.0.3.0.0 --small-tables
操作 1
mysql
2
mysql_odbc
3
oracle_odb
每项测试的结果(第一列以秒记,后面列是第一列的倍数):
ATIS 73 2.18 13.34
alter-table 5 1.00 5.80
big-tables 74 1.35 8.97
connect 156 2.96 123.17
create 71 1.07 34.77
insert 259 1.66 +105.77
select +898 +1.10 +34.06
wisconsin 38 2.00 30.45
每项操作的结果:
alter_table_add (8) 1 2.00 1.00
connect (10000) 55 3.49 172.67
connect+select (10000) 65 3.22 147.63
count (100) 6 1.00 7.67
count_key (50000) +664 +1.05 +30.63
count_on_key (100) 3 1.33 37.33
create+drop (1000) 14 1.14 57.21
create_index (8) 2 0.50 1.50
create_key+drop (1000) 18 1.06 47.56
create_table (1031) 24 1.00 19.54
delete_big (15) 6 0.83 77.00
delete_key (500) 0 1.00 409.00
drop_index (8) 1 1.00 1.00
drop_table (1028) 3 1.00 114.33
insert (80768) 83 1.70 24.18
insert_duplicates (30000) 7 2.29 7.57
insert_key (10000) 16 1.50 36.88
insert_many_fields (20000) 30 1.33 16.63
min_max (60) 3 1.00 9.00
min_max_on_key (73000) 220 1.18 +44.36
order_by (10) 10 3.60 24.40
order_by_key (10) 7 4.71 37.29
select (20000) 20 2.05 3.70
select_big (10080) 23 2.43 13.22
select_distinct (800) 17 2.00 10.18
select_group (3191) 28 1.14 5.64
select_join (200) 31 2.77 16.06
select_key (20000) 37 1.27 +344.14
select_key_prefix (20000) 37 1.30 6.43
select_many_fields (20000) 44 1.36 3.73
select_range (25400) 41 1.49 +101.17
select_range_prefix (25000) 33 1.55 4.39
select_simple_join (500) 4 2.25 13.50
update_key (500) 1 1.00 389.00
update_key_big (480) 3 1.00 195.00
update_of_key (256) 7 1.00 23.57
wisc_benchmark (114) 8 2.88 33.50
总计 +1572 +1.46 +48.65