Build an index with reduced write blocking.
Section: Indexes and Constraints
Create index concurrently
sql
sql
CREATE INDEX CONCURRENTLY idx_orders_created_at ON orders (created_at);Explanation
Use outside a transaction block.
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 Indexes and Constraints