Home / Learning

LearningLearningBeginner

Learning: VectorDB Academy - a beginner to professional vector database learning program in 12 modules

A free, self-paced learning path that takes you from your first vector to running a vector database in production. 12 modules in 4 stages cover similarity search, platforms, ingestion, hybrid search, ANN indexing, capacity planning, performance engineering, monitoring, security and a capstone project, with hands-on labs and links to the matching HubDatAI guides.

Deepak Bhardwaj22 min read

Applies toVendor-neutral concepts; labs use Chroma, Milvus or Qdrant, PostgreSQL with pgvector, Python 3.10+ and Docker

About this program

Learn. Build. Optimize. Operate.

VectorDB Academy is a structured path from the basics of vectors and similarity search to the skills you need to build, tune and run a vector database for real workloads. It teaches the engineering ideas first and then practises them on a small set of open-source platforms, so what you learn carries over to whichever product your team picks.

Program Details
Level Beginner to Professional
Structure 12 modules in 4 stages
Duration 8–10 weeks part-time, about 75–80 hours of study and labs
Format Self-paced reading, hands-on labs, knowledge checks and a capstone project
Prerequisites Basic command-line and database knowledge; basic Python for the labs
Cost Free, like everything on this site

What you will be able to do

  • Explain how vectors and embeddings let a system find data by similarity instead of exact matches.
  • Tell vector databases apart from relational, document and search databases, and from vector search libraries.
  • Deploy a vector database and store, filter, update and delete vector data.
  • Build a repeatable pipeline that turns documents into chunks, vectors and metadata.
  • Implement semantic, hybrid and filtered search, and measure the quality of the results.
  • Choose and tune approximate nearest-neighbour (ANN) indexes based on recall, latency and memory.
  • Estimate storage, memory, compute and throughput for a workload.
  • Benchmark, profile and fix slow or unstable vector workloads.
  • Monitor, back up, upgrade and troubleshoot a vector database environment.
  • Design a secure, highly available, multi-tenant vector database architecture.

Who it is for

  • Database administrators and database engineers.
  • Data engineers and data architects.
  • Cloud, platform and infrastructure engineers.
  • Application and search developers.
  • IT support professionals and students who want practical vector database skills.

No previous vector database experience is needed. If you are new to Python, spend a few hours on basic lists, dictionaries, functions and pip install before Module 2.

How the program is organised

Stage Modules Focus Hours
Stage 1: Foundation 1–3 Vectors, similarity, embeddings and database building blocks 16
Stage 2: Implementation 4–6 Platforms, ingestion pipelines and search applications 19
Stage 3: Engineering 7–9 Indexing, capacity planning, architecture and performance 22
Stage 4: Operations 10–12 Monitoring, administration, security and the capstone 20

Hours are planning estimates. Move faster through topics you already know, and spend the saved time on the labs.

Suggested 10-week schedule

Week Work
1 Modules 1 and 2
2 Module 3
3 Module 4
4 Module 5
5 Module 6
6 Module 7
7 Module 8
8 Module 9
9 Modules 10 and 11
10 Module 12 (capstone)

Stage 1: Foundation

Module 1: Introduction to vector databases

Level Duration
Beginner 4 hours

Topics

  1. What a vector is and how data becomes a list of numbers.
  2. What a vector database is and the problem it solves: finding similar items, not exact matches.
  3. Relational, NoSQL, search engines and vector databases: roles and differences.
  4. Vector search libraries (such as FAISS) versus full vector databases.
  5. Keyword search versus similarity search, and when each one wins.
  6. Common use cases: semantic document search, product and content recommendations, duplicate and near-duplicate detection, image similarity and log or incident matching in IT operations.
  7. The typical vector search workflow: source data → vectors → index → query → ranked results.

Practical exercises

  • Search a small set of IT runbook snippets with keywords, then with similarity, and compare what each one finds.
  • Draw the stages of a vector search workflow for one use case from your own work.
  • Sort a list of sample business scenarios into "good fit" and "poor fit" for a vector database.

Learning outcomes: You can explain what a vector database is for, where it sits next to other databases, and which problems it suits.

Read on HubDatAI: Embeddings and vector search basics · Choosing a vector store

Module 2: Vectors, similarity and embeddings

Level Duration
Beginner 6 hours

