5
6

More than 5 years have passed since last update.

カバリングインデックス

Last updated at Posted at 2014-05-02

カバリングインデックス

SQLでデータを取得する時に必要なデータを全て含んでいるインデックスを
カバリングインデックスと呼ぶ

SELECT文でインデックスのカラムだけ取得する場合は、パフォーマンスが向上する

そもそもSELECT * で取得するとパフォーマンスが悪くなる。

できれば必要な行、必要な列のみを取得するのがパフォーマンスにとっては良い

実践ハイパフォーマンス MySQLより

5
6
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
5
6