How RavenDB keeps you ahead of the curve

How RavenDB 5.1 ACID Document Database Keeps You Ahead of the Curve

by Oren Eini

RavenDB 5.1 New Features

RavenDB 5.1 ACID document database includes the following new features that allow you to expand your data indexing to include Microsoft Office documents, fine tune your data replication, preserve resources with data compression, manage Big Data and IoT with a Time Series model, and more.


Indexes are the main tool for implementing features in RavenDB.

In version 5.1 indexing capabilities have been significantly expanded. Up to now, you could supply Additional Sources in JavaScript and C# to augment RavenDB with your custom functionalities. Now you can reference Additional Assemblies either directly, or from the NuGet package.

You can offload even more computation to your database. Combined with the ability to index attachments, time-series, and counters – exciting new functionality is now possible.

For example, you can:

  • Apply machine learning analysis to image attachments
  • Parse MS Office attached documents, index their content, and include them in full-text search
  • Use OCR to extract textual content from attached images


RavenDB 5.1 expands the replication scenario to automatically and seamlessly share data between servers in real-time with more advanced capabilities.

Revamped Pull Replication

Replication was always initiated by Sink, resulting in machines on the edge receiving information from a central Hub. This feature now allows two-way replication. You can replicate data from Sink into Hub as well.

Filtered Replication

Expanding on the idea of more control over things, you are now able to establish replication between two servers, and configure it so they are able to send and receive just a specific subset of data based on document IDs and ID prefixes, defining allowed ranges and subranges.

Time Series

Time Series is an efficient way of collecting and analyzing a huge number of data points. A large number of systems, including an expanding variety of IoT devices generate a continuous stream of numerical values that RavenDB is able to ingest and store with high efficiency.

Latest additions to Time Series data manipulation capabilities include:

  • Gap Filling: extrapolate existing values to fill in gaps
  • Scaling: Multiply received values with a specified scaling factor
  • ETL: Time Series data is now available for transformation within ETL tasks
  • Streaming: Support for streaming Time Series data with queries

Query Projection Behavior

Query Projections empower you to create the exact shape of data your application needs. RavenDB efficiently combines data from several collections and provides data structures that your application can use right away, without any additional transformations.

With five new Projection Behaviors, you can leverage fine-tuned control over storing index fields so that they can be retrieved from index itself, instead of retrieving them from the document. From now on, your projections will be even faster.

Document Compression

Document Compression has been battle-tested and is now ready for your project. RavenDB will analyze documents across multiple collections, detect redundant data, and build customized dictionaries that can reduce your storage allocation between 50% and 80%.

Woah, already finished? 🤯

If you found the article interesting, don’t miss a chance to try our database solution – totally for free!

Try now try now arrow icon