Skip to main content

Perf-tuning

8

Keeping the full picture - additional context in embedded chunks

Learn how to use withContextPrefix() in RavenDB 7.2.3 to inject document-level context into every embedding chunk, improving vector search precision for large documents.

Jun 9, 2026

Indexing Staleness Explained

Why RavenDB queries can return stale results, when that is perfectly fine, and how to force fresh results per query, per session, or across the whole document store.

Nov 25, 2025

Master RavenDB: Spotting red flags in index definitions

Discover 7 common RavenDB index anti-patterns, including misusing LoadDocument and storing too many fields, and learn how to fix each one for better query performance.

Sep 17, 2025

Which Index Ate My Disk?

Track down the RavenDB index that's consuming your disk I/O using the Studio Indexing Performance view, iotop on Linux, and Resource Monitor on Windows, then optimize the culprit.

Aug 26, 2025

Master RavenDB Projections Performance

How RavenDB projections return only the fields you need, why projected data comes from documents by default, and how to store fields in a static index and tune projection behavior for faster reads.

Jul 30, 2025

Fix High Memory Usage in RavenDB

Diagnose and fix high memory usage in RavenDB: understand how RavenDB manages memory with memory-mapped files, spot trouble on Windows, Linux, and in the Studio, then trace the cause with admin logs, debug endpoints, and dotnet-dump.

Apr 9, 2025

How to Troubleshoot High CPU Usage in RavenDB

Track down what drives RavenDB's CPU load. Tell Current CPU Usage from Total CPU Time, then diagnose it with top, htop, and RavenDB Studio.

Feb 23, 2025

Using RavenDB with PhpFastCache

Use RavenDB as the backend cache for PhpFastCache: install the Composer packages, configure the driver, and inspect cached documents in the RavenDB Studio.

Aug 5, 2024