Questions tagged [document-based-database]

16 questions
16
votes
2 answers

Mongo db using result of query in another query using $in

I have the following model in mongo db: User collection { _id:12345, name:"Joe", age:15, } Addresses collection { _id:7663, userId:12345, Street:"xyz", number:"1235", city:"New York", state:"NY" } Now I want to get all the addresses of users above…
12
votes
2 answers

How would I model data that is heirarchal and relational in a document-oriented database system like RavenDB?

Document oriented databases (particularly RavenDB) are really intriguing me, and I'm wanting to play around with them a bit. However as someone who is very used to relational mapping, I was trying to think of how to model data correctly in a…
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
7
votes
1 answer

Couchbase data modelling - Document oriented

This question is not necessarily Couchbase 2.0 develop preview specific however I think it may help people with investigation into the new Couchbase product. I am looking for advice on data modelling. We are investigating Couchbase with a view to…
eggsy84
  • 1,059
  • 1
  • 14
  • 26
7
votes
4 answers

CouchDB - .NET or Mono Equivalent Technology

Is there any active "document-based" database projects using .NET or Mono? Something similar to CouchDB, SimpleDB, LotusNotes, etc... Prefer open source. I figure the JScript.NET technology could be used for the Map and Reduce functions over stored…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
3
votes
3 answers

Are there any CMS based on document-based database?

I did some googling, not much come up.
Chao Xu
  • 2,156
  • 2
  • 22
  • 31
2
votes
1 answer

Saving Id in Raven Document

New to Raven. I have an MVC page that saves data to a Raven document. I am able to save all fields as expected. I have noticed the Id (field/attribute of the table/class structure in my project) is null and it does not get saved into the document.…
ZVenue
  • 4,967
  • 16
  • 61
  • 92
1
vote
1 answer

MongoDb with .net creating POCOs id values

I am new to MongoDb but have an existing application which would benefit heavily from using it to store encapsulated data for fast retrieval and updating. Now the problem I have is that I have existing models which are just simple POCOs without any…
Grofit
  • 17,693
  • 24
  • 96
  • 176
1
vote
1 answer

One Db type to another - SQL

If I have SQL tables tblA and tblB and they have one to many relationship between them.. can we create multiple raven db documents automatically .. Can I automatically load documents in Raven DB... from SQL server tables any other way... using any…
ZVenue
  • 4,967
  • 16
  • 61
  • 92
1
vote
2 answers

Using MongoDB and MySQL in unison

Some parts of my web app would work very well with a RDBMS, such as user and URL handling - I want to normalize users, emails, hosts (ie stackoverflow.com), and urls (ie https://stackoverflow.com/questions/ask) so that updating things in one place…
cjroth
  • 607
  • 1
  • 6
  • 19
1
vote
1 answer

What are the advantages of storing your schema as arrays or hash fields?

This applies to rethink DB. Is it better to have a schema with embedded arrays or hash fields as arrays? Keeping my intentions simple.. I am trying to keep track of daily statistics. But I am in between deciding what schema structure is better. Let…
levelone
  • 2,289
  • 3
  • 16
  • 17
1
vote
0 answers

Database for analytics and map/reduce

I have multiple threads in my app generating log files based on the work it is performing. They run typically multiple iterations over multiple days and generate close to 15 - 20 GB of data. I extract specific fields from each of those iterations of…
Manoj
  • 5,011
  • 12
  • 52
  • 76
1
vote
0 answers

Document Based Storage of Relational Data

Should I store my relational data in MongoDB? Any insight given my unique situation (outlined below) would be greatly appreciated!! As with any project, my resources are extremely limited. I'm looking to improve performance with as little cost as…
0
votes
4 answers

In-Memory SQL/NoSQL - Keep the ability to query - Maybe use MySQL or SQL Server

I'd I like to be able to run a set of records/documents in a data store but have those records fresh in RAM at all times. I only need to use about 1.5GB to 2GB of RAM (potentially less). This would be server-based not embedded. I know in-memory…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
0
votes
1 answer

Cross JOIN collections and GroupBy CosmosDB Javascript API

I am searching for a solution in the Javascript API for CosmosDB, where you can perform an INNER/OUTER JOIN between two document collections. I have been unsuccessful. From my understanding, Javascript Stored Procedures run within a collection,…
monstertjie_za
  • 7,277
  • 8
  • 42
  • 73
0
votes
2 answers

Create a simple XML-document database Java

I need some Java help. I have got a class like this public class Thing { private String name; private int price; public Thing(String name, int price) { this.name = name; this.price = price; } public String getName() { return…
1
2