Documentation


We hereby welcome you into the RavenDB Documentation.
Feel free to explore the sizeable world of our premier NoSQL database.

Getting started

Beginner? No problem! This article will guide you through all parts of RavenDB needed for basic understanding.

 

What's new

Want to see what features we have added recently or what we are currently working on?

 

Playground Server

For all of you we have created a live server for testing purposes.

 

About examples

Few words about examples used in this documentation.

 

Become part of the community! Contribute to documentation.

What's new

3.0.30153 - 2016/08/13

This is an aggregated build for various fixes since the last stable.

  • Optimized metrics usages
  • Fixed various Voron edge cases
  • Better handling when the OS doesn't support file prefetching
  • Fixed bulk insert client hanging when the server is not available in some cases
  • Fixed RavenFS replication issue when the remote file is conflicted.
  • Optimized RavenFS replication issue when there are a lot of deletes to send to an empty FS.
  • Better errors if trying to open a corrupted document.
  • Fixed how we are computing the document size on Esent when prefetching
  • Take into account availble memory when prefetching.
  • Optimize map/reduce operation for new indexes (avoid expensive DeleteMappedResults...)
  • Fixed an issue with Changes() API generating two reconnections on error.
  • Side by side will avoid creating a new index if there are no changes.

3.0.30143 - 2016/06/01

Server

  • [Voron] Fixed access violation exception.
  • [Voron] Fixed an edge case in page splitter.
  • [FileSystem] Fixed issues in files replication.
  • [Indexes] Better handling of OperationCanceledException.
  • [Prefetcher] Fixed too frequently calls to MaybeAddFutureBatch.
  • [PeriodicExport] Fixed an export fail when initial backup is more than 64MB.
  • [PeriodicExport] Better error handling.

Client

  • Fixed async query that uses ContainsAny or In.
  • Fixed parsing a double value from object.
  • [Subscrition] Better error handling.
  • [Subscrition] Notify the server that subscriptions can be reused when the store is disposed.
  • Fixed using ShardedDocumentStore with a query and a transformer.

Smuggler

  • Fixed an identities that was imported which started with Raven/.

Studio

  • [SqlReplication] Stats are not available for not admin user.
  • Fixed edit document page start page in Doc {start} of {total}.

3.0.30115 - 2016/04/10

Server

  • [Major] [Prefetching] Fixed memory leak that could lead into slowness of the server under heavy load impacting indexing and replication mechanisms,
  • [Major] [Indexing] Fixed issue when new indexes could stuck at 32768 entries under certain conditions when precomputed batch flow was executed,
  • [JavaScript] Fixed float conversion
  • Added memory statistics thread state to stats (IsMemoryStatisticThreadRuning)

Client

  • AlwaysWaitForNonStaleResultsAsOfLastWrite convention marked as obsolete
  • Fixed concurrency errors when retrieving identity values concurrently by DatabaseCommands.NextIdentityFor
  • Fixed JSON parsing of data using base64 format

Studio

  • Fixed import with credentials usage
  • Fixed replicate all indexes and transformers options
  • Fixed Etag verification when changing an identifier of an existing document

3.0.30100 - 2016/03/17

Server

  • [Indexing] Fixed handling of indexes which were disabled,
  • [Indexing] Added support for nullable types to facets,
  • [Indexing] Fixed updates of side-by-side indexes,
  • [Indexing] Fixed index staleness detection,
  • [Indexing] Fixed an issue where we wouldn't treat JsonPropertyAttribute correctly during the indexing,
  • [Indexing] Added support for custom type arrays in an index definition,
  • [Prefetching] Adjustments to document prefetching mechanism,
  • [Esent] Fixed Esent storage schema update (4.8 to 5.0),
  • [Voron] Fixed handling of overflow pages
  • [JavaScript] Fixed math random init in Jint,
  • [Replication] Fixed "Resolve to latest" conflict resolution strategy,
  • [Configuration] Exposed Raven/Voron/SkipConsistencyChecks setting,
  • [Configuration] Added Raven/MaxPrecomputedBatchSizeForNewIndex setting,
  • Fixed document caching mechanism,
  • Fixed validation of OEM/ISV licensed affecting the startup performance,
  • Fixed UDP port leak in licensing component,
  • Fixed debug info generation,
  • Fixed UniqueConstraintsPutTrigger, which shallowed a snapshot of a document,
  • Added debug/sl0w-lists-breakd0wn debug endpoint exposing internal lists breakdown,
  • Fixed timing of dynamic queries,

