Export data with Data Boost

This page explains how to use Spanner Data Boost to export Spannerdata with near-zero impact to existing workloads on the provisionedSpanner instance.

To learn about Data Boost,seeData Boost overview.

You can export data by using theExport data page in theSpanner console, or by using a Dataflowtemplate.

Before you begin

Ensure that you have thespanner.databases.useDataBoost Identity and Access Management (IAM)permission. For more information, seeAccess control with IAM.

Export data by using the Spanner console

To export data in Avro format by using the Spanner console:

  1. Follow the instructions inExport databases from Spanner to Avro.

  2. Select theUse Spanner Data Boost checkbox.

To export data in CSV format:

Export data by using Dataflow templates

To run Dataflow exports with Data Boost,select one of the following options:

Console

  1. Go to one of the following pages:

  2. Follow theConsole instructions underRun the template.

  3. On theCreate job from template page, underOptional parameters,entertrue in theUse Spanner Data Boost field.

gcloud CLI

  1. Go to one of the following pages:

  2. Follow thegloud instructions underRun the template.

  3. Add the following parameter to the command:

    dataBoostEnabled=true

    The following example runs the Spanner to Cloud Storage Avrotemplate and specifies the use of Data Boost.

    gclouddataflowjobsrunmy_export_job\--gcs-locationgs://dataflow-templates/latest/Cloud_Spanner_to_GCS_Avro\--regionus-central1\--staging-locationgs://mybucket/temp\--parameters\instanceId=my_instance,\databaseId=my_database,\outputDir=gs://mybucket/export\dataBoostEnabled=true

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.