Skip to content

Sizing a Vector Search configuration for embeddings, update frequency, latency, and cost

Databricks Vector Search index and sync-mode choice should be driven by how many embeddings you have, how often they change, and your latency/cost tolerance. A Delta Sync Index (auto-managed from a Delta table) is preferred for most RAG workloads, while a Direct Vector Access Index gives full manual control over embedding writes when data isn't Delta-native or updates need custom logic.

1 · Learn the must-know

  • Delta Sync Index automatically keeps the vector index in sync with a source Delta table and supports Continuous, Triggered, or Scheduled sync modes.
  • Continuous sync gives near-real-time freshness but keeps compute running constantly, making it the most expensive option—use it only when low update latency truly matters.
  • Triggered or Scheduled sync modes batch updates (on-demand or at set intervals) and cost less, making them appropriate when data changes infrequently or slight staleness is acceptable.
  • Direct Vector Access Index requires you to manage embedding generation and index updates yourself via the API, offering flexibility for custom or non-Delta pipelines at the cost of more operational overhead.
  • Vector Search endpoints incur cost based on provisioned compute uptime, not per query, so endpoint sizing (and thus cost) should scale with index size (number of embeddings) and expected query throughput/latency needs.
  • Larger embedding counts or higher-dimensional embeddings increase both index storage and query latency, so right-sizing the endpoint and periodically reviewing index growth is a key configuration step.

2 · Check your understanding

Check this objectiveFree · always available

A Generative AI Engineer maintains a Delta table of product documentation that receives streaming updates from an ETL job every few seconds. The RAG application must surface new or edited documents in search results within a couple of minutes, and the team has approved additional compute spend to guarantee this freshness. Which vector search configuration should the engineer choose?

Your objective map0 tried · 0 answered correctly · 56 untouched

What you have tried across Databricks GenAI Engineer's objectives, not a readiness score.

Design Applications10.71% of the exam*0 of 6 tried
Data Preparation14.29% of the exam*0 of 8 tried
Application Development23.21% of the exam*0 of 13 tried
Assembling and Deploying Applications26.79% of the exam*0 of 15 tried
Governance7.14% of the exam*0 of 4 tried
Evaluation and Monitoring17.86% of the exam*0 of 10 tried

* Our estimate. Databricks publishes no section weights.

3 · Keep going