mysql中          select nm,bc,qk from table where nm=1 and bc=2 and qk=3
  
                    就这种方式。效率怎样  
           上千万条数据能在0.001s完成吗?

解决方案 »

  1.   

    需要在nm,bc,qk上建立索引。
    是否能在规定的时间完成,需要看数据库的配置情况。
      

  2.   

    得两个条件
    1、          select nm,bc,qk from table where nm=1 and bc=2 and qk=3 
    建立索引 ix_u (nm,bc,qk);
    2、超级CPU 。
      

  3.   

    上千万条数据能在0.001s完成吗?这种计算机估计买不起。
        [align=center]====  ====
    [/align]