From e375dd33f3a3ad0737fe86e61f53de1ef3cb5bb1 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 29 Jan 2022 22:17:38 -0800 Subject: [PATCH] Added FAQ to readme [skip ci] --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 3b1526e..bf8be89 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,23 @@ Libraries that use pgvector: - [pgvector-rust](https://github.com/pgvector/pgvector-rust) (Rust) - [pgvector-cpp](https://github.com/pgvector/pgvector-cpp) (C++) +## Frequently Asked Questions + +#### How many vectors can be stored in a single table? + +A non-partitioned table has a limit of 32 TB by default in Postgres. A partitioned table can have thousands of partitions of that size. + +#### Is replication supported? + +Yes, pgvector uses the write-ahead log (WAL), which allows for replication and point-in-time recovery. + +#### What if my data has more than 1024 dimensions? + +Two things you can try are: + +1. use dimensionality reduction +2. compile Postgres with a larger block size (`./configure --with-blocksize=32`) and edit the limit in `src/vector.h` + ## Additional Installation Methods ### Docker