[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/spanner/docs/databoost/databoost-export [Back]  [Original]

Export data with Data Boost  |  Spanner  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Export data with Data Boost Stay organized with collections Save and categorize content based on your preferences.

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

To learn about Data Boost, see Data Boost overview.

You can export data by using the Export data page in the Spanner console, or by using a Dataflow template.

Before you begin

Ensure that you have the spanner.databases.useDataBoost Identity and Access Management (IAM) permission. For more information, see Access 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 in Export databases from Spanner to Avro.

  2. Select the Use 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 the Console instructions under Run the template.

  3. On the Create job from template page, under Optional parameters, enter true in the Use Spanner Data Boost field.

gcloud CLI

  1. Go to one of the following pages:

  2. Follow the gloud instructions under Run the template.

  3. Add the following parameter to the command:

    dataBoostEnabled=true
    

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

    gcloud dataflow jobs run my_export_job \
    --gcs-location gs://dataflow-templates/latest/Cloud_Spanner_to_GCS_Avro \
    --region us-central1 \
    --staging-location gs://mybucket/temp \
    --parameters \
    instanceId=my_instance,\
    databaseId=my_database,\
    outputDir=gs://mybucket/export \
    dataBoostEnabled=true

What's next

Send feedback

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

Last updated 2026-08-11 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page