Skip to content
Latchkey

Database Index - CI/CD Glossary Definition

A database index is an auxiliary data structure (usually a B-tree) that lets the database find rows by a column without scanning the whole table, trading extra storage and slower writes for faster reads.

In CI/CD

Creating an index can lock a large table for a long time. Postgres offers CREATE INDEX CONCURRENTLY to build it without blocking writes, which is the safe choice in a zero-downtime migration.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →