BT

Facilitating the spread of knowledge and innovation in professional software development

Contribute

Topics

Choose your language

InfoQ Homepage News Google Bolsters Cloud Spanner with Point-in-Time Recovery

Google Bolsters Cloud Spanner with Point-in-Time Recovery

This item in japanese

Bookmarks

Google recently released a point-in-time-recovery feature for its Cloud Spanner database. The new capability aims to help protect against accidental data loss and corruption.

Cloud Spanner is a distributed, relational database service on the Google Cloud Platform (GCP). The service combines global scale with ACID compliance using physical hardware clocks found in Google’s data centers. This configuration aims to log reads and writes to all instances with a consistent timestampand deliver a consistent notion of time across all instances.

Google added backup and restore capabilities for Cloud Spanner in May 2020. The new point-in-time recovery (PITR) features seek to provide users more granular control over data recovery processes.

Users may configure a version retention period to keep versions of data and schema for Spanner instances. They may specify a version retention period from a minimum of one hour to a maximum of seven days.

Source: https://cloud.google.com/blog/products/databases/continuous-data-protection-here-for-spanner-with-pitr 

In the event of unwanted data loss, users can opt to recover the complete database or to restore specific portions of the database.

The enhanced lifecycle management features for Cloud Spanner come amid increasing investment in cloud databases.

Gartner recently predicted that "by 2022, 75% of all databases will be deployed or migrated to a cloud platform, with only 5% ever considered for repatriation to on-premises."

Microsoft’s Azure Cosmos DB, a service often compared to Cloud Spanner, captures automated backups in regular intervals and at user-defined points in time. Users may request a restore of a Cosmos DB instance via a support ticket. A continuous backup feature for Cosmos DB is in public preview.

Amazon Aurora Serverless v1, a database recommended for low-traffic and testing environments, offers point-in-time recovery for instances "to any second during your retention period, up to the last five minutes."

Aurora Serverless v2, designed for business critical workloads, is in preview. According to the product’s website, it offers similar point-in-time recovery capabilities compared to Aurora Serverless v1.

PITR for Cloud Spanner is available in all Google managed regions. Users are charged for the storage consumed by hosting the versions of the data and schema during the version retention period. Additional information about PITR can be found in the documentation.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.