Skip to Content
Google Cloud Platform for Developers
book

Google Cloud Platform for Developers

by Ted Hunter, Steven Porter
July 2018
Intermediate to advanced
506 pages
16h 2m
English
Packt Publishing
Content preview from Google Cloud Platform for Developers

Write operations

The Cloud Spanner SQL vocabulary does not include traditional DML operations such as INSERT, UPDATE, or DELETE. Instead, such operations must be performed using the Cloud Spanner APIs, usually through one of the many provided Cloud Spanner client libraries. The client specifies a number of mutations to be executed, where each mutation affects a single cell.

Cloud Spanner supports up to 20,000 mutations in a single transaction, and any affected indexes are counted in the total number of mutations. When a client performs a write operation, execution is automatically delegated to the leader. The leader then places a lock on the cells to be mutated, preventing other clients from reading or mutating this data until the transaction ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google Cloud Platform in Action

Google Cloud Platform in Action

John J. (JJ) Geewax
Google Cloud Platform for Architects

Google Cloud Platform for Architects

Vitthal Srinivasan, Loonycorn Ravi, Judy Raj

Publisher Resources

ISBN: 9781788837675Supplemental Content