을 실행해서 실행 계획을 확인할 수 있습니다. 오라클 데이터베이스에는 실행 계획을 기록하는
plan
_
table
이라는 특수 테이블이 있으며
explain
plan
문을 포함합니다.
쿼리 결과를 보면
possible
_
keys
열은 서버가
idx
_
last
_
name
또는
idx
_
full
_
name
인덱
스 중 하나를 사용하도록 결정할 수 있음을 알려주고,
key
열은
idx
_
full
_
name
인덱스가 실
제 실행에 선택되었음을 알려줍니다. 또한
type
열은 범위 스캔이 사용될 것임을 알려줍니다.
즉, 데이터베이스 서버는 하나의 행을 검색하는 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.