0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

MySQL インデックス作成されているかどうかをSQL文で確認する

Posted at

概要

  • インデックス作成状況をSQL文で確認する方法を簡単にまとめる。

方法

  • 下記SQL文を実行することで当該のテーブルにインデックスが作成されているかを確認できる。

    show indexes from テーブル名;
    
  • Key_nameがインデックス名、Column_nameが対象カラムとなっている。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?