Skip to content

Commit 6c70659

Browse files
committed
added link to vector index optimization
1 parent a9272c5 commit 6c70659

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

learn-pr/wwl-data-ai/build-query-azure-database-postgresql/includes/4-create-manage-schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ CREATE INDEX idx_messages_conversation_created ON messages(conversation_id, crea
8989

9090
The order of columns in a composite index matters. The index can satisfy queries that filter on the leading columns but not queries that filter only on trailing columns.
9191

92-
Indexes improve read performance but come with costs. Every index consumes disk space and adds overhead to inserts, updates, and deletes. For AI applications that write frequently (storing every message, for example), be selective about which indexes you create. Monitor query performance and add indexes when you identify slow queries that would benefit. Advanced indexing strategies, including GIN indexes for JSONB, partial indexes, and vector indexes, are covered in the "Optimize performance, indexing, and scaling" module.
92+
Indexes improve read performance but come with costs. Every index consumes disk space and adds overhead to inserts, updates, and deletes. For AI applications that write frequently (storing every message, for example), be selective about which indexes you create. Monitor query performance and add indexes when you identify slow queries that would benefit. For information on optimizing vector indexes, visit [Optimize vector search in Azure Database for PostgreSQL](/training/modules/optimize-vector-search-azure-database-postgresql/).
9393

9494
## Schema management commands
9595

0 commit comments

Comments
 (0)