Questions tagged [document-database]

A document database stores, retrieves, and manages document-oriented information, also known as semi-structured data. Document databases often store data in a denormalized fashion as opposed to normalized data, which would appear in a relational database.

An excerpt from Wikipedia:

The central concept of a document-oriented database is the notion of a document. While each document-oriented database implementation differs on the details of this definition, in general, they all assume documents encapsulate and encode data (or information) in some standard formats or encodings. Encodings in use include XML, YAML, JSON, and BSON, as well as binary forms like PDF and Microsoft Office documents (MS Word, Excel, and so on).

Examples of document databases:

232 questions
2
votes
0 answers

Document Database - Query by Interface property implementation type

In our app we have a Ship object and a ship can be assigned Jobs. Each Job has a WorkRole that describes the work the Ship is doing. Here are my classes: public class Job { public string ShipId { get; set; } public IWorkRole WorkRole { get;…
JCoder23
  • 551
  • 1
  • 4
  • 17
2
votes
1 answer

Project management web app: relational or document oriented DB?

There're quite a few posts discussing relations vs document databases, however they are all quite generic. I'd like to understand their differences in a specific example. Let's imagine we're building another scrum-oriented project management web…
Sumrak
  • 3,740
  • 7
  • 31
  • 37
2
votes
2 answers

Links vs References in Document databases

I am confused with the term 'link' for connecting documents In OrientDB page http://www.orientechnologies.com/orientdb-vs-mongodb/ it states that they use links to connect documents, while in MongoDB documents are embedded. Since in MongoDB…
nahid
  • 307
  • 3
  • 8
  • 17
2
votes
2 answers

Orientdb as a document-graph database

I am using Neo4j and trying to find out the advantages of Orient as document-graph db over Neo4j. How does it work in Orientdb to have features of a document database in a graphbdb? is the database in both mode (graph and document) using the same…
nahid
  • 307
  • 3
  • 8
  • 17
2
votes
1 answer

RavenDb importing data from different sources like xml, cvs

We have a system which will import alot of data. The data can come with different types of xml files and are right now mapped to c# objects. Now we want by the name (which will be unique, but will not be the Id) update existing objects that are…
NPehrsson
  • 1,548
  • 18
  • 26
2
votes
1 answer

When To Use What Database? i.e. What are the parameters should I look at when choosing a database to use?

I am developing a system which has multiple modules, Social Media User Demography - (Document) - Name, loc, interests, work, education Social Media User Connections - (Graph) - friends CRM - (Rows and Columns) - telecom + banking etc to name a…
2
votes
1 answer

Motivations for using relational database / ORM or document database / ODM

It's been a long time since I haven't created a project from scratch, and now document-oriented databases (as well as ODM) have become quite popular, so I have to consider them before blindly going the relational route. Could anyone try to list the…
BenMorel
  • 34,448
  • 50
  • 182
  • 322
2
votes
1 answer

RavenDB and Composite pattern

Let say I have such structure public class Form { public List Fields { get; set; } } The Field class can be composite and include other Fields derived from the Field class as well, so I have some sort of hierarchical structure. The Form…
Jevgenij Nekrasov
  • 2,690
  • 3
  • 30
  • 51
2
votes
1 answer

Document DB and simulating ACID

See results at the end I want to use a document DB (for various reasons) - probably CouchDB or MongoDB. However, I also need ACID on my multiple-document transactions. However, I do plan on working with "add-only" model - changes are added as new…
Ran Biron
  • 6,317
  • 5
  • 37
  • 67
2
votes
1 answer

RavenDB Custom Serializer and Deserializer

I'm having some trouble serializing/deserializing in RavenDB. I have no problems storing the data, but have an issue when querying the documents. I have a fairly complex Account class that was generated from Entity Framework v4.3 POCO…
Tim P.
  • 2,903
  • 24
  • 26
2
votes
1 answer

does sisoDB use sql server database to store data

I'm looking for a NoSQL database to use with asp.net , and I came to sisoDB . but as I understood it uses Sql server to save data and so it can use sql server features like security and ... . is it correct ? and what are pros and cons of this…
mohsen dorparasti
  • 8,107
  • 7
  • 41
  • 61
1
vote
0 answers

$match in lookup stage without removing local documents in mongoDB

Right now I have a lookup stage that matches a collection of answers with their respective questions. The problem I'm having is that on the $match if the question does not having a matching answer document in the lookup collection it is removed from…
1
vote
1 answer

How to un-nest and group collections in mongoDB

I'm don't understand how to unwind and then nested collections in mongoDB. basically I have two collections that are structured like this: questions doc: { "_id" : 1, "questions" : [ { "_id" : 1, "body" :…
1
vote
1 answer

Possible to sync a sqlServer view into a noSQL db like MongoDB or RavenDB?

I'm looking to get a complex sqlserver view into a documentDB like mongoDB for performance reasons. Is it possible to sync the two together? or What's the best approach to get each record/document from the view into the documentDB. This is for…
mtntrailrunner
  • 761
  • 6
  • 11
1
vote
0 answers

Absorbing N in a M:N relationship

I am encountering an issue I am trying to wrap my head around. I am using learnmongodbthehardway as a resource to define my options modelling a M:N relationship. According to this link I have two options: One way embedding and Two way embedding. I’d…
SomeDutchGuy
  • 2,249
  • 4
  • 16
  • 42