77go论坛性能测试

主要是些SQL测试,记录如下:

77go(网络查询): ID(index),ID1,ID2(index)皆为bigint(13) not null default (0),title varchar(200) null(yes)
select ID from bbscs_forum_2
0 row affected .1 field ,26829 records in last resultset. Time: 4.50sec
第二次:                                                     4.8
三:4.89
四 4.42
五:4.58
六:4.72
7: 4.78
8: 5.28
9: 6.92
10: 4.98
11: 4.47

select ID2,ID3 from bbscs_forum_2
.............2 fields, 26829 records                     7.77sec
2: 7.58sec
3:7.63sec
4: 8.27sec
5:7.92sec
6:7.83sec
7:7.77sec
8:7.86sec

select ID,ID1,ID2 from bbscs_forum_2
..................3 fields ,.......................11.31sec
2:10.92
3:11.48
4:11.08
5:10.86

select title from bbscs_forum_2
1:8.94
2:8.89
3:9.13
4:8.83
5:9.02sec
6:8.98sec

select detail  from bbscs_forum_2  where id<40000
1:0.14sec(193个数据)
2:0.13sec

select detail from bbscs_forum_2  (detail:text )
1:20.09 内容举例:post_21190_170_21190_1140543448796.html
2:20.39(无空记录)
3:20.08
4:20.66

select sign from bbscs_forum_2(sign为text)
1:3.64
2:3.64(可能有许多空记录,其中24454为空)
3:3.98

select lastPostTitle from bbscs_forum_2 (varchar(510))
1:3.52(可能是大多内容少成"---"吧)
2:3.64
3:3.33
select Amend from bbscs_forum_2 (与lastPostTitle一样)
1:2.23
2:2.14
3:2.39 (内容全为空)

你可能感兴趣的:(html,sql)