Skip to main content

All Guides

76

Connecting Your AI Agent to RavenDB with MCP

Point your coding agent at a running RavenDB cluster over MCP. Twenty-one read-only tools, one environment variable, and it reads the cluster instead of guessing.

Aug 21, 2026

Quill - Shipping Your AI Agent

Set up self-hosted Quill to put a conversational AI agent in front of your existing SQL database: run the Docker appliance, connect a database and a model, build the agent, and embed the chat widget.

Aug 3, 2026

From Tables to Documents: Connecting PostgreSQL to RavenDB with CDC Sink

Use the CDC Sink ongoing task to keep a live copy of PostgreSQL tables in RavenDB as documents, and learn how to reshape normalized rows into well-modeled documents by embedding, linking, or copying fields.

Jul 21, 2026

The Package Told a Story: Diagnosing a Cluster You Can't Log Into

Use the RavenDB Debug Package Analyzer in the Studio to diagnose a misbehaving cluster you cannot connect to. Read the cluster, node, and database panels of a debug package to move from symptom to cause without handling production data.

Jul 21, 2026

Bringing Connection Strings Together in RavenDB

Consolidate duplicate ETL, backup, and replication connection strings scattered across databases into a single server-wide definition, and migrate existing databases to it.

Jul 21, 2026

Setting Up an Azure Service Bus Sink in RavenDB

Set up a RavenDB Azure Service Bus Queue Sink that turns incoming Service Bus messages into documents, covering SAS, Entra ID, and passwordless authentication, configured either in the Studio or with the C# client API.

Jul 21, 2026

Wiring SSO Into Your RavenDB Cluster

Register an SSO proxy's server certificate with RavenDB and map external identities to clearance levels and database permissions, in the Studio and through the API.

Jul 21, 2026

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

Troubleshooting ETL with the RavenDB ETL Errors View

Learn how to use the RavenDB ETL Errors View in Studio to diagnose and fix ETL pipeline issues, including script errors, connection failures, and transformation problems.

Jun 9, 2026

One Chat, Many Agents: RavenDB Multi-Agents

Learn how to connect multiple RavenDB AI Agents into a multi-agent system, where specialized sub-agents handle focused tasks while a coordinator routes work between them.

Apr 27, 2026

Beyond Text: Adding File Attachments to RavenDB AI Agents

Learn how to attach binary files such as PDFs and images to RavenDB AI Agent conversations, reducing token usage while keeping files accessible across the conversation lifecycle.

Apr 15, 2026

Backups in RavenDB: How to keep your database safe

Learn how RavenDB backups work, when to use logical backups versus snapshots, and how to configure scheduled and server-wide backup tasks via Studio and C# code.

Apr 14, 2026

How is my database today?

Learn how to use RavenDB Studio's Cluster Dashboard, Traffic Watch, Admin Logs, and other built-in tools to diagnose and investigate database performance issues.

Mar 20, 2026

Spatial Search in RavenDB: Radius, Polygon, and Reverse Queries

Learn how to implement spatial search in RavenDB with Python. Covers radius queries, custom polygon shapes, WKT syntax, and reverse point-in-polygon lookup using the Flat Finder demo.

Mar 11, 2026

Vibe Coding with RavenDB and Context7

Set up Context7 MCP with OpenAI Codex in VS Code to give your AI direct access to RavenDB docs — faster, context-rich vibe coding with fewer interruptions.

Mar 9, 2026

RavenDB Kubernetes Operator: Secured Cluster Setup Guide

Step-by-step guide to deploying a fully secured RavenDB cluster on Kubernetes using the RavenDB Operator, covering TLS, cert-manager, storage, and rolling upgrades.

Feb 23, 2026

Transactional Outbox with RavenDB Queue ETL

Learn to implement the transactional outbox pattern in C# using RavenDB data subscriptions or Queue ETL, with RabbitMQ and Kafka code examples.

Feb 13, 2026

RavenDB Client Certificates with Vault-Backed Key Reuse

RavenDB client certificates that renew automatically without re-registration using vault-backed key reuse patterns.

Feb 12, 2026

Employing Schema Validation to Standardize Your Data

Configure JSON schema validation in RavenDB to enforce data consistency across teams. Learn how to audit documents against a schema or block invalid writes at the database level.

Feb 1, 2026

Using Remote Attachments to cut storage costs

Store RavenDB attachments in Amazon S3 or Azure Blob Storage to cut costs. Studio and C# setup guide with bulk migration of existing attachments.

Feb 1, 2026

A Practical Look at AI Agents with RavenDB

Build an AI agent with RavenDB: create an Orders Manager in Studio, wire up Query and Action tools, and scope conversation data per user.

Dec 24, 2025

External

Building a Beer Vending Machine with RavenDB Embedded

Read about Building a Beer Vending Machine with RavenDB Embedded on the RavenDB.net news section

Dec 23, 2025

Begin Analysis with OLAP ETL

Move operational data out of RavenDB and into an OLAP engine using OLAP ETL, shaping documents into Parquet and shipping them to local storage or Amazon S3 on a schedule you control.

Dec 22, 2025

