Database: xxx Table: yyy Rows: 10019
+-------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+-------------+------+-----+---------+-------+
| NAME | varchar(32) | | PRI | | |
| CNAME | varchar(32) | | | | |
| TYPE | char(1) | | | E | |
+-------+-------------+------+-----+---------+-------+
查询体例:
在表中的地位均匀散布.
查询了局:
A.( 当地server,PII350/128M/8G)
a. 查询字符串.
total [1000 times] inquire time is 1.105382(s)
average time is 0.001105(s)
total [3000 times] sql time is 3.416125(s)
average time is 0.001139(s)
total [10000 times] sql time is 11.567662(s)
average time is 0.001157(s)
b. 拔出纪录( varchar(32),varchar(32),smallint)
total [7000 times] sql time is 7.545522(s)
average time is 0.000755(s)
B.( 100M局域网内server,PII350/128M/8G与PII400/128M/10G)
a. 拔出纪录( varchar(32),varchar(32),smallint)
total [10000 times] sql time is 8.480562(s)
average time is 0.000848(s)
b. 查询字符串.
total [10000 times] sql time is 9.493681(s)