Choosing a Storage Option

There are multiple options for storing data in your App Engine application:

Name Structure Consistency Cost
Google Cloud Datastore Schemaless (NoSQL) Strongly consistent except when performing global queries. The Google Cloud 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 (MySQL compatible) 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.
Google Cloud Storage Files and their associated metadata (Cloud file storage) Strongly consistent except when performing list operations that get a list of buckets or objects. There are no charges associated with making calls to Google Cloud Storage. However, any data stored in Google Cloud Storage is charged the usual Google Cloud Storage data storage fees.

Cloud Storage prices are available on the Cloud Storage price sheet.

These options are not mutually exclusive. For example, the same application can store information in a Cloud SQL database, and also store files in a Cloud Storage bucket.

Third-party databases

You can also choose from a variety of third-party databases to use with your applications such as Redis, MongoDB, PostgreSQL, Cassandra, and Hadoop. Any third-party database supported by your language can be used with your App Engine instance, provided the two can connect to each other.

Read more about connecting to third party databases.

Superseded storage solutions

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

  • DB Datastore: DB Datastore framework has been replaced with the NDB Datastore framework, which features automatic caching, and support for sophisticated queries and atomic transactions.
  • Blobstore API: Google Cloud Storage is recommended over using the Blobstore API.
Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...

App Engine standard environment for Python 2