Feed Elasticsearch from Your RavenDB

Set up RavenDB's native Elasticsearch ETL to continuously extract, transform, and load your RavenDB collections into Elasticsearch indexes, with no custom pipelines or bespoke integration code.

Dec 14, 2025

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

External

Deploying RavenDB with Helm Chart

Read about Deploying RavenDB with Helm Chart on the RavenDB.net news section

Nov 18, 2025

Employing Data Archival

Use RavenDB Data Archival to exclude historical documents from indexes and queries, keeping performance high without deleting data you need to retain.

Nov 17, 2025

Set up Zabbix Monitoring for RavenDB Cloud

Deploy Zabbix with Docker, connect it to RavenDB Cloud via SNMPv3, and configure custom SNMP items to monitor ETL errors and AI task failures in real time.

Nov 16, 2025

Set up RavenDB Server using AWS Marketplace

Step-by-step walkthrough of deploying a RavenDB server on AWS Marketplace, covering EC2 instance configuration, security group rules, SSH port-forwarding, and initial RavenDB Studio access.

Nov 13, 2025

New in 7.0: RavenDB Vector Search

Run semantic searches over your documents with RavenDB 7.0 vector search: generate embeddings on the server with no external tools, and query them through static indexes or auto-indexes.

Oct 27, 2025

What Requests Hit My Cloud Cluster?

Trace live and historical requests to your RavenDB cluster with Traffic Watch, Admin Logs, Studio notifications, and Audit Logs to diagnose unexpected activity and performance issues.

Oct 23, 2025

Using Azure Queue Storage ETL for Serverless Processing

Push RavenDB document changes onto Azure Queue Storage with an ETL task, then process them serverlessly with an Azure Function.

Oct 22, 2025

Unlock RavenDB GenAI Potential with Attachments

Feed PDFs, images, and logs straight into RavenDB's GenAI feature. Three worked examples: image vector search without an image model, attachment-aware support triage, and PDF resume screening.

Oct 8, 2025

How to Query Using RavenDB and ASP.NET Core 9

Build a minimal ASP.NET Core 9 API that queries RavenDB documents, including optional LINQ-based filtering and Swagger-based testing.

Sep 22, 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

AI Image Search with RavenDB

Build text-to-image and image-to-image product search on top of RavenDB vector search, using CLIP embeddings stored in documents and the original images kept as attachments.

Sep 9, 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

Using RavenDB Persistence in an Akka.NET Application

Build a persistent Akka.NET console app that stores its actor state in RavenDB through event sourcing and snapshots, so it can recover exactly where it left off after a crash or restart.

Aug 26, 2025

External

GenAI: How We Make You Work Less

Read about GenAI: How We Make You Work Less on the RavenDB.net news section

Aug 11, 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

Semantic Search with RavenDB, Python, and FastAPI

Build a semantic search API with RavenDB, Python, and FastAPI. Learn manual and automatic embedding generation with OpenAI, and run vector similarity search in under 50 lines of application code.

Jul 22, 2025

Survive the AI Tidal Wave with RavenDB GenAI

Learn how to use RavenDB's GenAI feature to automatically summarize, prioritize, and enrich documents. Step-by-step walkthrough with code examples and screenshots.

Jul 7, 2025

Full Lifecycle Automation of RavenDB with Ansible

Automate RavenDB with the Ansible Collection: provision multi-node clusters over SSH, form clusters, and manage databases and indexes with repeatable playbooks.

Jun 16, 2025

Leverage RavenDB Observability with Datadog

Connect RavenDB to Datadog by running the Datadog Agent in Docker and enabling OpenTelemetry, then build a CPU usage dashboard and a high-CPU alert.

Jun 10, 2025

Migrate Your Databases in RavenDB

Three ways to move a RavenDB database between instances: a simple export and import, a direct import over a URL for large datasets, and live external replication with no downtime.

May 14, 2025

Diacritic-Sensitive Search in RavenDB

Match accented terms like Kraków against both Kraków and Krakow. Compares manual diacritics normalization with a custom ASCIIFoldingFilter analyzer for Lucene and Corax indexes.

May 9, 2025

Enable AI Search in Your Web App in 5 Minutes

Add AI-driven vector search to a Next.js app using RavenDB's embeddings generation AI Task and a single vector.search RQL query, almost like using a regular search API.

Apr 28, 2025

Increase your RavenDB observability with Grafana Cloud and OpenTelemetry

Enable OpenTelemetry in RavenDB, export its metrics to Grafana Cloud through the OTLP endpoint, and build a CPU usage dashboard in Grafana.

Apr 25, 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

Embeddings Generation with RavenDB

Connect an AI provider like OpenAI, create an embeddings generation task, and query your documents by meaning with RavenDB vector search.

Mar 31, 2025

Simple CRUD Operations with RavenDB and ASP.NET Core 8

Learn how to scaffold a minimal API with ASP.NET Core 8 and wire up create, read, update, and delete document operations against a RavenDB database.

Mar 31, 2025

External

Integrating RavenDB with .NET Aspire

Read about Integrating RavenDB with .NET Aspire on the RavenDB.net news section