Client

  • Fixed querying with transformer usage - respecting query type instead of transformer one,
  • Fixed session.Advanced.Lazily.Load() and session.Include().Load() methods against passing duplicate identifiers,
  • Fixed includes in a sharded session,
  • Fixed loads in a sharded session (when array of identifiers specified),
  • Fixed insertion of multiple indexes with given priorities,
  • Fixed internals of UniqueConstraint bundle,
  • Fixed AllowMultipleIndexEntriesForSameDocumentToResultTransformer flag application,
  • Added extension methods to work with authorization bundle (Raven.Client.Authorization namespace),
  • Fixed filtering of ignored headers,
  • Optimized memory usage when streaming documents with missing properties according to a given type,
  • Optimized usage of HttpClient cache,
  • Fixed reconnection issue in Changes API,
  • Added PutIndexAsyncWithOperation command method

Studio

  • Fixed traffic watch for file systems,
  • Fixed documents visibility on the patching page,
  • Fixed vertical scrolling bar on the collections and document view,
  • Fixed import to CSV to preserve column ordering, skipping and document identifier if present,
  • Fixed info view of currently running tasks,
  • Fixed escaping of queries with contains : character

Smuggler

  • Fixed issue that an export file didn't include documents created during the export operation,
  • Fixed export of file systems,
  • Added --batch-size option for smuggling file systems,
  • Fixed import operation for large attachments,
  • Fixed smuggler "between" option to ensure documents added during the operation are transferred as well

3.0.30037 - 2016/01/09

Server

  • [DTC] Fixed NonAuthorativeInformation detection,
  • Added admin/generate-oauth-certificate endpoint,
  • Exports will now include documents created during the export time,
  • Fixed licensing timer leaks,
  • Minor fixes and tweaks,
  • Added a mechanism preventing from opening a resource with a different storage type than is defined in configuration,
  • Added a mechanism preventing from creating a different resource type than is defined in data directory,
  • [Scripted Index Results] will work correctly if there are multiple loads and puts of the same document in same batch,
  • [JavaScript] decreased max recursion from 1024 to 128,
  • [Replication] added LastReplicatedAttachmentEtag to the replication statistics,
  • [Patching] Inc operation will now assume that the value is Int64, not Int32,
  • Better mechanism preventing index corruption after server crash

Client API

  • support for DNX Core 5.0 (only unstable builds greater than 30011 due to NuGet policies),
  • Streams now contain full document metadata,
  • Added SetResultTransformer overload to IDocumentQuery and IAsyncDocumentQuery,
  • Query DurationMilliseconds is set to -1 when response comes from cache

Studio

  • Fixed FileSystem import,
  • Studio should not allow to 'save' locked index or should indicate after pressing save that the index is locked and changes will not be saved,
  • Minor fixes and tweaks

FileSystem

  • Failure to start FileSystem should result in 503, not 500 status code,
  • Fixed issues with recreating IndexSearcher during index reset, which could result in a failure to access index files,
  • Fixed FileSystem exports,
  • Fixed issue with streaming, now streams will exclude internal files (tombstones, deleted, synchronized),
  • Stability improvements

StorageExporter

  • Added SkipConsistencyCheck option

Smuggler

  • Better export timeout handling,
  • Enhanced server version discovery