Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Storing Data in Go

The App Engine environment provides multiple options to store data for your application:

  • App Engine Datastore: A schemaless object datastore with automatic caching, a sophisticated query engine, and atomic transactions.
  • Google Cloud SQL: A relational SQL database for your App Engine application, based on the familiar MySQL database.
Name Structure Consistency Cost
App Engine Datastore Schemaless Strongly consistent except when performing global queries. The App Engine Datastore offers a free quota with daily limits. Paid accounts offer unlimited storage, read, and write operations. More information is available on the Datastore Quotas page .
Google Cloud SQL Relational Strongly consistent Google offers two billing plans for Google Cloud SQL: Packages and Per Use. More information is available in the Cloud SQL price sheet .
Alternative storage solutions are also available, but they have been superseded by the options listed above.

App Engine Datastore

App Engine Datastore is a schemaless object datastore providing robust, scalable storage for your application, with the following features:

  • Highly reliable and covered by the App Engine SLA .
  • ACID transactions.
  • Advanced querying features .
  • High availability of reads and writes.
  • Strong consistency for reads and ancestor queries.
  • Eventual consistency for all other queries.

Google Cloud SQL

Google Cloud SQL is a web service that allows you to create, configure, and use relational databases that live in Google's cloud. It is a fully-managed service offering the capabilities of a MySQL database, allowing you to focus on application development.

For more information, see Google’s Cloud SQL Overview .

Alternative Storage Solutions

The following solutions are supported by App Engine, but they have been superseded by the options listed above.

  • Blobstore API: Google Cloud Storage is recommended over using the Blobstore API.
  • Authentication required

    You need to be signed in with Google+ to do that.

    Signing you in...

    Google Developers needs your permission to do that.