MySQL测试结果
pgsolidmysql对比

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

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

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

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

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

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

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

1 mysql-Linux_2.0.36_i686 MySQL 3.22.18
2 pg-Linux_2.0.36_i686 PostgreSQL 6.4
3 pg_fast-Linux_2.0.36_i686 PostgreSQL 6.4 --fast
4 solid-Linux_2.0.36_i686 SOLID Server - v.02.30.0026 (Linux ix86)
操作 1
mysql
2
pg
3
pg_fast
4
solid
每项测试的结果(以秒记):
ATIS 49 +1520 300 701
alter-table 23 4 4 8
big-tables 15 470 430 20
connect 53 349 379 236
create 15 168 388 59
insert 1389 +133319 +62302 +457496
select 630 +2069 +2120 +9245
wisconsin 20 452 166 226
每项操作的结果:
alter_table_add (293) 21 1 1 3
book-keeping ()     4184  
connect (10000) 15 84 90 84
connect+select (10000) 19 210 218 105
count (100) 59 156 153 1213
count_on_key (50100) 640 +1685 +1773 +10121
create+drop (1000) 3 46 36 18
create_index (7) 1 1 0 0
create_key+drop (1000) 2 33 16 20
create_table (1031) 6 68 68 9
delete_big (15) 67 76 59 417
delete_key (500) 10 634 11 29
drop_index (7) 1 0 1 1
drop_table (1028) 0 17 16 9
insert (350768) 162 1213 1093 1267
insert_duplicates (300000) 18 164 169 91
insert_key (100000) 165 944 956 1153
insert_many_fields (2000) 4 123 120 9
min_max (60) 27 49 48 406
min_max_on_key (73000) 32 +2153 +2085 114
order_by (10) 73 269 209 367
order_by_key (10) 50 265 208 375
select (20000) 8 35 44 27
select_big (10080) 61 136 108 335
select_distinct (800) 14 139 70 169
select_group (3101) 41 5688 7804 1269
select_join (200) 22 +1262 60 408
select_key (200000) 230 +634 547 573
select_key_prefix (200000) 242 +639 550 545
select_many_fields (2000) 11 347 308 10
select_range (25420) 29 +34472 +733 +200311
select_range_prefix (25010) 35 +34462 +720 +201289
select_simple_join (500) 2 6 44 37
update_key (500) 4 443 11 2
update_key_big (501) 27 978 343 818
update_of_key (256) 83 3569 2292 3015
wisc_benchmark (114) 6 310 29 55
总计 2190 +91311 +25177 +424674