Topics

  1. Vectors, dimensions and vector spaces.
  2. What embeddings are, and how text and images are converted into vectors by an embedding model.
  3. Choosing an embedding model: quality on your data, languages, dimensions, speed and licence.
  4. Dimension compatibility: every vector in a collection must come from the same model with the same dimension.
  5. Distance metrics: cosine similarity, dot product and Euclidean (L2) distance, and why normalised vectors make cosine and dot product equivalent.
  6. Exact nearest-neighbour (k-NN) search and top-k results.
  7. Reading similarity scores: what "higher is better" and "lower is better" mean for each metric, and why a score is not a confidence level.
  8. Changing the embedding model later, and why it means re-embedding everything.

Practical exercises

  • Generate vectors for 20 sentences with an open-source embedding model and inspect their dimension and values.
  • Calculate cosine, dot product and L2 distance by hand for small vectors, then with NumPy.
  • Build a brute-force top-k search over the 20 sentences in plain Python.

Learning outcomes: You understand how data is turned into vectors and how distance metrics drive similarity search.

Read on HubDatAI: Vector distance metrics: cosine, dot product and Euclidean · Choosing an embedding model

Module 3: Vector database architecture and core operations

Level Duration
Beginner 6 hours

Topics

  1. Core components: storage engine, vector index, metadata store, query layer and API.
  2. Collections, records, IDs, namespaces and tenants.
  3. Vectors, payloads and metadata.
  4. Insert, upsert, query, get, update and delete.
  5. Top-k similarity search and metadata filtering.
  6. Settings that are fixed when a collection is created (distance metric, dimension and often index settings) and why to choose them deliberately.
  7. Persistence, write-ahead logs and how data reaches disk.
  8. Embedded, client-server and distributed deployment modes.
  9. Basic configuration and administration.

Practical exercises

  • Install Chroma locally and create a collection with an explicit distance metric.
  • Insert sample records with metadata.
  • Run similarity searches, with and without metadata filters.
  • Update, upsert and delete records.
  • Restart the service and confirm the data persisted.

Learning outcomes: You can create and manage a collection and run the everyday operations of a vector database.

Read on HubDatAI: Learning: Chroma for beginners · Chroma cheat sheet: collections and where filters · Chroma poor matches: distance and HNSW fixed at creation

Stage 2: Implementation

Module 4: Vector database platforms

Level Duration
Intermediate 6 hours

Topics

  1. Platform categories: embedded databases, dedicated vector databases, vector features in existing databases and search engines, and managed cloud services.
  2. Chroma.
  3. Milvus.
  4. Qdrant.
  5. Weaviate.
  6. Pinecone (managed service).
  7. PostgreSQL with pgvector.
  8. Vector search in OpenSearch, Elasticsearch and Redis.
  9. Oracle Database vector capabilities.
  10. FAISS as a library: fast similarity search, but no database features such as persistence management, access control or replication.
  11. Self-managed versus managed services.
  12. Selection criteria: data volume, latency, throughput, filtering needs, team skills, operations effort, cost, security and deployment constraints.
  13. Checking editions and versions: features differ between releases and between open-source and paid editions.

Practical exercises

  • Run Chroma locally and one dedicated platform (Milvus or Qdrant) in Docker.
  • Load the same sample dataset into both and run the same queries.
  • Load the dataset into PostgreSQL with pgvector and run the same queries in SQL.
  • Fill in an evaluation matrix comparing the three on setup effort, filtering, operations and scaling.

Learning outcomes: You can describe the main platform options and make a first, justified platform choice for a workload.

Read on HubDatAI: Learning: Milvus for beginners · Standalone Qdrant in production · pgvector cheat sheet · Video: vector database selection, a practical guide

Module 5: Ingestion, chunking and embedding pipelines

Level Duration
Intermediate 6 hours

Topics

  1. Ingestion pipeline architecture: extract, parse, clean, chunk, embed, load, validate.
  2. Source formats: PDF, Word, HTML, CSV, JSON and plain text.
  3. Document parsing and text cleaning.
  4. Chunking strategies: fixed-size, recursive, structure-aware (headings, sections, tables) and similarity-based.
  5. Chunk size and overlap, and their effect on result quality and storage.
  6. Embedding generation, batching, token limits and rate limits.
  7. Stable document and chunk IDs, and metadata enrichment (source, section, date, owner, access group).
  8. Loading in batches and validating counts and samples.
  9. Incremental ingestion: detecting new, changed and deleted documents.
  10. Re-embedding and switching embedding models without downtime.
  11. Error handling, retries, idempotent loads and pipeline monitoring.

Practical exercises

  • Build a pipeline that parses a folder of sample PDFs and Markdown files.
  • Apply recursive chunking with configurable size and overlap.
  • Generate vectors in batches and store them with metadata.
  • Re-run the pipeline after changing one file and confirm only that file is reprocessed.
  • Validate record counts and spot-check search results.

