Advanced workflow settings
Workflows now supports several new advanced options.
- Defer secondary index creation: Enable this to dramatically decrease the time required to copy data into the new keyspace.
- DDL handling: Define how Vitess responds to schema changes made to the source keyspace while the workflow is running.
- Global keyspace: Choose an unsharded keyspace where sequence tables will be automatically created for workflow tables that contain
AUTO_INCREMENT
primary indexes.
If you're familiar with Vitess, these options map to the --defer-secondary-keys
, --on-ddl
, and --global-keyspace
parameters to MoveTables.
Learn more in our Workflows documentation and Sharding quickstart.