librarynow 发表于 2010-6-4 02:01 
使用index的时候,我想对两个变量创建index。那么是建立两个simple index好呢?还是建立一个composite index好?请大家给我点建议。谢谢了!
That is an empirical issue. The better decision would depend on how often people use them in their queries. If separated variable is most likelily used in queries, then simple index is a better choice.