Questions tagged [datastore]

A datastore is a generic term for a system which stores data. The term datastore includes RDBMS systems, NoSQL systems, memory based systems, flat files, spreadsheets to name just some examples. A given datastore may provide a rich toolset for storing and retrieving data (RDBMS), or it may provide no tools (flat files).

968 questions
31
votes
6 answers

Store array of numbers in database field

Context: SQL Server 2008, C# I have an array of integers (0-10 elements). Data doesn't change often, but is retrieved often. I could create a separate table to store the numbers, but for some reason it feels like that wouldn't be optimal. …
THX-1138
  • 21,316
  • 26
  • 96
  • 160
19
votes
5 answers

Realistic Data Backup method for Parse.com

We are building an iOS app with Parse.com, but still can't figure out the right way to backup data efficiently. As a premise, we have and will have a LOT of data store rows. Say we have a class with 1million rows, assume we have it backed up, then…
dcc
  • 347
  • 3
  • 11
17
votes
1 answer

Reading, writing and storing JSON with Node on Heroku

I am building an App based on Node.js running on Heroku. The app uses a JSON file which at the moment is being pushed with the rest of the app, and we are reading and writing to it like so: var channelsList =…
Jack Wild
  • 2,072
  • 6
  • 27
  • 39
15
votes
2 answers

Proper instance creation of Android's Jetpack DataStore (alpha07 version)

So with the new alpha07 version, Android ditched the private val dataStore = context.createDataStore(name = "settings_pref"), however the new way they use datastore doesn't work for me. Since upgrading from…
15
votes
3 answers

What’s the difference between a dataStore and a database?

I’m in the process of setting up a CKAN instance. I have to setup a postgres database for CKAN to be operated. Additionally I have to set up a dataStore too. I found this question on stackoverflow but didn’t answer my question. How to think in data…
Techie
  • 44,706
  • 42
  • 157
  • 243
12
votes
1 answer

bitbake: d.getVar("X", True) what does True mean?

I find the following: http://www.yoctoproject.org/docs/2.1/bitbake-user-manual/bitbake-user-manual.html#accessing-datastore-variables-using-python It said that: Using "expand=True" expands the value. What does the "expand" means?
dudengke
  • 489
  • 2
  • 6
  • 18
12
votes
8 answers

Best practices for data management in Prolog

I'm just getting involved in using Prolog to handle more than just the simplest forms of data (facts) and am looking for some guidance from the seasoned Prologers... If I want to dynamically manage data or facts, I have a couple of major choices,…
lurker
  • 56,987
  • 9
  • 69
  • 103
11
votes
4 answers

App Engine: Development datastore cleared each time I turn off my computer. How to avoid this?

I've been using App Engine with Python for a few months. Now that my application has a fair amount of code, I'm trying to solve a problem I've ignored so far: Each time I turn off my computer, all my development datastore entities are removed. I…
Damien
  • 439
  • 5
  • 16
11
votes
2 answers

Proguard and Preference DataStore

I use proguard on my project which is used android DataStore. It worked fine without proguard. But when it is obfuscated with proguard the following error occured: java.lang.RuntimeException: Field preferences_ for f.k.k.h not found. Known fields…
AliSh
  • 10,085
  • 5
  • 44
  • 76
10
votes
2 answers

Cloud Firestore next generation of Cloud Datastore?

I find somewhat contradicting information from Google about which data storage solution I should use for my web app. Since I'm not too interested in using Mobile SDKs and like the server frameworks offered from Cloud Datastore, I would choose that…
10
votes
7 answers

Self hosted S3 alternative

I am looking for an S3 alternative which relies on a RESTful API, so that I can simply insert links such as http://datastore1.example.com/ID and they are directly downloadable. I have looked at RIAK and Bitcache. They both seem very nice:…
Thomaschaaf
  • 17,847
  • 32
  • 94
  • 128
9
votes
3 answers

How to keep version history of datastore entities in Appengine

I'm storing an Entity A in my datastore on appengine. A has an id of type Long. I'd like to keep a history of all changes made to A's fields. What are the best practices to doing this type of version ing on entities? I'd prefer a solution that works…
aloo
  • 5,331
  • 7
  • 55
  • 94
9
votes
2 answers

Saving several variables in a single RDS file

I want to pass a list of variables to saveRDS() to save their values, but instead it saves their names: variables <- c("A", "B", "C") saveRDS(variables, "file.R") it saves the single vector "variables". I also tried: save(variables,…
Mehdi Zare
  • 1,221
  • 1
  • 16
  • 32
9
votes
2 answers

Python: Save data in google cloud datastore emulator

I am trying to test google's cloud datastore locally. My test steps are: Crawl data using Scrapy Save data to the cloud datastore using local emulator I followed all the steps in order to use the local emulator start local emulator: gcloud beta…
JSNoob
  • 1,477
  • 2
  • 18
  • 31
8
votes
2 answers

How to implement Datastore in java based android app?

I can only find ways to implement datastore through Kotlin. I have tried creating it with DataStore datastore = new Datastore but as soon as proceed with it, it overrides to methods namely save and loadData but the…
1
2 3
64 65