Questions tagged [ravendb]

RavenDB is an Open Source document database for the .NET Core platform (Windows, MacOS, Linux). RavenDB offers a flexible data model designed to fit the needs of real world systems. RavenDB stores schema-less JSON documents, and allows you to define indexes using Linq queries and focus on low latency and high performance.

RavenDB Logo

RavenDB is an Open Source (with a commercial option) document database for the .NET platform. RavenDB offers a flexible data model designed to fit the needs of real world systems. RavenDB stores schema-less JSON documents, and allows you to define indexes using Linq queries and focus on low latency and high performance.

  • Scalable infrastructure: RavenDB builds on top of existing, proven and scalable infrastructure.
  • Simple Windows configuration: RavenDB is simple to setup and run on windows as either a service or IIS7 website.
  • Transactional: RavenDB supports System.Transaction with ACID transactions. If you put data in it, that data is going to stay there.
  • Map/Reduce: Easily define map/reduce indexes with Linq queries.
  • .NET Client API: RavenDB comes with a fully functional .NET client API which implements Unit of Work and much more.
  • RESTful: RavenDB is built around a RESTful API.
  • Ad-hoc queries: RavenDB supports ad-hoc queries and automatically creates indexes on the fly - no need to write indexes upfront.

RavenDB is released under a dual Open Source license and a commercial license. Simply put, that means that it is freely available under the AGPL license but if you want to use this with proprietary software, you must buy a commercial license.

2515 questions
1
vote
2 answers

RavenDB: Any equivalent to SQls DELETE MyTable WHERE id IN (1, 2, 3)

I have a list of records which shouldn't be in the database, a few hundred in total, due to various bugs going back years. I can delete these in code easily, but is there any way to script the delete, similar to the SQl Server DELETE..WHERE, so it…
1
vote
1 answer

Ravendb single or multiple indexes needed?

I have a simple document structure such as: public class CulturedData { public string Culture { get; set; } public string Text { get; set; } } public class Product { public int Id { get; set; } public decimal Price { get; set; } …
Phil
  • 2,315
  • 2
  • 18
  • 26
1
vote
1 answer

Where is RavenDB system database stored physically?

Where is this being stored physically? I can see where the user created database gets stored, how do I find out where the data for the system database is being stored?
Alwyn
  • 8,079
  • 12
  • 59
  • 107
1
vote
2 answers

Not Working: Restoring RavenDB from backup

I am using the latest ver of RavenDB 2.750. I have turned off the server before initiating the operation using the following cmd: .\Raven.Server.exe -src "C:\From" -dest "C:\Target" -restore However I do not see any new database added to the list of…
Alwyn
  • 8,079
  • 12
  • 59
  • 107
1
vote
1 answer

How to increase maxUrlLength in RavenDB?

Lets say I want to check if field with very long key exists in my database. So I query it like: var fieldId =…
slavirok
  • 63
  • 4
1
vote
2 answers

Updating a property on a saga outside of the saga

I need to perform edits on my saga documents outside of the saga. I am trying to do the simple property update which is: SaleSaga saga = session.Load(id); saga.SaleSagaTaskId = taskId; …
MattB
  • 585
  • 4
  • 17
1
vote
1 answer

How do I disable the RavenDB client replication check?

I'm using RavenDB .Net client 2.5.2700 and server build 2700. Calls to DocumentStore.Initialize() are taking 21 seconds and change even when the server is warm. Watching with Fiddler the call to Raven/Databases/ returns nearly immediately…
Bryan Anderson
  • 15,969
  • 8
  • 68
  • 83
1
vote
2 answers

Creating the RavenDb index with the User defined extension method

I want to do some thing like this. Map = entitys => entitys.Select(entity=> new { Query = new object[] { entity.Name, …
Anto Subash
  • 3,140
  • 2
  • 22
  • 30
1
vote
0 answers

RavenDB Restore slow

I've been testing our DR Process for a new application and am finding that RavenDB restore is taking an unexpected and unacceptable amount of time. I need to know if there is something wrong with my process or if there is a way of improving…
reticentKoala
  • 235
  • 2
  • 9
1
vote
4 answers

RavenDB on a port other than 8080

We are trying to install NServiceBus 4.2.0.0 with RavenDB via the following command:- nserviceBus.host.exe -install serviceName="xxxx.Server" -displayname="xxxx.Server" -username="domainName\serviceAccountName"…
Travis Ingram
  • 387
  • 5
  • 21
1
vote
1 answer

display image retrieved as ravendb attachment

Simple question: how to display retrieved ravendb attachment image in winforms pictureBox. Attachment is retrieved as Raven.Abstractions.Data.Attachment attachment = _store.DatabaseCommands.GetAttachment("upload/"+…
user2783193
  • 992
  • 1
  • 12
  • 37
1
vote
1 answer

Indexing wish and trade lists in RavenDB

I've tried many different strategies for indexing my data but can't seem to figure it out by myself. I'm building a database over users and their games. The users can supply the database with games they own and would like to trade as well as a list…
hakksor
  • 1,380
  • 1
  • 9
  • 14
1
vote
1 answer

RavenDB Get By List of IDs?

In RavenDB I need to get the latest insert for a document based on it's ID and filter by IDs from a list ie: List GetLastByIds(List ids); The Entity is similar to: class Entity { int id; //Unique identifier for the category the price…
user619417
1
vote
2 answers

How can I get all documents from RavenDB?

[Test] public void Can_Get_All() { var repository = new RavenRepository(); repository.DeleteAll(); repository.Store(new Motorcycle {Make = "Datsun", YearManufactured = 1972}); repository.Store(new Motorcycle {Make =…
Daniel Coffman
  • 1,997
  • 3
  • 26
  • 34
1
vote
1 answer

Query in RavenDB based on Values of a List inside a Dictionary

I have following classes public class Project : IWorkflowDocument { public string Id { get; set; } public Dictionary>> Parents { get; set; } } public class…
Martin
  • 21
  • 2
1 2 3
99
100