In this article
- What a vector database must hold at 100 million vectors
- Published results for pgvector and Qdrant
- Throughput and latency at each size
- Memory and cost depend on quantization
- Build time and day-two operations
- What to check before choosing
- Which to pick by workload
- Frequently asked questions
- Can pgvector hold 100 million vectors?
- Does halfvec cut memory in half?
- What does binary quantization need to work well?
- Why do the published results disagree so much?
Choosing a vector database is a sizing decision before it is a feature decision. The raw size of the vectors, the memory left for the index and the cost of filtered search decide most of the bill. pgvector, the PostgreSQL extension, and Qdrant, a standalone engine, are the two options teams compare most often. This article uses only published results that state their hardware, dataset, index type and recall target. It does not rank the two engines, and it does not project benchmark numbers to 100 million vectors, because the sources read here do not test either engine at that size with full conditions.
Published 2026-09-19. Last updated 2026-11-25.
What a vector database must hold at 100 million vectors
At 100 million vectors with 768 dimensions, raw float32 storage is about 307 GB before any index is built. Memory, index build time and filtered queries then set the limits, and quantization decides how much of the data has to stay in RAM.
The arithmetic is simple. 100,000,000 vectors times 768 components times 4 bytes gives about 307 GB. At one byte per component the same set is about 77 GB, and at one bit per component about 9.6 GB. These are raw vector sizes only. An HNSW graph, metadata, replicas and the operating system all add to them, so none of these figures is a memory requirement for either product.
Two other factors shape the workload. The first is recall. A system can return results faster by accepting lower recall, so a throughput figure means little without its recall target. The second is filtering. pgvector’s documentation says that approximate indexes apply the filter after the index is scanned, so a selective filter can leave too few rows to return.
Published results for pgvector and Qdrant
The public results stop short of 100 million vectors. The largest test in this article uses 50 million vectors and is run by the vendor of pgvectorscale. The other uses 21 million vectors and is run by Qdrant against Elasticsearch. Neither test measures pgvector’s own HNSW or IVFFlat index at 100 million vectors. The table gives each figure with its conditions.
| Source and date | Engine and index | Dataset | Hardware | Recall | Result |
|---|---|---|---|---|---|
| Tiger Data, April 2025 (vendor of pgvectorscale) | Postgres 16.8 with pgvector 0.6.1 and pgvectorscale 0.7.0 (StreamingDiskANN) | 50M Cohere embeddings, 768 dimensions | AWS r6id.4xlarge, 16 vCPU, 128 GB RAM | 99% | 471.57 QPS, p99 38.71 ms |
| Tiger Data, April 2025 (vendor-run) | Qdrant 1.13.4 (HNSW, binary quantization with rescoring) | 50M Cohere embeddings, 768 dimensions | Single node, 2 shards (per the post) | 99% | 41.47 QPS, p99 74.60 ms |
| Qdrant blog, July 2026 (vendor-run) | Qdrant 1.18.2, TurboQuant 4-bit with two-stage rescoring | 21M passages, 768 dimensions | 3 nodes of 4 vCPU and 16 GiB, Qdrant Cloud on AWS, replication factor 1 | recall@100 0.9596 | 111.9 QPS, average 35.7 ms, p99 83.1 ms |
| Qdrant blog, July 2026 (Elastic’s published figures, cited by Qdrant) | Elasticsearch DiskBBQ | 21M passages, 768 dimensions | 3 pods of 7 vCPU and 26 GB, GCP, replication factor 2 | recall@100 0.9599 | 32.4 QPS, p99 184.3 ms |
Two cautions apply to every row. Each row comes from the vendor of one of the engines in the comparison, and the July 2026 test is run by Qdrant against Elastic. The rows also differ in dataset, hardware, recall target, replication and index, so they cannot be ranked against one another. The Tiger Data rows use pgvectorscale’s StreamingDiskANN index, which is not pgvector’s HNSW or IVFFlat.
The versions are stated in each post. Tiger Data lists Postgres 16.8, pgvector 0.6.1 and pgvectorscale 0.7.0 for its Postgres run, and Qdrant 1.13.4 for its Qdrant run. Qdrant’s post lists Qdrant 1.18.2 on Qdrant Cloud on AWS with replication factor 1, and the Elastic figures with replication factor 2.
Throughput and latency at each size
At 50 million vectors and 99 percent recall, Tiger Data reports 471.57 queries per second for Postgres with pgvectorscale and 41.47 for Qdrant. The post puts the p99 latency at 38.71 ms and 74.60 ms. It calls the throughput ratio 11.4 times higher for Postgres. That is one vendor’s run on one dataset, so it shows what the setup in the post did and nothing more.
In the 21 million vector test, node size changes the Qdrant result. At recall@100 of 0.9596, Qdrant reports 67.2 queries per second on three nodes of 2 vCPU and 8 GiB, and 111.9 queries per second on three nodes of 4 vCPU and 16 GiB, with p99 of 83.1 ms on the larger nodes. The same post cites Elastic’s published 32.4 queries per second and 184.3 ms p99 at recall@100 of 0.9599. Qdrant’s post argues that the Elastic run did not configure Qdrant for its best settings, so the comparison is part of the dispute and not settled by it.
pgvector 0.8.0 added iterative index scans. With hnsw.iterative_scan set to strict_order or relaxed_order, the scan keeps going until enough filtered rows are found or it reaches hnsw.max_scan_tuples, which defaults to 20,000. The README shows why this matters. With the default hnsw.ef_search of 40, a filter that matches 10 percent of rows leaves about 4 rows on average. Neither the Tiger Data post nor the Qdrant post says whether iterative scans were enabled in its pgvector runs, so a team that uses pgvector for filtered search should test with them on.
Memory and cost depend on quantization
Quantization changes the memory bill more than the choice of engine does. Qdrant’s guide lists four methods. Scalar quantization stores each component as 8 bits instead of 32, which is 4x compression. Binary quantization reduces each component to one or two bits for up to 32x compression, and product quantization reaches up to 64x when memory is the top priority. Its TurboQuant method gives 4x to 32x compression. Binary quantization works best with high-dimensional, centered vectors.
Binary quantization also needs rescoring to hold accuracy. Qdrant’s 2024 sweep of OpenAI’s text-embedding-3-large at 3,072 dimensions used 100,000 vectors and 100 queries. It reached 76 to 77 percent accuracy without rescoring and 97 to 99 percent with it. The smaller text-embedding-3-small at 512 dimensions reached 53 to 55 percent without rescoring and 71 to 91 percent with it. The guide says that scalar quantization error is usually less than 1 percent in its experiments, and that the figure depends on the data and the parameters.
pgvector’s counterpart is halfvec, which stores half-precision vectors and supports up to 4,000 dimensions. The README does not publish a memory factor for it, so this article states none. Any saving has to be measured on the team’s own table, with its own index settings.
Build time and day-two operations
The one build time in the sources read here is for 50 million vectors. Tiger Data reports about 11.1 hours for the pgvectorscale StreamingDiskANN index and about 3.3 hours for Qdrant. The post says that Qdrant builds faster, and it notes that pgvectorscale gives fine-grained control over index parameters. Plan rebuild windows before choosing an index.
pgvector’s documentation sets the HNSW defaults at m 16 and ef_construction 64, with hnsw.ef_search at 40. The README says a higher ef_construction improves recall at the cost of build time. For IVFFlat it suggests rows divided by 1,000 for up to one million rows, and the square root of the row count above that. It suggests probes near the square root of the list count, and the probes setting defaults to 1. The README also says to create an IVFFlat index after the table has some data, because the list count depends on the row count. A team running pgvector at this size owns those settings and has to revisit them as the table grows.
Qdrant runs as its own service with its own nodes, replication and upgrade cycle. That is an operating cost in its own right. The Qdrant July 2026 test uses replication factor 1 and the Elastic run uses 2, so the node count and replication are part of the comparison and not a detail to skip.
What to check before choosing
Check six conditions in your own workload before using any published number. Each one changes whether a figure applies. Start with the vector count and dimension, because they set the raw size. Then check recall, filter selectivity and build frequency, which decide whether the rows above describe your load.
- Vector count and dimension, and the raw size they imply (about 307 GB for 100 million vectors at 768 float32 dimensions).
- Recall target, measured at the same top-k your application uses.
- Filter selectivity: the share of rows a typical filter keeps, and whether iterative scans are on for pgvector.
- Index rebuild frequency and the longest acceptable build window.
- Quantization that holds your recall on your own embeddings, not on a vendor’s dataset.
- Replication factor and node count for each engine, since the published rows differ on both.
Which to pick by workload
The sources read here do not name one winner for a vector database at 100 million vectors, so the right choice depends on the workload. Run a load test that matches your own queries before deciding.
If the vectors sit beside relational rows that change together, and most queries are unfiltered or lightly filtered, pgvector keeps one system to back up, secure and monitor. The costs are the index build time and the tuning described above.
If the workload is dominated by selective filters, test pgvector with iterative scans enabled before deciding. The Tiger Data rows favor pgvectorscale on throughput at 99 percent recall, but that index is not pgvector’s own. A dedicated engine adds another system to run and a second store to keep in step with the relational data, and the Qdrant rows show how much node size alone can move its throughput.
If memory is the binding limit, quantization decides more than the engine does. Test binary or scalar quantization on your own embeddings, with rescoring on, before buying hardware. The rescoring requirement changes the cost per query, so the memory figure alone does not settle it.
Frequently asked questions
These are the questions teams ask most often about running pgvector and Qdrant at this scale. Each answer uses only the figures and documentation in the sources list, and each one states the condition behind it.
Can pgvector hold 100 million vectors?
The sources read for this article include no pgvector core test at that size with stated hardware, dataset, index and recall. The 50 million vector test uses pgvectorscale. Raw float32 storage alone is about 307 GB, and the index and replicas add to it. Test at your own vector count and recall target.
Does halfvec cut memory in half?
pgvector’s README says halfvec stores half-precision vectors and supports up to 4,000 dimensions. The README does not publish a memory factor, so this article does not state one. Measure the table and index size before and after the change.
What does binary quantization need to work well?
Qdrant’s guide says binary quantization is best suited to high-dimensional vectors with a centered distribution, and that rescoring recovers accuracy. In its 2024 sweep at 3,072 dimensions, accuracy rose from 76 to 77 percent to 97 to 99 percent with rescoring.
Why do the published results disagree so much?
The tests use different index types, recall targets, hardware, dataset sizes, replication factors and quantization settings. Each vendor tunes its own engine in its own run, and Qdrant’s post argues that Elastic’s Qdrant row was not configured for its best settings. Compare two results only when their conditions match.



