Skip to content

fix: Update GraphRAG hardware sizing for single-store vector indexes - #1798

Draft
katarinasupe wants to merge 1 commit into
mainfrom
fix/graphrag-vector-memory-sizing
Draft

katarinasupe wants to merge 1 commit into
mainfrom
fix/graphrag-vector-memory-sizing

Conversation

@katarinasupe

Copy link
Copy Markdown
Contributor

What

Rewrites the Hardware sizing section of Memgraph in GraphRAG use cases.

The section said Memgraph stores embeddings in two places (8 B in the property store + 4 B in USearch = 12 B per float) and listed reference-based indexing and float16 as upcoming. Both have shipped:

  • Single-store vector indexes on nodes (v3.8.0) and edges (v3.10.0): the vector lives only in USearch, the property store keeps a reference.
  • scalar_kind (f16, bf16, …) on vector indexes.

This page now contradicts the vector search page, which documents the single-store pattern.

Changes

  • Says that each indexed vector is stored once, for node and edge indexes.
  • New formula: count × dimension × bytes per component, with bytes taken from the scalar kind, plus a worked example.
  • Lists the memory costs that remain: index structure, reserved capacity (not freed on delete, released on drop), overlapping indexes, and the property-store growth when an index is dropped.
  • Points to vector_index_memory_tracked and the existing Monitor vector index memory section, which also covers the ai_platform license.
  • Removes the Upcoming optimizations subsection and adds an f16 tip to Best practices.

The other best practices are left as they are.

🤖 Generated with Claude Code

The section still said embeddings are stored twice (12 bytes per float)
and listed reference-based indexing and float16 as upcoming. Both have
shipped. Replace it with the current sizing formula and the memory
costs that remain, and link to the vector search page for details.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Oct 1, 2026 7:43am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — cec0380c Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant