Skip to content

Commit 67da0a5

Browse files
Merge pull request #53313 from JeffKoMS/patch-postgresql-module
added link to vector index optimization
2 parents a9272c5 + 6c70659 commit 67da0a5

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)