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

Suggestion on Customer Profiling System: Books, Articles, etc

I'm going to work on a Customer Profiling project (similar but not same to Google Analytics) for our own E-Commerce website using C#. I'm pretty new to this kind of project, and the Customer Profiling project is also a brand new project. Could you…
0
votes
1 answer

How many databases are allowed in a single mongodb cluster?

I'm working with a system that requires multiple databases for multiple organisation. A monolithic node Js server connects to these databases. The challenge is I may have 5000 organisation. I wanted to know is there any limit for creating databases…
0
votes
1 answer

Getting more useful data from a lookup on a many-to-many relationship in Fauna

I have a users collection and an invitations collection. Users can invite multiple users. Records in the invitations collection document these invites. Each record in invitations is shaped like this: "data": { "sponsor": Ref(Collection("users"),…
shennan
  • 10,798
  • 5
  • 44
  • 79
0
votes
0 answers

Document stores (e.g. Firebase) - smaller documents or more updates?

I am learning Firebase after many years of using SQL RDBMSs. This is definitely a challenge. Say, I have a collection of objects. Each object can belong to any number of categories. Categories have user-editable labels (e.g. user may rename the…
Eugene
  • 9,242
  • 2
  • 30
  • 29
0
votes
1 answer

How does DocumentDB failover happen if the the reader instance and writer instance have different instance types?

I have a DocumentDB cluster with exactly one replica instance ( db.r5.16xlarge ) and a primary instance ( db.r5.24xlarge ). If something happens to the primary instance and a failover occurs, the replica instance will act as the new primary…
0
votes
1 answer

How to delete nested collections from an empty document in Firestore?

I have the following structure for one of my collections on Firestore: main_database/root/comments/{commentId}/message: str main_database/root/comments/{commentId}/replies/{replyId}/message: str I tried to remove all documents from the root by…
WJA
  • 6,676
  • 16
  • 85
  • 152
0
votes
2 answers

Remove a child object in Fauna DB

I need to remove a child object in FQL. Let me demonstrate with the following example: { "1": { "name": "test" }, "2": { "name": "test2" } } And I want this JSON to look like this: { "1": { "name":…
0
votes
1 answer

Full Text Search in OrientDB JSON Data

I have following data in OrientDB 3.0.27 where some of the values are in JSON Array and some are string { "@type": "d", "@rid": "#57:0", "@version": 2, "@class": "abc_class", "user_name": [ "7/1 LIBOR Product" ], …
Sunil Kumar
  • 622
  • 1
  • 12
  • 33
0
votes
1 answer

How can I reduce the size of this JSON record?

I'm working on reducing the size of my database records. Each record is on average around 5Kb of which 97% is used by an single array property. This array describe object on an image and their bounding box, described as a series of points: [ { …
Théo Champion
  • 1,701
  • 1
  • 21
  • 46
0
votes
1 answer

Save data to tinydb from android studio app

I have not used tinydb before. I am trying to insert some data to tinydb database using the android app. I have checked many videos and blogs but still confused about how to use it. How can I create a database and insert values from the app?
Aysha Hamna
  • 436
  • 1
  • 6
  • 13
0
votes
1 answer

How to query data from nested document in mongodb?

I'm struggling with this nested document too much. I tried to read the document and also follow other SO responses to see if it works for me, but I'm not getting the results that I'm looking for. I want to extract some information from a big nested…
Kuni
  • 817
  • 1
  • 9
  • 24
0
votes
1 answer

How to save a single document field in cloud firestore into a local variable in flutter?

I would like to save a single document field into a local variable, but I am not able to do that. Here is my code: void getPostsData() async{ List listItems = []; String _title; String _content; final QuerySnapshot result =…
0
votes
3 answers

How do I store a picture in azure blob storage in asp.net mvc application?

I am currently working on an ASP.Net application that stores student information. I am required to store the following information: Student number Name Email address Home address Contact no. Upload photo of the student isActive flag to state…
0
votes
3 answers

How to bulk delete (say millions) of documents spread across millions of logical partitions in Cosmos db sql api?

MS Azure documentation does not talk anything about it. Formal bulk executor documentations talks only about insert and update options, not delete. There is a suggested java script server side program to create a stored procedure which sounds very…
0
votes
1 answer

Mongoose commands analogous to relational database commands

I am very confused between schema, model, instance of a model, and collection in Mongoose. My understanding is as follows: Mongoose.schema( { } ) - analogous to defining the columns of a table in relational databases Mongoose.model( 'Name',…
lynxx
  • 544
  • 3
  • 18