In plain English
An index is a separate, sorted structure that lets PostgreSQL find rows without scanning the whole table — like the index at the back of a book. The most common type is the B-tree.
Why it matters
The right indexes turn slow sequential scans into fast lookups; the wrong or missing ones cause slow queries. Indexes also cost write overhead and disk, and can themselves bloat and need REINDEX.
En palabras simples
Un indice es una estructura aparte y ordenada que permite a PostgreSQL encontrar filas sin recorrer toda la tabla, como el indice al final de un libro. El tipo mas comun es el B-tree.
Por que importa
Los indices correctos convierten escaneos secuenciales lentos en busquedas rapidas; los incorrectos o ausentes causan consultas lentas. Tambien tienen costo de escritura y disco, y pueden inflarse y necesitar REINDEX.