Issues and Suggestions
Spanner migration tool scans through the generated spanner schema and notifies the user of any warnings or errors encountered. It also makes intelligent suggestions to the user which would help them utilize the spanner capabilities to the fullest.
Table of contents
Warnings
- Detection of an auto-increment key in source database because auto-increments are currently not supported for all source databases.
- Spanner data type consuming more storage than source data type
- Redundant indexes
- Addition of synthetic primary key - synth_id
- Hotspotting due to timestamp or auto-increment keys
- Auto Increment has been converted to Sequence, set Ignore Range or Start with Counter to avoid duplicate value errors
- Dropping unsupported default values during schema migration.
- Detection of invalid default values in spanner added during column modification.
- Dropping of unsupported check constraints in spanner.
- Dropping check constraints if there is a data type mismatch in the referenced column.
- Dropping check constraints if there is referenced column in check constraints not found.
- Dropping check constraints if there is function referenced in check constraints is not found.
Errors
- Detection of unsupported check constraints in spanner.
- Data type mismatch of referenced column in check constraints.
- Referenced column in check constraints not found.
- Function referenced in check constraints is not found.
Suggestions
- Modifications related to converting a table into an interleaved one
- Converting an index to interleaved index