(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43401138

原帖作者 (tmaly) 正在寻找跨平台、易于设置的向量数据库替代方案,因为某些选项需要特定的处理器。 几位评论者建议使用带有向量扩展或库的现有数据库系统。PostgreSQL 配合 pgvector 扩展是一个流行的推荐方案,因为它广泛可用且性能不错。SQLite(通过 libsql)被建议用于轻量级用例,它具有内置的向量嵌入支持。对于需要多个过滤器和更大数据集的场景,推荐使用 Elasticsearch。hnswlib 和 Faiss(用于内存内解决方案)也被提及。 其他专用向量数据库选项,如 Milvus、Weaviate 和 Qdrant,也被建议,因为它们声称提供多平台支持和易于设置。最佳选择取决于具体的用例、向量的数量以及是否需要内存内性能。

原帖作者 (tmaly) 正在寻找跨平台、易于设置的向量数据库替代方案,因为某些选项需要特定的处理器。 几位评论者建议使用带有向量扩展或库的现有数据库系统。PostgreSQL 配合 pgvector 扩展是一个流行的推荐方案,因为它广泛可用且性能不错。SQLite(通过 libsql)被建议用于轻量级用例,它具有内置的向量嵌入支持。对于需要多个过滤器和更大数据集的场景,推荐使用 Elasticsearch。hnswlib 和 Faiss(用于内存内解决方案)也被提及。 其他专用向量数据库选项,如 Milvus、Weaviate 和 Qdrant,也被建议,因为它们声称提供多平台支持和易于设置。最佳选择取决于具体的用例、向量的数量以及是否需要内存内性能。

原文
Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Alternatives to Vector DB?
6 points by tmaly 48 minutes ago | hide | past | favorite | 7 comments
A while back I was looking for a vector database that would work across Windows / Mac / Linux platforms. Some of the options required specific processors like Intel. I am curious if there are any alternatives to a Vector DB that can run cross platform and are easy to setup?










There’s a bazillion python libraries and regular databases / search engines with vector indices that run cross platform. Postgres, hnswlib, Elasticsearch, etc.


There's Postgres with pgvector extension.


This would be my vote.

There are probably more performant options, but for universality, you are best off going with a popular SQL DB that has vector extensions or support. SQLLite is another option if you want even more portability.



Elasticsearch is a good bet, if you need to use multiple filters with your queries, and when you grow above the acceptable size of an in-memory database.


postgres pgvector is a decent implementation by now which is likely available in most setups that postgres will run on.

You can also use faiss if you want it all in memory at all times and have the RAM to support it.

What's your use case and the volume of vectors you want to look up?



You can try Milvus, Weaviate, or Qdrant. They all support multiple platforms and are relatively easy to set up.


SQLite via libsql is my go to for lightweight stuff.

Has vector embedding columns out of the box.







Join us for AI Startup School this June 16-17 in San Francisco!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com