Research scope: Documentary analysis with a hypothetical worked example. Sources reviewed 5 December 2026; this is a planning and interpretation guide, not a report of 2027 observations.
A million embeddings do not become a complete search service simply because their vector values fit in memory. An index can retain additional structures, a service can keep several copies, and a deployment can temporarily load old and new versions together. The stored vector is the starting quantity, not the finished capacity budget.
This distinction matters when a prototype becomes a replicated service. A quote based only on dimensions multiplied by rows may omit the very copies and index structures that make the service usable. The remedy is an allocation ledger whose components remain separately identifiable.
DN's agent-memory framework evaluates recall, provenance, deletion and other behavior. This article owns the narrower storage calculation. It makes no claim that a larger or smaller memory allocation produces better answers.
Begin with a representation you can name
Faiss's index documentation gives four bytes per dimension for a flat float32 vector. For an uncompressed representation with d dimensions, the vector component is therefore 4d bytes per row. Other index types add structures or use compressed codes, so the flat calculation should not be applied indiscriminately. [1]
The HNSW research describes a hierarchical graph used for approximate nearest-neighbor search. Its links and layers are part of the search structure, distinct from the numerical coordinates stored for each item. The paper's reported performance is not used as a capacity assumption here. [3]
Faiss also documents index cloning and I/O. A clone is a separate copy, while persistence and device transfer have their own behavior. This provides a concrete reason to distinguish the logical number of indexed items from the number of physical index copies your deployment retains. [2]
Worked example: one million vectors
Assume one million synthetic records, each represented by 768 float32 dimensions. The vector component is 1,000,000 × 768 × 4 = 3,072,000,000 bytes, or 3.072 decimal GB.
For this planning example only, add an invented graph-and-index-metadata allowance of 512 bytes per vector. That adds 512,000,000 bytes and produces a 3.584 GB subtotal per copy. The allowance is not a Faiss formula or a measured HNSW overhead; actual allocation depends on the implementation and configuration.
| Synthetic allocation | Vector component | Assumed graph/index allowance | Copies | Subtotal |
|---|---|---|---|---|
| One vector-only copy | 3.072 GB | Zero counted | 1 | 3.072 GB |
| One index planning copy | 3.072 GB | 0.512 GB | 1 | 3.584 GB |
| Two full index replicas | 6.144 GB | 1.024 GB | 2 | 7.168 GB |
| Two live plus two replacement copies | 12.288 GB | 2.048 GB | 4 | 14.336 GB |
Zero counted in the first row means excluded from that subtotal. It does not mean a functioning search implementation has no other overhead. All rows exclude document payloads, application metadata outside the allowance, query workspace, process runtime and operating-system effects.
The example uses decimal GB consistently: one billion bytes per GB. Dividing a byte count by 2 to the thirtieth power instead gives GiB. A capacity comparison must state which unit the hardware, container limit and worksheet use; relabelling the same number does not convert it.
A replica is different from a shard
Two complete replicas retain two copies of the indexed contents. Dividing one index into two shards instead partitions the logical contents, although each shard can still have its own fixed overhead and replicas. A diagram with two boxes therefore does not establish whether storage doubles.
Record rows per shard, copies per shard and the allocation at each process or device. If one shard holds a disproportionate number of records, an average per-node estimate can conceal the largest allocation. Local capacity limits apply to the actual placement, not to a fleet-wide average.
The four-copy rollout row assumes that both old replicas and both replacement replicas remain resident at once. Some systems update differently, and distributed placement can change which machine bears the peak. The row identifies a possible planning boundary; it does not assert that every rollout needs twice its steady-state memory.
Build and query peaks are separate observations
An index's saved file, resident process memory and peak build memory can be different quantities. Loading or converting an index may create temporary buffers or copies. Query concurrency may require workspace in addition to the persistent structure. The I/O and cloning documentation supports recording those operations explicitly; it does not provide a universal multiplier for them. [2]
For a real measurement, preserve the exact index type, parameters, library revision, vector count, dimensions, representation and device. Record whether the observation includes the original input matrix, the newly constructed index, payload storage and the application runtime. A peak without its measurement boundary is difficult to use for another deployment.
Treat the 512-byte allowance as an assumption to replace, not a number to defend. If an observed index requires more, update the allowance and retain the earlier estimate. If compression reduces the stored vectors, record the code representation and training components instead of silently keeping the flat float32 formula.
Storage efficiency does not establish retrieval quality
Approximate search trades implementation and search choices against the returned results. A capacity reduction achieved by changing index type, compression or search parameters needs a matched retrieval evaluation. A lower byte count does not establish equal recall, latency or authorized access. [1][3]
Deletion and update behavior also need their own evidence. A removed source document may still have a copy in an older index, backup or rollout version. The capacity inventory can help locate these copies, but counting them does not prove that an application's deletion workflow reaches all of them.
The purchasing question is therefore two-part. Can the chosen design hold the required data and operational copies within its actual memory boundary? Does that design return acceptable results under the intended workload? Neither answer follows automatically from the other.
Turn the estimate into a procurement record
A small team can begin with rows, dimensions and representation, then add the identified index allowance, copy count and deployment peak. An institution can require a supplier to reconcile those components with observed process and device measurements for the offered configuration.
The downloadable CSV keeps the four scenarios separate so they are not summed as if they were simultaneous independent requirements. No embeddings were generated and no index was built for this article. Its numerical result is a conditional capacity ledger: the same one million logical vectors can correspond to 3.072 GB of coordinate values or a 14.336 GB planning subtotal when declared structure and rollout copies are included.
Use the worked example
Alternative synthetic capacity scenarios, not additive rows. The 512-byte index allowance is invented and all subtotals exclude runtime, payloads, query workspace and uncounted overhead.
- Download the synthetic worked example (CSV)
- Download the source and method record (JSON, version 1.0.0)
To check the arithmetic and CSV/JSON agreement locally, save both files beside the Python verification script and run python3 verify.py q19.json. Python 3 is required; no third-party packages are needed. The check does not verify source claims or provider performance.
These are downloadable research records. They do not connect to an account, execute a trade or provide live market data.
Frequently asked questions
Is 512 bytes the universal HNSW overhead?
No. It is an invented planning allowance. Measure the actual index implementation and parameters before using a real capacity estimate.
Do two shards always mean two full copies?
No. Shards partition content, while complete replicas duplicate it. Record rows and copies for each actual placement.
Does a smaller index prove better retrieval?
No. Memory, retrieval quality, latency, access controls and deletion behavior need separate evidence.
Continue the research
Optional research services and tools
The free example above can be used without buying a product. For a defined team question, the DN Research Desk offers separately agreed documentary briefs, source registers and worked examples. Scope, fee, delivery date and usage terms are agreed before work begins; an enquiry creates no payment obligation.
Commercial disclosure: DN’s own service and any referral relationship are separate from the research method. No provider paid for a favourable finding in this article.
Sources and review scope
Sources reviewed on 5 December 2026. Review dates are distinct from each source’s observation, publication and effective dates.
- Faiss: Indexes. Flat float32 vector storage is 4*d bytes per vector; graph index storage contains additional structure and is not represented by vector bytes alone. Evidence: Official implementation documentation.
- Faiss: Index I/O, cloning and hyper-parameter tuning. Index cloning creates independent copies; CPU/GPU transfers and persistence are distinct implementation operations. Evidence: Official implementation documentation.
- Malkov and Yashunin: Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs. HNSW is a hierarchical graph approach to approximate nearest-neighbor search; graph structure is additional to stored vectors. Evidence: Research paper abstract.
Corrections and limitations
To flag a possible error, use the DN contact route with this article’s URL, the disputed claim and the supporting source. The analysis is educational, not personalised investment, legal or tax advice. Documentation and synthetic examples do not establish realised returns or individual eligibility.




