Online index creation and concurrent operationsOnline index creation and concurrent operations are the backbone of zero-downtime Rails migrations because creating indexes synchronously can lock writes and stall production traffic. In PostgreSQL, use CREATE INDEX CONCURRENTLY or, in Rails, add_index with algorithm: :concurrently and disable_ddl_transaction! to keep online index creation running w..