11장. EXPLAIN/ANALYZE
access type, key, rows, filtered, Extra와 tree format actual time/rows/loops를 읽는다. Using filesort는 항상 나쁜 것이 아니고 결과 크기·memory·index 비용과 비교한다.
optimizer trace와 histogram은 오판 근거를 좁힐 때 쓴다. hint로 영구 봉합하기 전 statistics와 schema를 본다.
WEBBOOK CHAPTER
access type, key, rows, filtered, Extra와 tree format actual time/rows/loops를 읽는다. Using filesort는 항상 나쁜 것이 아니고 결과 크기·memory·index 비용과 비교한다.
optimizer trace와 histogram은 오판 근거를 좁힐 때 쓴다. hint로 영구 봉합하기 전 statistics와 schema를 본다.