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
0
votes
1 answer

RavenDB Relational Model

I'm working on a side project to create a Forum built on top of RavenDB. I am currently trying to work out the relationship between Authors of Topics, and the "Last Reply" user on a topic. In a typical relational model I would simply store the FK to…
Justin Packwood
  • 337
  • 2
  • 12
0
votes
1 answer

Nesting and querying documents with MongoDB

I have a data structure that looks more or less like this: var city = { name: String, mayor: Person, citizens: [Person] }; I think my use case is pretty good for using MongoDB, but I have a few questions. The above model has been implemented…
blop
  • 31
  • 1
  • 7
0
votes
2 answers

Many to Many Data modelling in mongodb

What is the best way of modelling such a relationship? I have a room collection and a user collection. A room can contain many users. A user can belong to many rooms. I was thinking of inserting users of a room in an array (?) in the room…
Ying Yangz
  • 177
  • 2
  • 11
0
votes
1 answer

Best database for multiple-column indexes?

I have a sparse database. Some fields are of Boolean type (these fields should be indexed), some other fields are of Nominal type (again, these fields should also be indexed) whereas some other fields are of Text type (but those ones should not be…
user706838
  • 5,132
  • 14
  • 54
  • 78
0
votes
1 answer

how to use indexes in arangodb graph search?

i'm evaluating ArangoDb for my application. I have a data model like a file system, with a Items document collection and a ItemsParents edge collection with parent-child relations about Items. Now i would like to find all childs of a specific item,…
Claudio
  • 133
  • 2
  • 11
0
votes
1 answer

Is Powershell available for creating Azure Document Database account without using ARM Template?

I am trying to create Azure Document Database Account using Powershell. found a way to create it using ARM Template. ex: New-AzureResourceGroup -Name $resourceGroupName -Location $location -DeploymentName "Microsoft.DocumentDBWebSite"…
Anil Patel
  • 71
  • 1
  • 10
0
votes
1 answer

Select with associated documents in OrientDB

How do I query the DB and get an AttendanceReport with all association data (LeaderAttending and PersonAttending)? Not just RID's that I do with a regular select from AttendanceReport. Or should I use links for this kind of data? I am a newbie to…
Markus Hedlund
  • 23,374
  • 22
  • 80
  • 109
0
votes
0 answers

How should I handle one-to-one relationships in RavenDb?

I know that, generally speaking, if a one-to-one relationship exists between two documents I should consider embedding one document within the other. I do, however, have a few scenarios where this doesn't feel right, primarily in scenarios where I…
Øyvind
  • 1,600
  • 1
  • 14
  • 33
0
votes
1 answer

Loading Data into marklogic from MySql

How to load data into Marklogic from MySql database. As well as how to create a document database & build search application on top of it ? (PDF's would be the source for documents database) -Thanks & Regards Swapneel
0
votes
1 answer

Scalability issue during link establishment in Orient DB

Here we are using orientDB to deal with large amount of data. We created a document database first: (CREATE DATABASE remote:localhost/test root password plocal document). Then we have created two Class C1 and C2 in Orient DB. Then, we have…
Sagiruddin Mondal
  • 5,407
  • 2
  • 29
  • 44
0
votes
1 answer

What is the technological basis for Azure DocumentDB?

Microsoft announced the availability of Azure DocumentDB as follows... A fully-managed, highly-scalable, NoSQL document database service. - Rich query over a schema-free JSON data model - Transactional execution of JavaScript logic - Scalable…
JoaoCC
  • 624
  • 6
  • 15
0
votes
1 answer

MongoDB: how to set collection version?

I'm currently using MongoDB and I have a collection called Product. I have a requirement in the system that asks to increment the collection version whenever any change happens to the collection (e.g. add a new product, remove, change price,…
Alan Souza
  • 7,475
  • 10
  • 46
  • 68
0
votes
1 answer

How to store a tree structure of documents (json) and access each parent or children of children via a RESTful url?

for example navigating to localhost/root/parent1/child3/node will show a json document under this path or localhost/root/parent2/ will show a json document with an array of links to it's children ['localhost/root/parent2/child1',…
KJW
  • 15,035
  • 47
  • 137
  • 243
0
votes
1 answer

Schema-less AND relational database

I have thousands of documents of different types and therefore different fields. My task is to find pairs or a group of documents, with specific relations: A.race='dwarf' and B.race='elfe' and C.profession='thief' A.haircolor = C.haircolor and…
Daniel
  • 42,087
  • 4
  • 55
  • 81
0
votes
2 answers

What is the correct Microsoft Azure technology for storing and searching "dynamic" data?

Background I am building a multi-tenant (approx. 100 paying clients) Customer Relationship Management application for a specific industry niche. The CRM will store data about my clients' prospects and customers (or rather, contacts). The data that…
Bob Tabor
  • 967
  • 1
  • 13
  • 23