Index

chunjakim·2023년 2월 12일
0

MySQL API

목록 보기
13/18

Show

SHOW INDEX FROM <table>;               -- 존재하는 index 보기

SHOW TABLE STATUS LIKE <table string>; -- index 상태 보기

Create

CREATE <UNIQUE> INDEX <index>
    ON <table>(<column>) <ASC | DESC>; -- index create

ANALYZE TABLE <table>;                 -- index apply

Drop

DROP INDEX <index> ON <table>;

0개의 댓글