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

Document Db Stored Procedure WIth Continuation Token Fails to Update All Records

I am trying to set the property of all documents of a particular user to false. I am using Stored Procedure to do the same. The Below Procedure fetches only a partial of the records and updates them. I have a total of 2399 documents. But the…
sham
  • 691
  • 8
  • 28
0
votes
1 answer

Proper Design in Cloud Firestore Document Database

I'm a little new to NoSQL and I'm struggling to understand how to design the database when different documents have relationships. I've read a few articles on design patterns for NoSQL, but I seem to get conflicting information. Here is the…
Daniel
  • 536
  • 3
  • 10
0
votes
2 answers

Flexible DBMS for desktop applications?

I'm building a foss Python application, and am looking for a flexible database management system which will work for my isolated desktop application. I'm looking for something that is NoSQL but which works well when running locally. I have…
sunyata
  • 1,843
  • 5
  • 27
  • 41
0
votes
1 answer

Copy documents from one DocumentCollection to another?

In my Azure CosmosDB, that I use with the Gremlin API there is one database called graphdb with several {DocumentCollections}. I would like to copy a selected set of Vertices and Edges from one collection (graphdb) to another (Tintin). I managed…
Caspar Kleijne
  • 21,552
  • 13
  • 72
  • 102
0
votes
1 answer

Is it faster to query a string or a boolean in Firestore?

I'm trying to structure schema for a document database. I'm using Google Cloud Firestore. I want my data to be queried easily and quickly, so I'm keeping the structure shallow or flat. Will queries run faster querying for booleans or strings. {…
dlaub3
  • 1,107
  • 9
  • 20
0
votes
0 answers

Is it a bad design to store all of my user's data in a single document when using a document database?

I am creating an Android flash card app and I am thinking about using a document db, like MongoDB Stitch, to store my user's information. So far, I have thought about storing the following in a single document per user: username hashed…
mr nooby noob
  • 1,860
  • 5
  • 33
  • 56
0
votes
1 answer

Node js parameterized query for DocumentDB

Can anyone tell me which node module I have to require to parameterize queries for DocumentDB in Node.js? I have structured the query very similar to this Microsoft example. I am using the documentdb module, but SqlQuerySpec and…
DarkW1nter
  • 2,933
  • 11
  • 67
  • 120
0
votes
1 answer

convert object to DocumentDb Document in .Net Core

I have the following code which takes in a object of type employee based on it's model, I want to convert this to a DocumentDB Document then post to the database. How would I do the conversion? [HttpPost] public async Task…
DarkW1nter
  • 2,933
  • 11
  • 67
  • 120
0
votes
1 answer

CosmosDB [ Document DB] SQL

I am new to Cosmos db [ Document db] . I am trying to write and SQL to fetch data from the collection . my collection looks like // [ { "id": "SitefinitySocMapping", "DocumentCreationTime": "2017-10-10T14:08:12.3916921Z", "TotalRecords":…
Dinesh
  • 193
  • 2
  • 14
0
votes
1 answer

just another tagcloud question

i have an act: public class Act { public Act() { this.Tags = new List(); } public string Id {get; set;} public string Name { get; set; } public IList Tags { get; set; } } Tag is just: public class…
user156888
0
votes
1 answer

Bulk insert documentdb using tcp or stored procedure in c#

Here's my c# code public static async Task GetDatabase(string databaseName) { if (client.CreateDatabaseQuery().Where(db => db.Id == databaseName).AsEnumerable().Any()) { return…
Melvin
  • 877
  • 3
  • 11
  • 27
0
votes
1 answer

Data modeling with document database?

I am new to working with Data. So I have a lot of data based on time. Data row for every 15 mins. Should I compute the data and store data for every 1 hour, 1 day, 1 month on the database? if I do would this schema be good. { _id: "joe", name:…
Supra
  • 1
  • 1
0
votes
0 answers

DocumentDB update based on select statement fails

I am planning to update the document, if similar values already exists in other records of the document. Say, if root document has few records in which few fields(track,time) are similar, then I want to update the isOriginal field for such record…
0
votes
1 answer

CouchDB bulk delete Node.js

I am using the Cloudant node module to modify my Cloudant database. I am sending the following documents to the db.bulk(params,callback) function. { docs: [ { "_id": "...", "_rev": "...", "_deleted": true }, { "_id": "...", …
Danwakeem
  • 328
  • 2
  • 17
0
votes
1 answer

Is there a standard Document-Oriented-DB/MongoDB Schema?

I know the benefits of an object database is that the data can be loaded and saved in the format you will probably be using it in. But if i'm loading an object from a database, manipulating it on the client, and sending it back, how do I ensure new…