2
Tại sao MySQL chọn kế hoạch thực hiện này?
Tôi có hai truy vấn, select some_other_column from `table` order by primary_index_column asc limit 4000000, 10; và select some_other_column from `table` order by secondary_index_column asc limit 4000000, 10; Cả hai trả về 10 hàng; lần đầu tiên mất 2,74 giây và lần thứ hai mất 7,07 giây. some_other_columnkhông phải là …