non-relational-database

Firebase, IN clause query and lists of datas

折月煮酒 提交于 2019-12-13 14:52:49
问题 In my opinion this is pretty obvious question when someone has to deal with a DB, so I don't know why I can't find anything about it. I'm trying to design the non-relational database for my project. I have a list of products described by some info (e.g. the code, an image and a multi language description) and they are categorized in different ways. Here is a snap of the structure: "products" : { "-JiGh_31GA20JabpZBfa" : { "code" : "IR3300000000", "schema" : "http://lorempixel.com/400/200/", }

How to model a contract database (with several buyers or sellers) using GAE datastore

ぃ、小莉子 提交于 2019-12-12 06:25:43
问题 I'm new to programming and I'm trying to grasp the concept of the GAE datastore. I'm trying to build an app to make it easy write contracts (http://contractpy.appspot.com) and I'd like to know: how to model a database to record contracts (considering that a contract can have several people on the same side of the transaction)? In the relational model, I would do the following: create a table for people, then a table for the contract and a third table with reference to people that have

App Engine Data Modeling for Comments

依然范特西╮ 提交于 2019-12-11 23:10:28
问题 I implementing a Comments section for my current application. The Comments section can be thought of as a series of user posts on a given page. I am wondering which design would be most effective in a non-relational database (Google App Engine). Design 1: Group the comments by a groupId and filter on those results Comment Entity >> [id, groupId, otherData...] Queries for all comments pertaining to a page would look like: Select from Comments filter by groupId Design 2: Store a single key for

A Read-Only Relational Database on Google App Engine?

不羁的心 提交于 2019-12-11 03:09:37
问题 I have a medium size (~100mb) read-only database that I want to put on google app engine. I could put it into the datastore, but the datastore is kind of slow, has no relational features, and has many other frustrating limitations (not going into them here). Another option is loading all the data into memory, but I quickly hit the quota imposed by google. A final option is to use django-nonrel + djangoappengine, but I'm afraid that package is still in its infancy. Ideally, I'd like to create

portable non-relational database

筅森魡賤 提交于 2019-12-08 02:07:08
问题 I want to experiment/play around with non-relational databases, it'd be best if the solution was: portable, meaning it doesn't require an installation. ideally just copy-pasting the directory to someplace would make it work. I don't mind if it requires editing some configuration files or running a configuration tool for first time usage. accessible from python works on both windows and linux What can you recommend for me? Essentially, I would like to be able to install this system on a shared

Django 1.8 and MongoDB?

只愿长相守 提交于 2019-12-07 09:11:43
问题 This question is already asked on StackOverflow, The asked questions date back to 2013, Its 2015 now and Django has grown up fast. What is the situation of using mongodb with Django 1.8 as of 2015? Does Django support Monogodb out of the box (with db adapters)? or another distribution like django-nonrel should be used? 回答1: just my thoughts and somewhat subjective and opinionated but I would say it does not work very well. I quickly disbanded the idea of trying to run Django with MongoDB,

portable non-relational database

我与影子孤独终老i 提交于 2019-12-06 11:14:01
I want to experiment/play around with non-relational databases, it'd be best if the solution was: portable, meaning it doesn't require an installation. ideally just copy-pasting the directory to someplace would make it work. I don't mind if it requires editing some configuration files or running a configuration tool for first time usage. accessible from python works on both windows and linux What can you recommend for me? Essentially, I would like to be able to install this system on a shared linux server where I have little user privileges. Andy Dent I recommend you consider BerkelyDB with

(Non-Relational) DBMS Design Resource

蹲街弑〆低调 提交于 2019-12-06 10:03:00
问题 As a personal project, I'm looking to build a rudimentary DBMS. I've read the relevant sections in Elmasri & Navathe (5ed), but could use a more focused text- something a bit more practical and detail-oriented, with real-world recommendations- as E&N only went so deep. The rub is that I want to play with novel non-relational data models. While a lot of E&N was great- indexing implementation details in particular- the more advanced DBMS implementation was only targeted to a relational model. I

Why would I want to use a non-relational database?

你。 提交于 2019-12-06 03:09:56
问题 The latest craze in databases seems to be centered around non-relational databases. Why? It seems kind of counterproductive. For example, it makes much more sense to me to express my data in a relational way (example code in Django + SQL for tables): class Post(models.Model): name = models.CharField() created = models.DateTimeField(auto_now_create = True) class Comment(models.Model): text = models.TextField() post = models.ForeignKey('Post') created = models.DateTimeField(auto_now_create =

Django 1.8 and MongoDB?

爱⌒轻易说出口 提交于 2019-12-05 13:06:38
This question is already asked on StackOverflow, The asked questions date back to 2013, Its 2015 now and Django has grown up fast. What is the situation of using mongodb with Django 1.8 as of 2015? Does Django support Monogodb out of the box (with db adapters)? or another distribution like django-nonrel should be used? just my thoughts and somewhat subjective and opinionated but I would say it does not work very well. I quickly disbanded the idea of trying to run Django with MongoDB, since it's auth system is heavily reliant upon a relational database to work. There are apparently ways around