# Pinecone releases pg_pinecone: vector search in PostgreSQL with a 136 MB index

https://jsonscraper.com/blog/pinecone-releases-pg-pinecone-postgresql-search

Author: Michael Johnson

Published: 2026-11-30T06:03:30+00:00

Updated: 2026-11-30T06:03:30+00:00

The extension uses existing pgvector columns and offers three search engines; the record-small index comes from Pinecone’s own test.

For teams storing embeddings in PostgreSQL, pg_pinecone offers a new option: search existing pgvector columns while leaving tables and SQL in place. In Pinecone’s test, an index for one million 768-dimensional vectors occupied 136 MB, compared with 2.0 GB for HNSW on halfvec. This is a result published by the company for a specific test, not a universal estimate of index size for every database.



![Article: Pinecone releases pg_pinecone: vector search in PostgreSQL with a 136 MB index
Summary: pg_pinecone adds native vector search to PostgreSQL and lets users switch among its native engine, pgvector’s HNSW, and remote Pinecone without changing SQL queries. In the company’s test, an index for one million vectors occupied 136 MB.
Image role: cover — the central idea
Section: 
Visual subject: Editorial illustration of PostgreSQL vector search: a compact cluster-based index of glowing points inside a database](https://jsonscraper.com/assets/uploads/journal/2026/11/2b68f0ccf9a32b318d51d8f89653a071.png.hero.webp)

A compact vector search index© jsonscraper · AI-generated

 

Pinecone released the extension on October 27; [InfoQ covered it on November 29](https://www.infoq.com/news/2026/11/pinecone-postgresql-vector/). pg_pinecone is distributed under the Apache 2.0 license. It uses vector columns already present in the table and keeps PostgreSQL in the role of primary database.

 

## Three engines, one SQL interface

 

According to [Pinecone’s announcement](https://www.pinecone.io/blog/introducing-pg-pinecone/), the extension supports three engines. The native engine builds an index and performs searches inside PostgreSQL, with no Pinecone account or network calls required. The pgvector mode uses an existing HNSW index. Remote mode sends searches to a managed Pinecone index while synchronizing data in the background. The engine can be switched with a separate call, while the application’s SQL queries remain unchanged.

 

This setup lets teams compare local search with their current index, then consider moving search to a cloud service without rewriting queries. However, remote mode depends on Pinecone and the network; the local engine uses PostgreSQL resources and competes with the database’s other workloads for memory and CPU.

 

## Why the native index is more compact

 

Instead of an HNSW graph, the native engine groups similar vectors into clusters and stores compressed RaBitQ codes—about one bit per dimension, plus correction values. During a search, the system selects nearby clusters, scores candidates using the compressed codes, then recalculates distances for a short list using the original vectors. This approach reduces the index’s size while keeping the original vectors in the table.

 

The difference is especially important for queries filtered by user or tenant. HNSW first finds neighbors and then applies the SQL condition; with a narrow filter, some candidates are discarded, and the result may contain fewer rows than the specified LIMIT. pg_pinecone applies the filter during the search and selects a strategy based on its selectivity. This changes how filtered queries are handled, not just the amount of storage they require.

 

## What Pinecone measured

 

For its test, the company used one million 768-dimensional wiki_dpr vectors and an AWS r6id.4xlarge machine with 16 virtual CPUs and 128 GB of memory. In the index-size comparison, the native index occupied 136 MB, HNSW on halfvec occupied 2.0 GB, and HNSW on full-precision vectors occupied 4.1 GB. These figures refer to the index: the table itself, original vectors, and other PostgreSQL data require additional space.

 

Pinecone also reported that, when searching for ten results at a target recall of 0.95, median latency in its test was 1.3 ms for the native engine and 1.7 ms for HNSW on halfvec. The measurements were taken on the specified configuration; results depend on the data, filter distribution, index settings, and workload. [The company published test instructions and configurations](https://github.com/pinecone-io/pg_pinecone/blob/main/bench/vector/README.md) so others can reproduce them.

 

The extension is most worth evaluating for teams that already store embeddings in PostgreSQL and whose tenant or category filters affect result recall. A practical next step is to run their own queries and filters, comparing recall, latency, and the database’s total footprint—not just index size. For smaller workloads where current pgvector performance meets requirements, switching would add another extension to install and maintain.