Learning outcomes: You can build a repeatable, incremental document-to-vector pipeline and explain how chunking and embedding choices affect results.

Read on HubDatAI: Choosing document parsing · Tuning chunk size and overlap · Embedding ingestion job fails: token limits and 429s · Migrating to a new embedding model

Level Duration
Intermediate 7 hours

Topics

  1. Semantic search service architecture.
  2. Keyword (lexical) search and BM25 fundamentals.
  3. Hybrid search and score fusion, including reciprocal rank fusion (RRF).
  4. Query preprocessing: normalisation, spelling, synonyms.
  5. Filtered search: pre-filtering versus post-filtering, and why filters can return too few results.
  6. Choosing top-k.
  7. Reranking candidates with a second, more precise scoring step.
  8. Returning results with source references, snippets and highlights.
  9. Measuring result quality: building a golden set of queries with known good answers, recall@k and MRR.

Practical exercises

  • Build a search API over the Module 5 collection.
  • Add metadata filters (category, date, owner).
  • Add BM25 keyword search and combine it with vector search using RRF.
  • Add a reranking step where your platform supports it.
  • Create a 30-query golden set and compare semantic, hybrid and reranked results on recall@k and MRR.

Learning outcomes: You can build and measure a search service that combines vector similarity, keywords and filters.

Read on HubDatAI: Hybrid search in PostgreSQL with pgvector and RRF · Weaviate hybrid search: alpha and BM25 · Filtered vector search returns too few results · Measuring retrieval: recall@k, MRR and a golden set

Stage 3: Engineering

Module 7: Vector indexing and search optimization

Level Duration
Advanced 8 hours

Topics

  1. Why indexes are needed: brute-force search cost grows with every record.
  2. Exact (k-NN) versus approximate nearest-neighbour (ANN) search.
  3. Index trade-offs: recall, latency, memory, build time and update behaviour.
  4. HNSW: graph layers, M, ef_construction and ef_search.
  5. IVF family: clusters (nlist), probes (nprobe) and IVF-Flat.
  6. Disk-based indexes such as DiskANN for collections larger than memory.
  7. Quantization: scalar, binary and product quantization (PQ), and re-scoring with full vectors.
  8. Choosing an index by workload: size, update rate, latency target and budget.
  9. Index build, rebuild and online update considerations.
  10. Search-time parameter tuning.
  11. Filtered vector search and payload or scalar indexes.
  12. Measuring recall against exact-search ground truth.

Practical exercises

  • Compute exact-search ground truth for 200 queries.
  • Build HNSW with three different M / ef_construction settings and sweep ef_search.
  • Build an IVF index and sweep nprobe.
  • Turn on quantization and measure the change in memory, latency and recall.
  • Plot recall versus latency for every configuration and pick one for a stated target (for example recall ≥ 0.95 at P95 ≤ 50 ms).

Learning outcomes: You can explain the main index types and choose and tune one from measured evidence, not defaults.

Read on HubDatAI: HNSW tuning for recall · Milvus index types cheat sheet · Vector quantization and dimension reduction · Learning: Chroma advanced

Index types and settings differ by product and version. Learn the concept first, then the platform-specific setting names.

Module 8: Capacity planning, architecture and scalability

Level Duration
Advanced 7 hours

Topics

  1. Workload discovery: record count, growth, dimensions, query patterns, filters and latency targets.
  2. Raw vector storage: vectors × dimensions × bytes per value (4 bytes for float32).
  3. Index memory overhead, metadata and payload storage.
  4. Disk capacity, write-ahead logs, compaction headroom and growth.
  5. Query volume, QPS, concurrency and peak patterns.
  6. Latency objectives and service-level indicators.
  7. CPU, memory, disk and network sizing.
  8. Vertical and horizontal scaling.
  9. Sharding, partitioning and replication.
  10. Multi-tenancy patterns: collection per tenant, namespace or partition per tenant, or a tenant ID filter.
  11. High availability and disaster recovery.
  12. Backup and restore planning: snapshots versus rebuilding indexes from source.
  13. On-premises, cloud and hybrid deployment patterns.
  14. Containers and Kubernetes for vector databases.
  15. Cost and operations-effort trade-offs.

Practical exercises

  • Estimate raw storage for 50 million 768-dimension float32 vectors (about 143 GiB before index overhead).
  • Add index and metadata overhead using documented assumptions.
  • Complete a capacity worksheet for a stated vector count and query load.
  • Draw a production architecture with HA and DR.
  • List the top scaling and availability risks and how you would test each one.

Learning outcomes: You can produce a first capacity estimate and a scalable, highly available architecture, with assumptions written down.

