Vector search landed inside the engines you already run — pgvector, SQL Server 2025, Oracle 23ai, Atlas. Owning it like production — index memory, replicas, backups, embedding drift — is the DBA's defensible upgrade path: the same concepts everywhere, different knobs per engine, and a set of concerns no vendor demo mentions.
The estate argument is simple. In 2025–26 every major engine shipped native vector search: pgvector default-enabled on every managed Postgres, SQL Server 2025 with a native VECTOR type and DiskANN indexes, Oracle 23ai's AI Vector Search included at no extra charge, MongoDB Atlas with hybrid search GA even for on-prem Community deployments. That means the org's first semantic-search feature does not need a new platform, a data movement pipeline, or a vector-database vendor — it needs the DBA to enable and operate a capability inside the engine they already run. Demos are everywhere; operations is the gap, and operations is your job description.
One boundary, stated up front: corpus pipelines, chunking strategy, and warehouse RAG engineering belong to the data-engineering track. This module owns what happens inside the engine — enablement, indexing, lifecycle, and capacity — on data that already lives there.
Shruti is the senior DBA at a Hyderabad B2B marketplace: PostgreSQL 16 on RDS, a products table at 14 million rows. The app team wants "AI search" and has a Pinecone quote in hand; she counters that the data is already in Postgres and pgvector will do it without moving anything. She is right — and then the first production step goes wrong in a way no tutorial covers.
The demo works beautifully. Embeddings for 50k sample products, an HNSW index, cosine similarity queries returning obviously better results than the existing trigram search. Leadership is delighted.
Production build night. The HNSW index build on 14M embedding rows starts inside the maintenance window with default maintenance_work_mem at 1 GB.
The build is crawling — the graph doesn't fit in maintenance memory, so the build thrashes. Meanwhile WAL volume from the build has replica lag climbing, and the nightly backup window overlaps with a table now ~40% larger than it was, because 1,536-dimension float vectors on 14M rows are roughly 90 GB of new data.
She kills the build. The feature ships two weeks later — after she sizes maintenance_work_mem for the build, schedules it as a proper change with replica-lag checkpoints, halves storage by moving to halfvec, and re-forecasts backup windows and storage growth.
The demo was the easy 10%. Index build memory, replica behavior, backup growth, and storage math were the actual project — and none of them appeared in any tutorial she'd read.
Learn the concepts once; port them per engine. The transferable core:
| Engine | Vector support | Index | Embedding wiring | The ops note |
|---|---|---|---|---|
| PostgreSQL + pgvector | vector / halfvec types, 0.8.x planner improvements for filtered queries | HNSW (and IVFFlat) | App-side, or triggers calling out; local models via Ollama | Index build wants big maintenance_work_mem; builds are WAL-heavy — watch replicas |
| SQL Server 2025 | Native VECTOR type, VECTOR_DISTANCE | DiskANN | External model endpoints via sp_invoke_external_rest_endpoint | The REST surface is a new security review item; Developer Edition is free for labs |
| Oracle 23ai | VECTOR type, AI Vector Search, multiple distance metrics | Vector indexes (in-memory graph and neighbor-partition) | DBMS_VECTOR and external providers; Select AI adjacent | Included at no extra charge, even in 23ai Free — licensing objection removed |
| MongoDB Atlas | Vector + full-text hybrid search ($rankFusion), auto Voyage embeddings | Atlas Search indexes | Automated embeddings managed by the platform | Search Nodes isolate search workload; Community-edition search covers on-prem |
Vendor claims ride along with the features — MongoDB's "+30% retrieval quality" from native reranking is a vendor number; Oracle's positioning, Microsoft's benchmarks likewise. The features are real and verifiable on your own data; the percentages are marketing until you reproduce them.
This list is the module's core. Every one of these hit Shruti or will hit you, and none appear in quickstarts:
halfvec) before defaulting to full float.category = 'pumps' AND in_stock). Pre-filter versus post-filter changes both correctness (post-filtering can return fewer than k results) and performance; pgvector 0.8's planner work targets exactly this. Read these plans like any other plan — this is why the estate needs a DBA at all.m, ef_construction) and query-time parameters (ef_search). "It returns results" is not "it returns the right results" — recall@k against a brute-force exact baseline is the measurement, on your data, not the README's.Run your recall@k measurement before tuning anything: exact brute-force top-10 on a 1,000-query sample as ground truth, then the index's top-10 against it at two or three parameter sets. An hour of measurement replaces every forum argument about HNSW parameters with a table about your data.
The demo embeds once. Production data changes, and a vector computed from last month's product description is a wrong answer waiting to surface. Embedding lifecycle is an ops responsibility with four parts:
DBMS_VECTOR pipelines). Synchronous embedding inside the write path adds an external API call to your OLTP latency — almost always wrong; queue it.Text-vector drift is the vector estate's version of stale statistics — invisible, gradually corrupting results, and blamed on everything else first. Searches keep returning; they just quietly return the past. The reconciliation query is not optional monitoring; it is the feature's correctness check.
New platform, new vendor, a sync pipeline moving product data out of Postgres, two sources of truth, and a security review for a new external data store. Six months, and the DBA is a bystander.
One extension or one native type, embeddings via a local or contracted model, an HNSW index built as a governed change, RLS and backups inherited for free because the data never moved. Weeks, and the DBA owns the feature.
This is the career argument made concrete: a working "search that understands meaning" feature over an existing products, tickets, or documents table — shipped engine-side by the DBA, with recall measurements and a capacity forecast attached — is the most legible possible proof that the database team is where AI capability lives. It reuses everything this track has taught: the change gates from Module 2 for the index build, the measurement-first discipline from Module 1 for recall tuning, and it sets up Module 5, where access to this new capability gets governed.
MySQL/MariaDB readers: HeatWave GenAI is cloud-only, so for on-prem MySQL estates, learn the concepts on local Postgres + pgvector — every concept in this module transfers; only the knob names change.
Check yourself: The app team says vector search results "seem worse lately" — no errors, no slow queries. List your first three checks, in order, and what each would prove.
This module anchors LAB-07 (pgvector semantic search in a live app schema) — embeddings, HNSW tuning with recall@k versus latency measured across parameter sets, and a 10x storage forecast — and LAB-08 (embedding lifecycle ops inside OLTP) with its trigger-driven refresh queue and seeded drift hunt. Do it at work this week → pb-28 (pgvector like an operator), pb-29 (engine-side semantic search), pb-30 (embedding lifecycle), pb-31 (vector index tuning), and pb-32 (porting the mental model to SQL Server 2025 and Oracle 23ai).
The estate went AI-native; the demos are free but the operations are not. Index build memory, replica lag, backup growth, hybrid-query plans, recall measurement, and embedding drift — own that list and the org's vector capability lives in your engine, under your gates, on your résumé.