<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe" -->

---
title: Understanding How Vector Databases Work! | daily.dev
description: Vector databases are used for recommender engines to find similar items using approximate nearest-neighbor search. They can be indexed using algorithms like...
canonical: https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Understanding How Vector Databases Work! | daily.dev
og:description: Vector databases are used for recommender engines to find similar items using approximate nearest-neighbor search. They can be indexed using algorithms like...
og:url: https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe
og:image: https://api.daily.dev/og/posts/Jn4MUnqpe.png
og:image:alt: Understanding How Vector Databases Work!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Understanding How Vector Databases Work!

**[Substack](https://daily.dev/sources/substack)** · 9 min read · 13 upvotes · 0 comments

## Summary

Vector databases are used for recommender engines to find similar items using approximate nearest-neighbor search. They can be indexed using algorithms like Product Quantization, Locality-sensitive hashing, and Hierarchical Navigable Small World. Euclidean distance, dot product, and cosine similarity are common measures for comparing vectors. Vector databases also offer database operations, metadata and filtering capabilities, and scalability.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://newsletter.theaiedge.io/p/understanding-how-vector-databases>

---

Tags: [#vector-search](https://daily.dev/tags/vector-search)

[View this post on daily.dev](https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Understanding How Vector Databases Work!","url":"https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe"},"datePublished":"2024-05-03T06:06:22.943Z","dateModified":"2024-05-09T08:43:33.910Z","description":"Vector databases are used for recommender engines to find similar items using approximate nearest-neighbor search. They can be indexed using algorithms like...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/30703818b9bacd53c212bb95cfd8e837?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/30703818b9bacd53c212bb95cfd8e837?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Substack","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Substack","logo":"https://media.daily.dev/image/upload/s--KFqxX_OL--/f_auto,t_logo/v1698154293/logos/substack.jpg","url":"https://daily.dev/sources/substack"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/understanding-how-vector-databases-work--jn4munqpe","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":13},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"vector-search","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Substack","item":"https://daily.dev/sources/substack"},{"@type":"ListItem","position":3,"name":"Understanding How Vector Databases Work!"}]}
```

