Skip to main content

Indexes

  • Chapter
  • First Online:
MySQL 8 Query Performance Tuning
  • 979 Accesses

Abstract

This chapter starts out discussing what an index is, some index concepts, and what drawbacks adding an index can have. Then the various index types and features supported by MySQL are covered. The next part of the chapter starts out discussing how InnoDB uses indexes particularly related to index-organized tables. Finally, it is discussed how to choose which indexes you should add to your tables and when to add them.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Actually, there are cases where MySQL will auto-generate indexes specific to a single query. More about this later when discussing index features.

  2. 2.

    https://dev.mysql.com/doc/refman/en/fulltext-search-ngram.html

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Jesper Wisborg Krogh

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Krogh, J.W. (2020). Indexes. In: MySQL 8 Query Performance Tuning. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5584-1_14

Download citation

Publish with us

Policies and ethics