GoogleCloudPlatform/spanner-migration-tool

Defer secondary index creation based on flag

Open

#292 opened on May 9, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)PLpgSQL (81 forks)auto 404
good first issue

Repository metrics

Stars
 (152 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently, we create secondary indexes with the schema before hand. We want to add a flag so that it can be deferred and created after data migration is complete. This is useful when the number of secondary indexes are very high and creating them before can slow down the data migration.

Contributor guide