Search code examples
amazon-dynamodbdatabase-migrationdbmigratescylladynamo-local

ScyllaDB - DynamoDB Migration


Agenda- Migrate DynamoDB tables to ScyllaDB (Schema as well as data)

Does the Scylla-Migrator - https://github.com/scylladb/scylla-migrator can migrate the table schema as well, or I have to create the exact schema in my ScyllaDB and then it can just migrate the data?


Solution

  • you need to create the keyspace and table in remote cluster, migrator can map old table to new table layout if needed.

    The reason why we don't migrate schema automagically is that most of times you want to have it different (e.g. different compactions strategy, or new columns) and then having this as manual step makes sure you can review your schema before using it.

    That said I think it makes sense to ask for a special flag that will just migrate old schema for you to new cluster - https://github.com/scylladb/scylla-migrator/issues - can you file it there?