Default choice for equality, ranges, and ordering.
Section: PostgreSQL index types
B-tree index
sql
sql
CREATE INDEX idx_products_sku ON products (sku);Explanation
B-tree is the default and best starting point for many OLTP queries.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing PostgreSQL index types