인덱스 확인
SHOW INDEX FROM USER_POINT;
결과
Table |Non_unique|Key_name |Seq_in_index|Column_name |Collation|Cardinality|Sub_part|Packed|Null|Index_type|Comment|Index_comment|Visible|Expression|
----------+----------+-------------------+------------+-------------------+---------+-----------+--------+------+----+----------+-------+-------------+-------+----------+
USER_POINT| 0|PRIMARY | 1|user_point_id |A | 2203| | | |BTREE | | |YES | |
USER_POINT| 0|unique_user_invoice| 1|user_id |A | 1548| | | |BTREE | | |YES | |
USER_POINT| 0|unique_user_invoice| 2|invoice_id |A | 1815| | |YES |BTREE | | |YES | |
USER_POINT| 0|unique_user_invoice| 3|user_point_provider|A | 2122| | | |BTREE | | |YES | |
'DB > MYSQL' 카테고리의 다른 글
[ MYSQL ] 특정 테이블 항목 UPDATE 나 DELETE 안될때 - 트랜잭션 lock (0) | 2025.01.09 |
---|---|
[ MYSQL ] MySQL, Mariadb 엔진 확인 방법 (0) | 2025.01.09 |
[ MYSQL ] ORDER BY FIELD (0) | 2024.07.04 |
[ MYSQL ] Decimal / Double 차이 (0) | 2024.07.01 |
[ Mariadb ] 원격 쉘 접속 (0) | 2024.06.24 |