From 183d50bdbdcfdf1162cb8cc50c581998700fd372 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 16 Mar 2024 10:45:09 -0700 Subject: [PATCH] Added note about creating indexes concurrently [skip ci] --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7f0e874..7b7e1ad 100644 --- a/README.md +++ b/README.md @@ -428,6 +428,12 @@ Add any indexes *after* loading the initial data for best performance. See index build time for [HNSW](#index-build-time) and [IVFFlat](#index-build-time-1). +In production environments, create indexes concurrently to avoid blocking writes. + +```sql +CREATE INDEX CONCURRENTLY ... +``` + ### Querying Use `EXPLAIN ANALYZE` to debug performance.