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
4
votes
2 answers

How to model structures such as family trees in document databases

I have been looking into document databases, specifically RavenDb, and all the examples are clear and understandable. I just can't find any example where we do not know beforehand how many levels a given structure has. As an example how would you…
4
votes
1 answer

Fetch data from linked class in orientdb

Am new to OrientDB, i want to fetch data from class B which depends on the value of class A info class A --------------------------------+-------------+-------------------------------+- NAME | TYPE | LINKED…
Shri
  • 469
  • 5
  • 18
4
votes
3 answers

Are there any small scale, durable document/object databases?

I have a few .Net projects that would benefit from using a document/object database opposed to a relational one. I think that db4o would be a good choice, but we're not sure how much the cost is. I'd love to use MongoDB but it's design isn't for…
Joe Doyle
  • 6,363
  • 3
  • 42
  • 45
4
votes
2 answers

XML versus MongoDB

I have a problem... I need to store a daily barrage of about 3,000 mid-sized XML documents (100 to 200 data elements). The data is somewhat unstable in the sense that the schema changes from time to time and the changes are not announced with enough…
Alex R
  • 11,364
  • 15
  • 100
  • 180
4
votes
1 answer

How do I optimize RavenDB queries for retrieving all documents?

I am trying to learn how to use RavenDB, and for that I created a basic example. It seems that initializing the store and querying takes a huge amount of time! static void Main( string[] args ) { const bool createNewEntities = true; var sw…
Reyhn
  • 997
  • 1
  • 11
  • 22
3
votes
2 answers

document database with search features

Does anybody know if any of the document databases offers good search features? I see RavenDb is using Lucene.net to some degree but I am looking for a more integrated search experience like the Truffler.net client api are giving you. They have…
terjetyl
  • 9,497
  • 4
  • 54
  • 72
3
votes
1 answer

Branch and Merge abilities in a Document Database?

When I think of a document database, I think of a bunch of JSON files. (I imagine it is more complex than that, but that is how envision it.) In an upcoming project, we need the ability to deal with multiple different versions of the data. As I…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
3
votes
2 answers

While creating new document in ravendb, collection name is missing in metadata, and the document is marked under @empty collection

I am trying to create a new collection in ravendb using the apollo node client. Although the document is created and stored in ravendb, the "collection" value from metadata is missing. And as a result the document is stored under @empty collection.…
3
votes
1 answer

Hosting an in-process document database on Windows

Are there any document-databases, similar to MongoDB, that run within an ASP.NET web application, and could be hosted on a server without any unique machine configuration? I'm asking this because the hosting provider I'm currently with only support…
Jonathan
  • 32,202
  • 38
  • 137
  • 208
3
votes
1 answer

Document Database Design: Multi-level categories (MongoDB specifically)

I'm trying to figure out the proper way to think about this problem for a document based data storage system. I've got the simple case of a two-tier category system, where there are Industries and Industry Groups (think Plumbing and Home…
Jim
  • 485
  • 5
  • 12
3
votes
3 answers

do any source-control systems use a document database for storage?

One of those questions that's difficult to google. We were running into issues the other day with speed of our svn repository. The standard solution to this seems to be "more RAM! more CPU!" etc. Which got me to wondering, are there any…
jcollum
  • 43,623
  • 55
  • 191
  • 321
3
votes
2 answers

NoSQL database design: graph, documents, edges..?

I am trying to design a NoSQL database for the first time and I am confused about some things. I can create collections that contains documents and also collections that contains edges. On the other hand I can create graphs that connects documents…
Dovi
  • 833
  • 1
  • 10
  • 29
3
votes
1 answer

documentdb indexing for a single property

I'm trying to range index only ExpireDate property. I have written the following index. is it correct? If I make automatic = false, I'm unable to query. However, my concern is that because automatic = true, all properties for all levels are…
Ahmet
  • 906
  • 1
  • 8
  • 22
3
votes
1 answer

DocumentDB Lazy indexing mode: Querying a document before the index has updated

In order to improve write performance, a lazy indexing strategy can be used. From what I understand, this essentially means that the index propagation is eventually consistent after the write (as opposed to the Consistent mode, where the write will…
Dave New
  • 38,496
  • 59
  • 215
  • 394
3
votes
1 answer

using ArangoDb / OrientDb for hierarchical data model and document search: is the right solution?

i'm developing a document management software and i'm evaluation a noSql database for storage and search data. Summary the software act like a file system when items are organized in directory and subdirectory. Each item of the tree can have n…
Claudio
  • 133
  • 2
  • 11