Embedding upgrades are coordinated data migrations

Google Cloud has published a production pattern for upgrading embedding models in AlloyDB AI without interrupting semantic search. Changing models is not a simple endpoint switch: every stored item must be embedded again, a compatible vector index must be built and application queries must move to the new vector space at the same time.

Vectors produced by different models are mathematically incompatible even when they describe identical text. Comparing a new query vector with an old stored vector can severely degrade ranking. Larger dimensions also change storage and index requirements. A safe migration therefore needs old and new columns to operate in parallel until the replacement path is complete and tested.

AlloyDB builds the new vector path in parallel

The walkthrough migrates from text-embedding-005 with 768 dimensions to Gemini Embedding 001 with 3,072 dimensions. AlloyDB model endpoint management provides in-database access to first-party, third-party or self-hosted models, while auto embeddings generate replacement vectors in the background and continue updating them as source records change.

Google reports background embedding throughput of up to 3,000 rows per second and says AlloyDB’s ScaNN indexes can build ten times faster than open-source HNSW in the cited comparison. Concurrent index creation, short lock timeouts and atomic column renaming support a blue-green rollout that keeps application reads and writes available.

Canary validation protects live search quality

Before switching, teams should compare retrieval results on a representative query set, not merely wait for every row to contain a vector. A canary can send a portion of queries through the new model and index while measuring relevance, latency, error rate and cost. Dimension checks and model-connectivity tests should fail before any schema change reaches production.

Zero downtime reduces operational disruption but does not prove the new model is better. Multilingual coverage, domain vocabulary and changes in ranking distribution can alter user outcomes. Organisations need a rollback window that preserves the old vectors and index until quality is established, along with a plan for the temporary storage and compute consumed by both paths.

What teams should validate before production

For implementation, teams should record the exact model, software, dataset, connector and policy versions behind every result. Representative evaluation must include normal work, boundary cases, deliberate misuse and component failure, with outcomes separated by user role, data sensitivity and consequence. A strong average should never hide a serious failure in a critical path. Changes should pass the same regression set before promotion, and operators need a documented fallback that preserves evidence rather than silently broadening access or lowering quality.

Procurement and planning should account for the human work required to review exceptions, maintain controls and investigate incidents. Published performance or efficiency claims are useful starting points, but production confidence comes from evidence collected in the organisation’s own environment. A named owner, measurable acceptance threshold, cost model and tested shutdown path turn a promising release into a service that can be governed over time. Where decisions affect safety, rights, money or regulated records, accountable professional review remains essential.

Security and operational evidence

Security review should map every identity, credential, network destination, stored artefact and administrative access path involved in the workflow. Logs need enough context to reconstruct who initiated an action, which evidence was consulted, what the system proposed and what ultimately executed. Sensitive prompts and traces should not be retained merely because they are useful for debugging. Retention, redaction and access must follow the underlying data classification, with a practical process for correcting or removing material when policy or law requires it.

Operational monitoring should measure quality and service behaviour together. Latency, throughput and availability matter, but so do unsupported claims, missed constraints, unsafe tool calls and the rate at which people overturn recommendations. Teams should rehearse dependency outages and partial failures before unattended operation. If a model, connector or external service becomes unavailable, the workflow should fail predictably, preserve its state and tell the user what remains unfinished. Clear degradation is safer than an agent improvising around a missing control.

Transparency should scale with adoption

Organisations should explain the scope and limitations of the deployed capability to the people affected by it. Users need to know when automation is involved, how to challenge an outcome and where a human can intervene. That transparency improves feedback and prevents a pilot result from being interpreted as blanket approval for broader autonomy. Expansion should follow demonstrated evidence, not novelty or pressure to match a competitor announcement. The durable advantage comes from dependable integration, careful measurement and learning that survives the next model or product update.

Finally, teams should schedule a review after real usage rather than treating launch as the end of governance. The review should compare expected benefits with observed quality, cost, incidents and user behaviour, then retire workflows that do not justify their complexity. A service that works well can expand through the same evidence-based process. A service that fails should be narrowed or stopped without losing the records needed to understand why. This feedback loop is what turns experimentation into accountable operational capability.