MySQL测试结果
db2、informix、ms-sql、solid、sybase和mysql对比这个文件中包含了不同基准测试的结果。
测试结果后()中的数字表示精确测试中执行的SQL命令的数目。一个测试可以有很多不同的参数,这里只给出一个大致的样子。请查看源码以获得更多的信息。
注意,使用不同--cmp选项的测试结果不能进行对比。--cmp选项根据测试中全部服务器的最差的限制进行设置。
标记了‘+’的数字是根据上一次的运行结果进行估计得出的,因为查询语句的执行超出了给定的时间限制。这个估计和预想中的真实的结果不会相差很远。
标记了‘?’的数字是一个糟糕的结果。它只能用来说明服务器产生这个糟糕结果所花的时间:)
希望这能使你对每种数据库的运行情况有一些认识....
希望你喜欢它.... Luuk & Monty
(1997)
这是db2、informix、ms-sql、solid、sybase和mysql对比的测试结果。测试环境为:
| 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_o |
2
db2_odb |
3
informi |
4
ms |
5
mysql |
6
solid_o |
7
sybase_ |
| 每项测试的结果(以秒记): |
| ATIS |
168 |
515 |
333 |
231 |
71 |
+1248 |
338 |
| alter-table
|
4 |
|
7 |
7 |
5 |
7 |
12 |
| big-tables
|
100 |
250 |
285 |
155 |
74 |
107 |
353 |
| connect
|
459 |
|
4225 |
535 |
155 |
871 |
2725 |
| create |
78 |
1106 |
222 |
152 |
72 |
161 |
228 |
| insert |
6744 |
+17508 |
+305853 |
+15454 |
5368 |
+192155 |
+69907 |
| select |
+1003 |
+1934 |
+8393 |
+1186 |
+899 |
+28523 |
|
| wisconsin
|
74 |
368 |
219 |
290 |
38 |
338 |
|
| 每项操作的结果: |
| alter_table_add
(8) |
1 |
|
0 |
0 |
1 |
0 |
1 |
| connect
(10000) |
189 |
|
1989 |
202 |
56 |
385 |
1275 |
| connect+select
(10000) |
211 |
|
2050 |
234 |
64 |
414 |
1330 |
| count
(100) |
58 |
87 |
116 |
49 |
54 |
2221 |
23 |
| count_key
(50000) |
+709 |
+753 |
+7825 |
+763 |
+665 |
+16862 |
|
| count_on_key
(100) |
34 |
58 |
931 |
18 |
31 |
2139 |
14 |
| create+drop
(1000) |
15 |
408 |
35 |
35 |
14 |
41 |
63 |
| create_index
(8) |
1 |
|
1 |
1 |
2 |
1 |
0 |
| create_key+drop
(1000) |
20 |
193 |
90 |
36 |
18 |
72 |
52 |
| create_table
(1031) |
23 |
439 |
59 |
56 |
23 |
24 |
82 |
| delete_big
(15) |
681 |
451 |
11257 |
877 |
678 |
2236 |
7917 |
| delete_key
(500) |
2 |
16 |
738 |
21 |
1 |
65 |
43 |
| drop_index
(8) |
1 |
|
0 |
0 |
1 |
1 |
0 |
| drop_table
(1028) |
4 |
107 |
33 |
7 |
3 |
20 |
19 |
| insert
(350768) |
619 |
3460 |
2692 |
4012 |
381 |
1801 |
4802 |
| insert_duplicates
(300000) |
144 |
353 |
280 |
286 |
68 |
172 |
331 |
| insert_key
(100000) |
2908 |
2484 |
8231 |
5181 |
2906 |
9758 |
7053 |
| insert_many_fields
(20000) |
40 |
135 |
111 |
76 |
30 |
49 |
231 |
| min_max
(60) |
28 |
56 |
344 |
115 |
26 |
+36388 |
17 |
| min_max_on_key
(73000) |
268 |
+1631 |
+1083 |
333 |
220 |
+11504 |
96 |
| order_by
(10) |
382 |
361 |
518 |
250 |
100 |
648 |
395 |
| order_by_key
(10) |
355 |
369 |
485 |
201 |
73 |
653 |
273 |
| select
(20000) |
39 |
|
112 |
65 |
21 |
47 |
80 |
| select_big
(10080) |
377 |
383 |
580 |
238 |
88 |
619 |
315 |
| select_distinct
(800) |
35 |
82 |
97 |
59 |
17 |
327 |
64 |
| select_group
(3191) |
61 |
184 |
963 |
126 |
53 |
2608 |
91 |
| select_join
(200) |
91 |
225 |
99 |
66 |
31 |
+698 |
114 |
| select_key
(200000) |
464 |
+1206 |
+121126 |
+1634 |
367 |
+877 |
+17614 |
| select_key_prefix
(200000) |
470 |
+1199 |
+119960 |
+1698 |
375 |
+843 |
+17410 |
| select_many_fields
(20000) |
60 |
113 |
174 |
78 |
44 |
56 |
122 |
| select_range
(25400) |
62 |
+2170 |
+7307 |
87 |
40 |
+22763 |
+2626 |
| select_range_prefix
(25000) |
51 |
+2150 |
+7448 |
68 |
34 |
+22548 |
+2618 |
| select_simple_join
(500) |
10 |
26 |
22 |
8 |
3 |
69 |
17 |
| update_key
(500) |
1 |
5 |
771 |
8 |
0 |
2 |
40 |
| update_key_big
(501) |
26 |
542 |
3000 |
403 |
26 |
994 |
347 |
| update_of_key
(256) |
164 |
175 |
2190 |
674 |
157 |
16656 |
1023 |
| wisc_benchmark
(114) |
23 |
32 |
45 |
24 |
8 |
84 |
|
| 总计 |
+8627 |
+19853 |
+302762 |
+17989 |
+6679 |
+154645 |
+66498 |
|