Skip to content
All topics

Domain

Vector databases

Storing and searching embeddings at scale: index types, filtering, consistency and operations.

0 of 12 articles published. Topics are listed in reading order: each comes after the topics it builds on.

How nearest-neighbour search works and the index structures behind it.

  1. Vector search fundamentalsComing soon

    Finding the nearest vectors to a query, and why that is harder than it sounds at scale.

    Fundamentals · Beginner

  2. Exact versus approximate nearest-neighbour searchComing soon

    What approximate search gives up in recall for speed, and how to measure recall on your data.

    Fundamentals · Intermediate

  3. HNSW indexesComing soon

    How hierarchical navigable small-world graphs are built and searched, and what their parameters control.

    Advanced engineering · Advanced

  4. IVF indexesComing soon

    Inverted-file indexes: clustering, probing, and when they suit a workload better than graphs.

    Advanced engineering · Advanced

  5. Vector quantizationComing soon

    Scalar, product and binary quantization: memory saved, recall lost, and how re-scoring recovers it.

    Advanced engineering · Advanced

Query features

Combining vector search with the rest of a query.

  1. Metadata filtering with vector searchComing soon

    Pre-filtering versus post-filtering, why restrictive filters can return too few results, and how engines handle it.

    Implementation · Advanced

  2. Multi-tenant vector storageComing soon

    Separate collections, partitions or filtered tenancy, and the isolation and cost each provides.

    Security · Production

Choosing and using an engine

Running vector search in a general database or a dedicated one.

  1. Vector search in PostgreSQL with pgvectorComing soon

    Storing, indexing and querying vectors next to relational data, with tests and migration steps.

    Implementation · Intermediate

  2. PostgreSQL or a dedicated vector databaseComing soon

    Explicit criteria for choosing: scale, filtering, operations, consistency and team skills.

    Comparison · Advanced

Vector database operations

Keeping a vector store fast, correct and recoverable.

  1. Tuning vector index recall and latencyComing soon

    Measuring recall and tail latency together, and adjusting index parameters with evidence.

    Performance · Production

  2. Reindexing and backfillsComing soon

    Rebuilding indexes and re-embedding data without serving inconsistent results.

    Operations · Production

  3. Backing up and restoring vector dataComing soon

    What must be backed up to restore search, how long a restore takes, and how to rehearse it.

    Operations · Production