document-database Questions

6

Solved

I'm doing a project that deals with structured document database. I have a tree of categories (~1000 categories, up to ~50 categories on each level), each category contains several thousands (up to...

5

Solved

It seems to me that when you are creating a Mongo document and have a field {key: value} which is sometimes not going to have a value, you have two options: Write {key: null} i.e. write null valu...
Headliner asked 13/9, 2012 at 9:27

2

Solved

Let's say we're building a DB for storing analytics from web sites or mobile apps. Transactions aren't important (it's ok to drop things) and only slow things down, supporting as many concurrent ca...
Monospermous asked 21/1, 2013 at 20:29

6

Solved

I'm currently experimenting with MongoDB. I'm moving from a NHibernate/SQL mindset, and so initially I implemented a repository pattern for data access. This was all looking fine until I started u...
Incursion asked 21/9, 2011 at 10:1

10

Solved

I'm using the Mongoose Library for accessing MongoDB with node.js Is there a way to remove a key from a document? i.e. not just set the value to null, but remove it? User.findOne({}, function(err...
Sihonn asked 20/12, 2010 at 4:42

1

Solved

I have accounts collection in Cosmos DB. I tried different queries but failed what will be equivalent SQL Query to fetch only accounts which has selected subscription. I tried this Query but faile...
Maltreat asked 19/8, 2018 at 14:10

1

Solved

I have a DocumentDB database in Azure which I access through the CosmosDB API. I'd like to get all the parent fields of a document with a simple query: SELECT p.id FROM parent p JOIN ch IN p.pr...
Benitobenjamen asked 16/1, 2018 at 8:44

3

Solved

I have two tables/collections; Users and Groups. A user can be a member of any number of groups and a user can also be an owner of any number of groups. In a relational database I'd probably have a...

7

Solved

For a small PHP app I am writing, we need to store a large number of records that have a hash key, and a few simple field values ('host', 'path'). eg: '4420ffb32a' => array( 'host' =>...
Saval asked 19/10, 2010 at 20:16

0

Tech being used: Node.js Nano CouchDB Disclaimer: I am very new to CouchDB. I am able to query views with Node.js and Nano just fine. I am looking for more of a conceptual solution then a synt...

1

Solved

Is it possible to link documents from different collections in ArangoDB as it is in OrientDB? In OrientDB you can create a field of type LINK and specify the type linked. That creates a relation b...
Brimmer asked 27/10, 2014 at 14:24

1

Solved

In DocumentDb, what is the best way and place to decouple data in order to save them in separate collections? So far, most of the examples of how to manage data with DocumentDb use simple objects...
Fustian asked 11/9, 2014 at 5:22

1

Solved

I'm learning about data modeling in DocumentDb. Here's where I need some advice Please see what my documents look like down below. I can take two approaches here both with pros and cons. Scenari...
Thicken asked 7/9, 2014 at 2:17

2

Solved

Edit Turns out I am storing the document correctly so the beginning part of this question is not correct, probably due to my inexperience with RavenDB. However I still have the question of being a...
Pentup asked 12/10, 2012 at 12:24

2

NoSQL databases can be categorized as KV, Document, Columnar and Graph. I had been trying to figure out which NoSQL to use for different scenario, read a couple of blogs/articles and am a still con...
Rheingold asked 8/3, 2013 at 12:56

2

Solved

Here is a document in the store: { "Name": "Hibernating Rhinos", "Employees": [ { "Name": "Ayende" }, { "Name": "John" }, { "Name": "Bob" }, { "Name": "Tom" }, { "Name": "Lane" }, { "Name...
Amnion asked 31/7, 2010 at 18:36

2

Solved

I'm running MongoDB on Windows. I have 1 or more threads that drop and recreate a collection. Using mongo.exe with the show collections() command, I'm seeing multiple collections with the same nam...

2

I'm considering a setup where I have entities stored both in a document db (e.g. CouchDB) and a graph db (e.g. Neo4j). The rationale is storing each entity information (data, blobs, values, complex...
Lovellalovelock asked 30/8, 2012 at 3:58

2

Solved

If I'm trying to save a list of items I want to save that has a count > 30 I get an error saying The maximum number of requests (30) allowed for this session has been reached. Raven limits the...
Nieshanieto asked 23/3, 2011 at 20:12

1

Solved

What is the difference between object-oriented and document databases? I didn't use object-oriented databases, but when I use document database (RavenDb) I store and read usual object-oriented cla...
Crucifer asked 27/3, 2012 at 6:30

1

Solved

I need to store around 100 millions of records on the database. Around 60-70% of them will be deleted daily and same amount of records are inserted daily. I feel a document database like Hbase, Big...
Precatory asked 23/12, 2011 at 8:10

6

I've been trying to see if I can accomplish some requirements with a document based database, in this case CouchDB. Two generic requirements: CRUD of entities with some fields which have unique ...
Ronnironnica asked 3/12, 2008 at 14:44

1

Solved

I have a reconciliation process where by a background thread that periodically retrieves a list of object ids from an external webservice and attempts to add the missing entities to an embedded Rav...
Tamtama asked 1/11, 2011 at 17:22

3

It seems like I run into lots of situations where the appropriate way to build my data is to split it into two documents. Let's say it was for a chain of stores and you were saving which stores eac...
Gonnella asked 18/10, 2010 at 5:21

4

We are looking at a document db storage solution with fail over clustering, for some read/write intensive application. We will be having an average of 40K concurrent writes per second writte...
Onepiece asked 10/3, 2011 at 10:29

© 2022 - 2024 — McMap. All rights reserved.