Questions tagged [google-cloud-datastore]

Google Cloud Datastore is a scalable, fully-managed NoSQL document database for web and mobile applications.

Google Cloud Datastore is a scalable, fully-managed NoSQL document database for web and mobile applications. It offers the following features:

  • built-in query support: flexible query functionality that allows you to search for and filter result sets
  • ACID transactions: data consistency (both Strong and Eventual) that spans multiple replicas across multiple geos
  • automatic scaling: built on top of Google’s Bigtable infrastructure, Cloud Datastore will automatically scale with your data
  • high availability: by utilizing Google’s underlying Megastore service, Cloud Datastore ensures that data is replicated across multiple geos and is always available
  • local development environment: Cloud Datastore SDK provides a local environment that allows you to develop, iterate, and manage your Cloud Datastore instances efficiently

Stack Overflow is Google's official community support channel for development questions.

Please include the appropriate client library language tag (, , , , or ) with your question. You can also include the platform tag (, , or ).

7191 questions
388
votes
8 answers

What database does Google use?

Is it Oracle or MySQL or something they have built themselves?
solrevdev
  • 8,863
  • 11
  • 41
  • 49
185
votes
8 answers

How to think in data stores instead of databases?

As an example, Google App Engine uses Google Datastore, not a standard database, to store data. Does anybody have any tips for using Google Datastore instead of databases? It seems I've trained my mind to think 100% in object relationships that…
Jim
  • 11,229
  • 20
  • 79
  • 114
155
votes
9 answers

Google Cloud Bigtable vs Google Cloud Datastore

What is the difference between Google Cloud Bigtable and Google Cloud Datastore / App Engine datastore, and what are the main practical advantages/disadvantages? AFAIK Cloud Datastore is build on top of Bigtable.
125
votes
12 answers

Google App Engine: Is it possible to do a Gql LIKE query?

Simple one really. In SQL, if I want to search a text field for a couple of characters, I can do: SELECT blah FROM blah WHERE blah LIKE '%text%' The documentation for App Engine makes no mention of how to achieve this, but surely it's a common…
littlecharva
  • 4,224
  • 8
  • 45
  • 52
124
votes
30 answers

How to delete all datastore in Google App Engine?

Does anyone know how to delete all datastore in Google App Engine?
manman
87
votes
7 answers

How to browse local Java App Engine datastore?

It seems there is no equivalent of Python App Engine's _ah/admin for the Java implementation of Google App Engine. Is there a manual way I can browse the datastore? Where are the files to be found on my machine? (I am using the App Engine plugin…
Jim Blackler
  • 22,946
  • 12
  • 85
  • 101
75
votes
5 answers

How do I query in GQL using the entity key

How do I write a query against the entity key using GQL in the Google App Engine Data Viewer ? In the viewer, the first column (Id/Name) displays as name=_1, in the detail view it shows the key as Decoded entity key: Programme: name=_1 Entity key:…
Thilo
  • 257,207
  • 101
  • 511
  • 656
62
votes
4 answers

Best practice to query large number of ndb entities from datastore

I have run into an interesting limit with the App Engine datastore. I am creating a handler to help us analyze some usage data on one of our production servers. To perform the analysis I need to query and summarize 10,000+ entities pulled from the…
Allen
  • 3,134
  • 5
  • 29
  • 49
52
votes
16 answers

How to fetch more than 1000?

How can I fetch more than 1000 record from data store and put all in one single list to pass to django?
Zote
  • 5,343
  • 5
  • 41
  • 43
49
votes
7 answers

Secure Google Cloud Functions http trigger with auth

I am trying out Google Cloud Functions today following this guide: https://cloud.google.com/functions/docs/quickstart I created a function with an HTTP trigger, and was able to perform a POST request to trigger a function to write to Datastore. I…
40
votes
7 answers

Copy an entity in Google App Engine datastore in Python without knowing property names at 'compile' time

In a Python Google App Engine app I'm writing, I have an entity stored in the datastore that I need to retrieve, make an exact copy of it (with the exception of the key), and then put this entity back in. How should I do this? In particular, are…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
33
votes
7 answers

How do I delete all entities from my local Google App-engine datastore?

How can I remove all entities or reset the local datastore on my dev_appserver? I accidentally recursively called a function to create an entity when testing. I am using the Google App-engine SDK on Vista with Python.
Jason Rikard
  • 1,329
  • 1
  • 14
  • 23
32
votes
2 answers

How do I define a unique property for a Model in Google App Engine?

I need some properties to be unique. How can I achieve this? Is there something like unique=True? I'm using Google App Engine for Python.
Alex Bolotov
  • 8,781
  • 9
  • 53
  • 57
31
votes
4 answers

Webservice credentials - OpenID/Android AccountManager?

I'm building a webservice and would like to use the user's google account credentials. The service runs on GAE and will have a web client and an Android native client. This is my first attempt of something like this and I've been reading about…
Tomer Weller
  • 2,812
  • 3
  • 26
  • 26
30
votes
1 answer

Price aside, why ever choose Google Cloud Bigtable over Google Cloud Datastore?

If I have a use case for both huge data storage and searchability, why would I ever choose Google Cloud Bigtable over Google Cloud Datastore? I've seen a few questions on SO and other sides "comparing" Bigtable and Datastore, but it seems to boil…
1
2 3
99 100