Skip to content
KnowledgeCity

MySQL: Indexes

How to understand the purpose of MySQL indexes.
Preview the first lesson free — get full access to all 5 lessons.
Course: On-Demand
Advanced Provider Kati Gordon  5 Lessons ·  16m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In this module, you’ll examine the purpose of indexes in PostgreSQL. Indexes can be compared to a cookbook because they help you find information in a table, and this module will help you understand their purpose. There are many types of indexes in PostgreSQL. In particular, you’ll take a close look at B-tree, bit map, and hash indexes. In this module, you’ll also examine how to add different types of indexes to your query plans. This module also touches briefly on generalized inverted indexes (GIN) and the generalized search tree (GiST).

What You'll Learn

  • Examine the purpose of indexes and how they help locate information in a table
  • Compare B-tree, bitmap, and hash indexes
  • Add different types of indexes to your query plans
  • Understand the purpose of generalized inverted indexes (GIN)
  • Understand the purpose of the generalized search tree (GiST)

Key Takeaways

  • Indexes serve to help you find information in a table, much like a cookbook helps you locate information.
  • There are many types of indexes, including B-tree, bitmap, and hash indexes.
  • Different types of indexes can be added to query plans.
  • The module also covers generalized inverted indexes (GIN) and the generalized search tree (GiST).

Frequently Asked Questions

What does this module cover?

This module examines the purpose of indexes, taking a close look at B-tree, bitmap, and hash indexes, how to add different types of indexes to query plans, and briefly touching on generalized inverted indexes (GIN) and the generalized search tree (GiST).

What lessons are included?

The lessons are Indexes, B Tree Indexes, Bitmap Indexes, Hash Indexes, and Index Wrap-Up.

What skills does this module focus on?

It focuses on database engines, database indexes, IndexedDB, indexing, PL/pgSQL, and PostgreSQL.

How are indexes described in this module?

Indexes are compared to a cookbook because they help you find information in a table.