pgvector.git / summary / log / commit / refs

commit    e375dd33f3a3ad0737fe86e61f53de1ef3cb5bb1
Author:   Andrew Kane <andrew@ankane.org>
Date:     Sun Jan 30 06:17:38 2022 +0000

    Added FAQ to readme [skip ci]


README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 3b1526ed..bf8be892 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 [parent: b643ef637a32]