Mar 25, 2025

RavenDB Data Visualization with Power BI

Connect RavenDB to Power BI through the PostgreSQL protocol integration, then build charts and filter your data with queries during import to visualize your documents.

Mar 25, 2025

New in 7.0: RavenDB to Snowflake

Set up an ongoing Snowflake ETL task in RavenDB to continuously sync documents to your Snowflake data warehouse, using a worked traffic-sensor IoT example.

Mar 12, 2025

RavenDB Deployment Guide: Docker Compose Cluster

Deploy a 3-node RavenDB cluster with Docker Compose across three security levels: unsecured HTTP for local development, TLS with self-signed certificates for internal environments, and production-grade Let's Encrypt automation.

Mar 10, 2025

Setting Up RavenDB Cluster on AWS EKS

Step-by-step guide to deploying a production-ready RavenDB cluster on Amazon EKS, covering IAM roles, VPC networking, node groups, EBS storage provisioning, Load Balancer Controller, and ExternalDNS for stable external access.

Mar 9, 2025

Connecting C# application to RavenDB Cloud

Learn how to connect a C# console application to a RavenDB Cloud instance using the RavenDB Client package, a PFX certificate, and DocumentStore.

Feb 25, 2025

Connecting Node.js application to RavenDB Cloud

Step-by-step guide to creating a RavenDB Cloud account, provisioning a free instance, downloading the TLS certificate, and connecting a Node.js application using DocumentStore with PFX authentication.

Feb 25, 2025

External

Connecting Node.JS web application to RavenDB

Read about Connecting Node.JS web application to RavenDB on the RavenDB.net news section

Feb 25, 2025

How to setup RavenDB with ASP.NET Core 8 application

Step-by-step guide to connecting an ASP.NET Core 8 web API to RavenDB Cloud, including certificate setup, DocumentStore initialization, and verifying the connection by loading a document.

Feb 25, 2025

New in 7.0: RavenDB and Amazon SQS ETL

Set up an ongoing Amazon SQS ETL task in RavenDB to stream documents into an SQS queue, then process them with an AWS Lambda function that emails speeding-ticket alerts through SES.

Feb 25, 2025

Sending Your RavenDB 7.0 Logs to Grafana Cloud

Route RavenDB 7.0 server logs to Grafana Cloud by configuring the NLog Loki target, then view and filter them in Grafana Explore.

Feb 25, 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

On-Demand Production Database Replication

Replicate production-quality data into staging on demand with RavenDB using External Replication, ETL with anonymization and filtering, or Export/Import.

Feb 23, 2025

Integrate RavenDB into SvelteKit App

Step-by-step guide to building a SvelteKit web application backed by RavenDB, covering project setup, document store configuration, CRUD operations with form actions, and streaming query results.

Jan 27, 2025

Processing Invoices Using Data Subscriptions

See how RavenDB Data Subscriptions let you offload invoice processing to a background worker in C#, with PDF generation and attachment storage included.

Dec 8, 2024

Setting up RavenDB with Docker and HTTPS

Learn how to run RavenDB in Docker with a self-signed TLS certificate using Docker Compose, including cert generation, volume setup, and environment variable configuration.

Dec 6, 2024

Machine Learning Inside RavenDB Indexing

Extend RavenDB's indexing process with machine learning in C#: train an ML.NET model to flag toxic comments during indexing, and use a pre-trained Catalyst model to detect each document's language, all through AdditionalAssemblies and AdditionalSources.

Dec 2, 2024

Dynamic Fields in RavenDB

How to use dynamic fields in RavenDB static indexes to query on properties that aren't defined at index-creation time, plus the pitfalls to watch for with duplicate field names and stored projections.

Oct 28, 2024

Writing unit tests with RavenDB Java Test Driver

Learn how to set up the ravendb-test-driver Maven package for Java integration tests, run RavenDB in-memory per test, and use preInitialize, setupDatabase, and waitForIndexing to control test behavior.

Sep 5, 2024

Writing unit tests with RavenDB .NET Test Driver

Learn how to use RavenDB.TestDriver to run integration tests against a real in-memory RavenDB instance instead of mocks, with full support for indexing, Studio debugging, and CI/CD pipelines.

Aug 28, 2024

Integrating RavenDB into Next.js app

Build a full-stack Next.js app backed by RavenDB using the Node.js client, server actions for mutations, and server components for data fetching.

Aug 26, 2024

Writing unit tests with RavenDB Python Test Driver

Learn how to use the ravendb-test-driver package to run Python integration tests against a real in-memory RavenDB instance, replacing mocks with a database environment that mirrors production.

Aug 24, 2024

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

Programmatic Backup and Restore with Node.js

Automate RavenDB backup and restore from the Node.js client: define backup destinations, schedule periodic tasks, trigger backups manually, restore databases, and monitor your backup tasks.

Jul 29, 2024

Getting Started with GraphQL and RavenDB

Query RavenDB through GraphQL using Hot Chocolate as a standalone ASP.NET Core server, translating paging, filtering, sorting, and projections into native RavenDB queries.

Jun 27, 2024