Read on HubDatAI: Vector database high availability · Vector index DR: rebuild vs snapshot · Qdrant distributed clusters: shards and replicas · Multi-tenancy on Pinecone

Capacity figures from formulas are estimates, not production sizing. Always confirm them with a benchmark on the chosen product and hardware.

Module 9: Performance engineering

Level Duration
Advanced 7 hours

Topics

  1. The performance engineering cycle: baseline, measure, change one thing, measure again.
  2. Workload characterisation: query mix, filters, top-k, concurrency, read/write ratio.
  3. Latency percentiles: P50, P95 and P99.
  4. Throughput (QPS) and how it changes with concurrency.
  5. Recall as a performance metric alongside speed.
  6. Ingestion throughput and index build time.
  7. CPU, memory, disk I/O and network bottlenecks.
  8. Query profiling and bottleneck analysis.
  9. Index and query parameter tuning.
  10. Load and concurrency testing, including warm-up and cold-cache runs.
  11. Fair benchmarks: same data, same hardware, same recall target, repeated runs.
  12. Performance baselines and regression checks after upgrades or config changes.

Practical exercises

  • Generate a representative query workload from the golden set.
  • Measure P50, P95 and P99 latency at 1, 8, 32 and 64 concurrent clients.
  • Measure recall at each setting so speed gains are not paid for silently with worse results.
  • Find one bottleneck (for example a query that ignores the index) and fix it.
  • Write a before-and-after benchmark report.

Learning outcomes: You can run structured performance tests, read the results and recommend tuning changes backed by data.

Read on HubDatAI: pgvector query not using the HNSW index · pgvector HNSW index build is slow · Qdrant payload index for slow filtered search

Stage 4: Professional operations

Module 10: Monitoring, administration and troubleshooting

Level Duration
Professional 7 hours

Topics

  1. The operational lifecycle of a vector database.
  2. Service, node and cluster health.
  3. Collection health: record counts, growth and index status.
  4. Query latency, throughput and error-rate monitoring.
  5. Ingestion pipeline health and failed loads.
  6. CPU, memory, disk and network monitoring, and out-of-memory risks.
  7. Deletes, compaction, segment merging and index bloat.
  8. Logs and failed-query analysis.
  9. Backup, restore and recovery testing.
  10. Version upgrades and keeping persisted data compatible.
  11. Alerts and sensible thresholds.
  12. A troubleshooting method: symptom → scope → recent changes → metrics → fix → verify.
  13. Capacity trends and forecasting.
  14. Runbooks and health-check reports.

Practical exercises

  • Collect metrics from Qdrant or Milvus with Prometheus and build a Grafana dashboard.
  • Set alerts for latency, memory and failed ingestion.
  • Simulate high latency, memory pressure and an ingestion failure, then diagnose each one.
  • Back up a collection, restore it to a new instance and verify counts and search results.
  • Write a health-check report for the environment.

Learning outcomes: You can monitor a vector database, recognise common failure symptoms and follow a structured troubleshooting process.

Read on HubDatAI: Qdrant monitoring with Prometheus · Vector database OOM crash recovery · Milvus deletes not freeing space · Milvus backup and restore runbook · Chroma version upgrade runbook

Module 11: Security, governance and integration

Level Duration
Professional 5 hours

Topics

  1. Authentication and authorisation.
  2. Role-based access control.
  3. Encryption in transit and at rest.
  4. Network segmentation and private connectivity.
  5. Tenant isolation and access boundaries.
  6. Document-level access control with metadata filters.
  7. Personal and sensitive data: vectors can leak information about their source text, so protect them like the source.
  8. Data retention and deletion, including removing data from indexes and backups.
  9. Audit logging and traceability.
  10. Securing backups.
  11. Data residency and regulatory requirements.
  12. Secure application and API integration.
  13. Secrets management.
  14. A security review and deployment checklist.

Practical exercises

  • Turn on API keys or RBAC in your chosen platform.
  • Enable TLS between the application and the database.
  • Implement tenant isolation and prove one tenant cannot read another's data.
  • Add document-level permission filters to the Module 6 search API.
  • Complete a security checklist for a sample production deployment.

Learning outcomes: You can name the key security and governance controls and build them into a vector database design.

Read on HubDatAI: Document-level security trimming with ACL filters · Weaviate multi-tenancy · Learning: Milvus advanced

Module 12: Capstone - build, deploy and run a vector database solution

Level Duration
Professional 8 hours minimum, plus project time

Pull everything together in one end-to-end project. Use synthetic, public or properly licensed data only, never confidential or regulated data.

