WEBBOOK CHAPTER

MySQL 8.4 LTS, 입문에서 시니어까지: 11장. EXPLAIN/ANALYZE

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를 본다.