在条件字段上做一个索引,但要避免where 字段='%string%'的查询,因为它利用不上你创建的一般索引,必须用全文索引.
对于已经查询出的数据已经存储在告诉缓存中:
我做了一个实验:我的表people里面有350000条记录:
查询:
select  * from people
where [id]<=100000 
SQL Server 执行时间: 
   CPU 时间 = 251 毫秒,耗费时间 = 1295 毫秒。select  * from people
where [id]<=150000
SQL Server 执行时间: 
   CPU 时间 = 261 毫秒,耗费时间 = 1934 毫秒。select  * from people
where [id] between 100000 and 150000
SQL Server 执行时间: 
   CPU 时间 = 140 毫秒,耗费时间 = 639 毫秒。按照这个推理:DBMS可以达到你的要求.