Project options

  • A. Banking policy and product search: search policy, product and procedure documents; add metadata filters and access rules; measure result quality and latency.
  • B. Healthcare administrative document search: search approved administrative documents with strict access boundaries; use synthetic data only.
  • C. Retail product similarity and support search: find similar products from catalogue descriptions and search support articles with hybrid search.
  • D. Industrial equipment manual search: search equipment manuals and maintenance records, filtered by site, model and asset.
  • E. IT operations runbook and incident search: find similar past incidents and the runbooks that fixed them, with source references and access controls.

Deliverables

  1. Use case and requirements.
  2. Workload assumptions and data profile.
  3. Platform choice with reasons.
  4. Architecture diagram.
  5. Ingestion and embedding pipeline.
  6. Vector database implementation.
  7. Index and search strategy, with tuning evidence.
  8. Search API with filters and hybrid search.
  9. Performance benchmark report.
  10. Monitoring and security design.
  11. Operations runbook, including backup, restore and upgrade.
  12. Demo and technical write-up.

Self-review rubric

Area Weight
Requirements and architecture 15%
Ingestion and implementation 20%
Search and indexing 15%
Performance testing and analysis 15%
Monitoring and security 15%
Documentation and demo 20%

Learning outcomes: You can design, build, measure and explain a working vector database solution end to end.

Read on HubDatAI: Qdrant snapshots: backup and restore · Weaviate backup and restore · Weaviate replication and consistency

Lab toolkit

Use a few platforms consistently rather than touching many briefly.

Tool Role in the labs
Python 3.10+ Pipelines, search APIs and benchmark scripts
Jupyter Notebook Guided exercises
Docker Local, repeatable lab environments
Chroma Beginner labs (Stages 1–2)
Milvus or Qdrant Dedicated database for indexing, scaling and operations labs
PostgreSQL + pgvector Vector search next to relational data
FAISS Index concepts and exact-search ground truth
sentence-transformers Open-source embedding models that run locally
Pinecone Managed service concepts (optional, free tier)
Kubernetes Advanced deployment (optional)
Prometheus and Grafana Monitoring and dashboards
  • Start with Chroma to keep setup simple.
  • Use Milvus or Qdrant for the Stage 3 and 4 labs.
  • Use pgvector to see vector search inside a database you may already run.
  • Write down the product version for every lab; features and setting names change between releases.

Check your progress

There is no exam or certificate. Use this checklist to decide whether you are ready for the next stage:

  • After Stage 1: you can explain cosine versus L2, create a collection, and run filtered top-k searches.
  • After Stage 2: you have an incremental ingestion pipeline and a hybrid search API with a measured golden set.
  • After Stage 3: you have a recall-versus-latency chart for at least two index types and a written capacity estimate.
  • After Stage 4: you have a dashboard, a tested restore, a security checklist and a finished capstone.

Each linked HubDatAI learning session ends with exercises and a knowledge check you can use as a quiz.

Optional specialisations

After the core program, go deeper in one direction:

  • Vector database administration: deployment and configuration, data lifecycle, health checks, backup and restore, upgrades, capacity management and recovery.
  • Vector database performance engineering: ANN tuning, benchmark design, recall and latency analysis, concurrency, resource use and regression testing.
  • Vector database architecture: workload discovery, platform selection, capacity and cost modelling, on-premises and cloud design, HA/DR, security and multi-tenancy.

These are learning directions, not job titles or professional licences.

Frequently asked questions

Do I need vector database experience? No. Stage 1 starts from the basics.

Do I need to program? Basic Python helps with the labs. Every lab can be done by following the code step by step.

Which platforms are covered? Chroma, Milvus, Qdrant, Weaviate, Pinecone, PostgreSQL with pgvector and FAISS, plus the vector features of OpenSearch, Elasticsearch, Redis and Oracle Database. Hands-on depth is greatest for Chroma, Milvus or Qdrant, and pgvector.

Does it cover performance tuning? Yes. Modules 7 and 9 cover indexing, recall, latency, QPS, concurrency, resource use and benchmarking.

Does it cover administration? Yes. Module 10 covers monitoring, health checks, compaction, backup and restore, upgrades and troubleshooting. Module 11 covers security.

Is there a project? Yes. Module 12 is a capstone built on one of five practical use cases.

Is it useful for database administrators? Very. The administration, performance, monitoring and architecture modules build directly on DBA skills.

Keeping this program current

Vector database products change quickly. This program will be reviewed regularly:

  • Product features are checked against official documentation.
  • Each lab records the product version used.
  • One product's setting is never presented as a universal feature.
  • Platform-specific limits are called out clearly.
  • Lab code is tested in a clean environment, with expected output and troubleshooting tips.