MySQL测试结果
oracle和mysql对比这个文件中包含了不同基准测试的结果。
测试结果后()中的数字表示精确测试中执行的SQL命令的数目。一个测试可以有
很多不同的参数,这里只给出一个大致的样子。请查看源码以获得更多的信息。
注意,使用不同--cmp选项的测试结果不能进行对比。--cmp选项根据测试中全部服务
器的最差的限制进行设置。
标记了‘+’的数字是根据上一次的运行结果进行估计得出的,因为查询语句的执行超
出了给定的时间限制。这个估计和预想中的真实的结果不会相差很远。
标记了‘?’的数字是一个糟糕的结果。它只能用来说明服务器产生这个糟糕结果所花
的时间:)
希望这能使你对每种数据库的运行情况有一些认识....
希望你喜欢它.... Luuk & Monty
(1997)
这是oracle和mysql对比的测试结果。测试环境为:
| 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_o |
3
oracle_ |
| 每项测试的结果(以秒记): |
| ATIS |
73 |
159 |
974 |
| alter-table
|
5 |
5 |
29 |
| big-tables
|
74 |
100 |
664 |
| connect
|
156 |
462 |
19214 |
| create |
71 |
76 |
2469 |
| insert |
259 |
431 |
+27395 |
| select |
+898 |
+986 |
+30586 |
| wisconsin
|
38 |
76 |
1157 |
| 每项操作的结果: |
| alter_table_add
(8) |
1 |
2 |
1 |
| connect
(10000) |
55 |
192 |
9497 |
| connect+select
(10000) |
65 |
209 |
9596 |
| count
(100) |
6 |
6 |
46 |
| count_key
(50000) |
+664 |
+699 |
+20337 |
| count_on_key
(100) |
3 |
4 |
112 |
| create+drop
(1000) |
14 |
16 |
801 |
| create_index
(8) |
2 |
1 |
3 |
| create_key+drop
(1000) |
18 |
19 |
856 |
| create_table
(1031) |
24 |
24 |
469 |
| delete_big
(15) |
6 |
5 |
462 |
| delete_key
(500) |
0 |
1 |
409 |
| drop_index
(8) |
1 |
1 |
1 |
| drop_table
(1028) |
3 |
3 |
343 |
| insert
(80768) |
83 |
141 |
2007 |
| insert_duplicates
(30000) |
7 |
16 |
53 |
| insert_key
(10000) |
16 |
24 |
590 |
| insert_many_fields
(20000) |
30 |
40 |
499 |
| min_max
(60) |
3 |
3 |
27 |
| min_max_on_key
(73000) |
220 |
260 |
+9760 |
| order_by
(10) |
10 |
36 |
244 |
| order_by_key
(10) |
7 |
33 |
261 |
| select
(20000) |
20 |
41 |
74 |
| select_big
(10080) |
23 |
56 |
304 |
| select_distinct
(800) |
17 |
34 |
173 |
| select_group
(3191) |
28 |
32 |
158 |
| select_join
(200) |
31 |
86 |
498 |
| select_key
(20000) |
37 |
47 |
+12733 |
| select_key_prefix
(20000) |
37 |
48 |
238 |
| select_many_fields
(20000) |
44 |
60 |
164 |
| select_range
(25400) |
41 |
61 |
+4148 |
| select_range_prefix
(25000) |
33 |
51 |
145 |
| select_simple_join
(500) |
4 |
9 |
54 |
| update_key
(500) |
1 |
1 |
389 |
| update_key_big
(480) |
3 |
3 |
585 |
| update_of_key
(256) |
7 |
7 |
165 |
| wisc_benchmark
(114) |
8 |
23 |
268 |
| 总计 |
+1572 |
+2294 |
+76470 |
|