Skip to main content
T-UCS-IOfficial Google Curriculum

Understanding Cloud Spanner

3 daysILTIntermediateLoading...

Overview

In this course, you learn about Cloud Spanner. You will get an introduction to Cloud Spanner and understand how it differs from other database products. You also learn when and how to use Cloud Spanner to solve your relational database needs at scale.

What You'll Learn

  • Build scalable, managed, relational databases by using Cloud Spanner
  • Create and manage Cloud Spanner databases by using the CLI, Terraform, Python API, and the Google Cloud console
  • Program and run queries and transactions by using the Cloud Spanner API
  • Integrate Cloud Spanner with applications

Who Should Attend

Customers

Prerequisites

Some prior Google Cloud experience at the fundamental level and experience with relational databases, the SQL language, and some programming are assumed.

Products Covered

Cloud SpannerCloud FunctionsCloud RunDataflow

Course Modules

1

The Need for Spanner

Topics

  • What is Spanner?
  • Spanner and the CAP Theorem
  • History of Spanner
  • Cloud Spanner Use Cases

Learning Outcomes

  • Explain the core concepts and features of Cloud Spanner
  • Understand how Cloud Spanner fits in the CAP theorem
  • Describe the history of Cloud Spanner
  • Explain Cloud Spanner use cases
2

Getting Started with Spanner

Topics

  • Planning Spanner Instances
  • Automating Instance Creating
  • Creating Databases in Spanner

Learning Outcomes

  • Architect Cloud Spanner instances based on location, capacity, availability, and cost
  • Create Spanner instances by using the Google Cloud console, Google Cloud CLI, and Terraform
  • Create Spanner databases by using SQL

Activities

Lab: Creating Spanner Instances and Databases (Console)Lab: Creating Spanner Instances and Databases (CLI and Terraform)
3

Optimizing Spanner Schemas

Topics

  • Spanner Architecture
  • Choosing Primary Keys
  • Defining Database Schemas in Spanner
  • Understanding Interleaving and Foreign Keys
  • Understanding Secondary Indexes

Learning Outcomes

  • Optimize schemas for Spanner architecture
  • Choose appropriate primary keys
  • Manage relationships with primary and foreign keys and with interleaved tables

Activities

Lab: Choosing Primary KeysLab: Managing relationships with Foreign Keys and Interleaved Tables
4

Programming Spanner Applications, Queries, and Transactions

Topics

  • Authentication and Authorization
  • Using the Spanner Client Libraries
  • Running Queries
  • Managing Transactions

Learning Outcomes

  • Authenticate users and applications that access Spanner databases using Identity Access Management
  • Program Spanner applications using Google Cloud client libraries and Python
  • Optimize queries using strong reads, stale reads, and indexes
  • Manage transactions in Spanner

Activities

Lab: Programming Spanner Applications with PythonLab: Running Queries and Transactions
5

Deploying Spanner Applications

Topics

  • Using Spanner from Applications
  • Building Data Pipelines into and out of Spanner

Learning Outcomes

  • Deploy Spanner applications to Google Cloud serverless runtimes
  • Migrate data to and from Cloud Spanner by using Dataflow jobs and Apache Beam

Activities

Lab: Deploying Spanner Applications with Cloud Functions and Cloud RunLab: Migrating Data to and from Spanner with Dataflow
6

Spanner Administration

Topics

  • Managing your Data in Spanner
  • Managing Change Operations

Learning Outcomes

  • Administer Cloud Spanner instances
  • Backup, restore, import, and export data
  • Modify database schemas with no downtime
  • Monitor your Cloud Spanner databases and applications

Activities

Lab: Reconciling Account Data with Cloud Spanner Change StreamsLab: Leverage the Autoscaler Tool for Cloud Spanner to Achieve Workload Elasticity
7

Spanner Best Practices

Topics

  • Spanner Best Practices
  • Challenge Lab

Learning Outcomes

  • Review best practices for using Cloud Spanner

Activities

Challenge Lab: Administering a Spanner Database

Get This Training

No public classes currently scheduled. Express interest below or request private training.

Request Private Session

Course Details

Course Code
T-UCS-I
Duration
3 days
Format
ILT
Level
Intermediate
Modules
7
Activities
10
Price
Loading...
View Official Google Datasheet →

Questions About This Course?

Contact us for custom scheduling, group discounts, or curriculum customization.

Contact Us
Starting fromLoading...