Skip to content

Commit

Permalink
Update ko/sql/tuning.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Mike MyungHwan Oh <[email protected]>
  • Loading branch information
xmilex-git and mhoh3963 authored Aug 8, 2024
1 parent 6db90ff commit af28b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ko/sql/tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4235,7 +4235,7 @@ SQL 트레이스 정보를 요청과 함께 질의 수행시 서브 쿼리 캐

**size**\가 설정해둔 값을 초과하는 경우에는 서브 쿼리 캐시가 질의 수행 도중 비활성화 되며 SQL 트레이스 정보에서 **status**\가 disabled로 출력된다. 또한, **miss**/**hit** 가 9 이상일 경우, 서브 쿼리 캐시의 메모리 크기가 설정해둔 값을 초과하지 않더라도 캐시 miss가 높다고 판단해서 질의 수행 도중 캐시가 비활성화 될 수 있다.

다음은 서브 쿼리 캐시의 사용 유무에 따른 성능 차이를 측정하는 예제이다.
다음은 서브 쿼리 캐시의 사용 유무에 따른 성능 차이를 확인하기 위해 반복 수행되는 상관 부질의의 결과를 count하는 예제 질의 이다.
먼저 성능 차이를 측정하기 위해 데이터를 준비하는 쿼리를 작성한다.

::
Expand Down

0 comments on commit af28b8d

Please sign in to comment.