리눅스
Mysql index 강제로 지정하기
파인진
2020. 7. 3. 11:31
반응형
force index, ignore index
특정 인덱스를 사용하도록 강제로 지정
select * from TABLE force index(index_key)
특정 인덱스를 사용하지 않도록 지정
select * from TABLE ignore index(index_key)
옵티마이져가 판단을 하지 못하는 경우 설정합니다.
반응형