some_other_column不是任何索引的一部分。primary_index_column是主键列;secondary_index_column有一个b树索引,基数为200 (根据MySQL)。以下是explain的结果:
mysql> explain select some_other_column from `table` order by primary_index_column limit要为第二个查询选择特定的执行计划?我不明白为什么它可以将索引用于第一个查
例如,One mysql server machine A has One table called "tableA" under in a database called databaseA, anothermysql server machine B has one table called "tableB" under in a database called databaseB.如何加入tableA