{"schema": "pgtrue.report/1", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea", "published": "2026-10-21T05:45:07Z", "publisher": "PostgresAI", "article": {"title": "Announcing pg_vectorsearch: Scalable Open-Source Vector Search in PostgreSQL", "url": "https://www.tigerdata.com/blog/announcing-pg_vectorsearch-scalable-open-source-vector-search-postgresql", "date_published": "2026-10-13T14:40:36Z", "author": "Erik Nordstr\u00f6m, Matvey Arye, Noah Hein", "publisher": "Tiger Data"}, "grade": "B", "axes": [{"axis": "Factual", "summary": "A \u00b7 0 wrong of 18 checked \u00b7 0 caveats"}, {"axis": "Applicable", "summary": "A \u00b7 0 wrong of 13 checked \u00b7 0 caveats"}, {"axis": "Consistent", "summary": "A \u00b7 0 wrong of 18 checked \u00b7 0 caveats"}, {"axis": "Transparent", "summary": "C \u00b7 0 wrong of 8 checked \u00b7 0 caveats \u00b7 reproducibility: C (no code or raw results)"}, {"axis": "Safe", "summary": "B+ \u00b7 0 wrong of 7 checked \u00b7 0 caveats \u00b7 1 unwarned risk"}], "findings": [{"anchor": "F1", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F1", "claim": "\u2026pg_vectorsearch is a new open-source Postgres extension.", "title": "PRISM is an open-source PostgreSQL index access method", "explanation": "The PostgreSQL License permits use, modification, and redistribution. sql/pg_vectorsearch.sql:726 creates the PRISM index access method. README.md:31 gives the stated acronym.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/LICENSE#L5-L8", "label": "pg_vectorsearch@v0.1.0 \u00b7 LICENSE:5-8"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/README.md#L31-L35", "label": "pg_vectorsearch@v0.1.0 \u00b7 README.md:31-35"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L723-L728", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:723-728"}]}, {"anchor": "F2", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F2", "claim": "CREATE INDEX ON documents USING prism (embedding vec32_l2_ops);\u2026", "title": "The example index and compatibility operator classes exist", "explanation": "sql/pg_vectorsearch.sql:753-798 defines L2, inner-product, and cosine classes for both native vector types. Compatibility registration includes pgvector operators. The control file declares no pgvector dependency. meson.build:657 rejects PostgreSQL versions below 18.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L723-L728", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:723-728"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L735-L825", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:735-825"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L1139-L1144", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:1139-1144"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/pg_vectorsearch.control.in#L1-L4", "label": "pg_vectorsearch@v0.1.0 \u00b7 pg_vectorsearch.control.in:1-4"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/meson.build#L647-L665", "label": "pg_vectorsearch@v0.1.0 \u00b7 meson.build:647-665"}]}, {"anchor": "F3", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F3", "claim": "The default of 0 picks a value automatically\u2026", "title": "Zero nprobe selects an automatic probing value", "explanation": "src/index/query_scan.c:720 computes ceil(0.5 \u00d7 sqrt(nlist)). The function limits automatic probing to 10\u20132,048 clusters and the available cluster count. support_pg.c:124-138 defines zero as the default and accepts SET prism.nprobe = 40.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/pg/support_pg.c#L120-L138", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/pg/support_pg.c:120-138"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/index/query_scan.c#L708-L728", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/index/query_scan.c:708-728"}]}, {"anchor": "F4", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F4", "claim": "\u2026split oversized partitions manually by calling `prism_rebalance`\u2026", "title": "Manual rebalancing splits oversized posting lists", "explanation": "src/pg/maintenance.c:1050 splits lists above the split trigger. build.c:473-478 derives automatic sizing from the table row estimate. PostgreSQL 18.0 and 18.6 document REINDEX rebuilding from table data. These mechanisms support the maintenance recommendations.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/pg/maintenance.c#L1050-L1055", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/pg/maintenance.c:1050-1055"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/pg/build.c#L460-L485", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/pg/build.c:460-485"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/reindex.sgml#L37-L63", "label": "REL_18_6 \u00b7 doc/src/sgml/ref/reindex.sgml:37-63"}, {"url": "https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/reindex.sgml#L39-L41", "label": "REL_18_0 \u00b7 doc/src/sgml/ref/reindex.sgml:39-41"}]}, {"anchor": "F5", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F5", "claim": "Deletes are turned into tombstones by VACUUM\u2026", "title": "VACUUM tombstones deleted index entries", "explanation": "src/pg/iam_handler.c:296-301 describes VACUUM tombstoning dead entries from DELETE and vector-column UPDATE. Later scans skip those entries. Physical reclamation requires separate compaction or rebuilding.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/pg/iam_handler.c#L290-L335", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/pg/iam_handler.c:290-335"}]}, {"anchor": "F6", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F6", "claim": "\u2026roughly one bit per dimension\u2026", "title": "RaBitQ compresses centroid residuals into packed sign codes", "explanation": "src/quant/rabitq.h:84 specifies ceil(dim/8) payload bytes plus an 8-byte header. rabitq.c:583 subtracts the centroid before encoding. Posting pages pack codes into 32-vector groups. Query execution scans selected lists and fetches full vectors for exact reranking.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/quant/rabitq.h#L76-L91", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/quant/rabitq.h:76-91"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/quant/rabitq.c#L576-L585", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/quant/rabitq.c:576-585"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/index/posting_page.h#L662-L671", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/index/posting_page.h:662-671"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/index/query_scan.c#L566-L652", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/index/query_scan.c:566-652"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/pg/bufstorage.c#L402-L425", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/pg/bufstorage.c:402-425"}]}, {"anchor": "F8", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F8", "claim": "Searching its graph involves repeated random reads\u2026", "title": "HNSW traversal follows stored neighbor addresses", "explanation": "src/hnswutils.c:772 reads the current element's neighbor page. HnswSearchLayer then extracts neighboring block and offset addresses before loading elements. The implementation supports the graph-traversal description. It does not establish the article's cache-miss frequency.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgvector/pgvector/blob/f37c13f68b57d2c3472b2214fbcff699d6d34876/src/hnswutils.c#L765-L777", "label": "pgvector@v0.8.7 \u00b7 src/hnswutils.c:765-777"}, {"url": "https://github.com/pgvector/pgvector/blob/f37c13f68b57d2c3472b2214fbcff699d6d34876/src/hnswutils.c#L860-L937", "label": "pgvector@v0.8.7 \u00b7 src/hnswutils.c:860-937"}]}, {"anchor": "F9", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F9", "claim": "\u2026reranking full vectors outside the index scan in a CTE.", "title": "Binary candidates can be reranked using full vectors", "explanation": "pgvector README.md:606-608 selects binary-distance candidates before ordering them by full-vector distance. src/vector.c:974-977 packs coordinate signs into bits. These support the described compression and reranking approach. They do not verify the article's measured recall or speed.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgvector/pgvector/blob/f37c13f68b57d2c3472b2214fbcff699d6d34876/README.md#L589-L611", "label": "pgvector@v0.8.7 \u00b7 README.md:589-611"}, {"url": "https://github.com/pgvector/pgvector/blob/f37c13f68b57d2c3472b2214fbcff699d6d34876/src/vector.c#L950-L978", "label": "pgvector@v0.8.7 \u00b7 src/vector.c:950-978"}]}, {"anchor": "F10", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F10", "claim": "\u2026PostgreSQL 18 or later\u2026", "title": "PostgreSQL 18 is the build minimum", "explanation": "v0.1.0 rejects PostgreSQL major versions below 18. meson.build:657 implements the stated minimum.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/meson.build#L657-L659", "label": "pg_vectorsearch@v0.1.0 \u00b7 meson.build:657-659"}]}, {"anchor": "F11", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F11", "claim": "\u2026currently in alpha\u2026", "title": "v0.1.0 describes itself as alpha", "explanation": "CHANGELOG.md:7 identifies the first pg_vectorsearch release as alpha. The article accurately states its release maturity.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/CHANGELOG.md#L7-L9", "label": "pg_vectorsearch@v0.1.0 \u00b7 CHANGELOG.md:7-9"}]}, {"anchor": "F12", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F12", "claim": "\u2026including parallel builds\u2026", "title": "PRISM enables parallel index builds", "explanation": "src/pg/iam_handler.c:584 enables parallel index builds. The preceding line disables parallel scans, consistent with the article's roadmap.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/pg/iam_handler.c#L583-L584", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/pg/iam_handler.c:583-584"}]}, {"anchor": "F13", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F13", "claim": "PRISM works with pgvector\u2019s `vector` and `halfvec` data types.", "title": "PRISM supports existing vector and halfvec columns", "explanation": "sql/pg_vectorsearch.sql:1095 defines implicit binary casts from vector and halfvec. Line 1125 creates casts without conversion functions. Line 1139 maps pgvector's distance operators into PRISM families. These paths support existing columns and unchanged distance expressions.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L1095-L1098", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:1095-1098"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L1124-L1126", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:1124-1126"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/sql/pg_vectorsearch.sql#L1139-L1144", "label": "pg_vectorsearch@v0.1.0 \u00b7 sql/pg_vectorsearch.sql:1139-1144"}]}, {"anchor": "F14", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F14", "claim": "\u2026to target roughly 95% recall.", "title": "Automatic probing targets approximately 95 percent recall", "explanation": "src/index/query_scan.c:720 computes automatic probes from cluster count. Its header records 93\u201396 percent recall@10 across 10M\u2013100M-vector sweeps. The article describes a target, consistent with this heuristic.", "verdict": "Accurate", "sources": [{"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/index/query_scan.h#L221-L225", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/index/query_scan.h:221-225"}, {"url": "https://github.com/timescale/pg_vectorsearch/blob/36b75d1cb56c12a380d600ef27217d88c9f419ec/src/index/query_scan.c#L720-L724", "label": "pg_vectorsearch@v0.1.0 \u00b7 src/index/query_scan.c:720-724"}]}, {"anchor": "F16", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F16", "claim": "\u2026over 20\u00d7 faster\u2026", "title": "The reported build times imply a 25.2\u00d7 speedup", "explanation": "The 100-million-vector build comparison exceeds 20\u00d7. HNSW reports 42 hours, and PRISM reports 100 minutes (derived: 2,520 minutes / 100 minutes = 25.2\u00d7).", "verdict": "Accurate", "sources": []}, {"anchor": "F17", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F17", "claim": "\u2026more than 23x slower\u2026", "title": "The reported 99% recall latencies differ by 26.1\u00d7", "explanation": "The one-million-vector comparison exceeds 23\u00d7. HNSW reports 392 ms, and PRISM reports 15 ms (derived: 392 ms / 15 ms = 26.1\u00d7).", "verdict": "Accurate", "sources": []}, {"anchor": "F18", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F18", "claim": "\u2026about seven times smaller\u2026", "title": "The reported index sizes support the approximate 7\u00d7 ratio", "explanation": "The one-million-vector indexes differ by approximately 7\u00d7. Decimal conversion gives 7.3\u00d7 (derived: 2,050 MB / 280 MB).", "verdict": "Accurate", "sources": []}, {"anchor": "F19", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F19", "claim": "\u2026about 40 times faster\u2026", "title": "The same-machine latency comparison supports approximately 40\u00d7", "explanation": "At 95% recall, the one-million-vector table supports a 40.7\u00d7 speedup on 4 GiB (derived: 122 ms / 3 ms).", "verdict": "Accurate", "sources": []}, {"anchor": "F20", "url": "https://pgtrue.postgres.ai/shared/brief/1a39e7c7-07e0-4fc0-8f77-f1da2dba91ea#F20", "claim": "\u2026with builds in under 2 hours.", "title": "The reported 100-minute build is under 2 hours", "explanation": "The reported PRISM build finishes 20 minutes below the stated threshold (derived: 120 minutes \u2212 100 minutes).", "verdict": "Accurate", "sources": []}]}