Skip to main content

Cockroach University: Introduction to Secondary Indexes

In this Cockroach University lesson titled “Introduction to Secondary Indexes”, we’ll talk about how to create secondary indexes, how to find them, and how to understand how they are being used. Then we’ll discuss how these indexes relate to the underlying key-value store. In this lesson, you will learn to: •Define a table scan •Create an index •Find all indexes on a table •Read a logical EXPLAIN plan •Trace the lookups performed when using a secondary index to find a table row Learn more about CockroachDB by signing up for free training at Cockroach University: --------------------------------------------------------------------------------------------------------------------------- Reference Links •Indexes: (CockroachDB Docs) •SQL Tuning with Explain: (CockroachDB Docs) --------------------------------------------------------------------------------------------------------------------------- Careers: CockroachCloud: Blog: Docs: Community Slack: Twitter: