본문 바로가기

use-the-index-luke

A.2-1 (MySQL) Getting

use-the-index-luke 저자 Markus Winand


Markus Winand는 SQL에 대한 통찰력을 제공하고 다양한 시스템이 SQL을 지원하는 방법을 modern-sql.com 에서 보여줍니다. 이전에 그는 use-the-index-luke.com 을 만들었는데, 지금도 활발하게 유지되고 있습니다. Markus는 winand.at 를 통해 강사, 연사 및 컨설턴트로 고용될 수 있습니다.


You can upload a Korean translation of use-the-index-luke.com on your blog

Thank you from the bottom of my heart to author Makus Winand for allowing me.

These are translations that I use for studying by using a papago (google translate)

The translations may not be correct or there may be a typo.

I'd appreciate it if you could point it out in the comments.



use-the-index-luke.com 의 한글번역본을 블로그에 업로드 해도 된다고

허락해주신 Makus Winand 저자님께 진심으로 감사합니다.

이 번역본들은 제가 공부용도로 번역기(papago, google transrate)를 돌려서

번역한 내용들이라 맞지 않거나, 오타가 있을수 있습니다.

댓글로 지적해주시면 감사하겠습니다.


https://use-the-index-luke.com/sql/explain-plan/mysql/getting-an-execution-plan

ㄴ실행계획 가져오기

SQL 문 앞에 설명을 붙여 실행 계획을 검색합니다.


EXPLAIN SELECT 1


계획은 표 형식으로 표시됩니다(일부 덜 중요한 열은 제거됨):


~+-------+------+---------------+------+~+------+------------~ ~| table | type | possible_keys | key |~| rows | Extra ~+-------+------+---------------+------+~+------+------------~ ~| NULL | NULL | NULL | NULL |~| NULL | No tables... ~+-------+------+---------------+------+~+------+------------~


가장 중요한 정보는 TYPE 열에 있습니다. MySQL 문서에서 "join type"이라고 하지만 실제로 데이터에 액세스하는 방법을 지정하기 때문에 "access type"이라고 설명하는 것이 좋습니다. 유형 값의 의미는 다음 절에서 설명합니다.

'use-the-index-luke' 카테고리의 다른 글

A.2-3 (MySQL) Access vs. filter predicates  (0) 2023.12.11
A.2-2 (MySQL) Operations  (0) 2023.12.10
A.2 MYSQL  (0) 2023.12.04
A.1-3 (DB2) Access vs. filter predicates  (0) 2023.11.30
A.1-1 (DB2) Getting  (1) 2023.11.28