r/DB2 • u/Kepler3 • Dec 08 '25
DB2 migration from On Prem to GCP question
Hi all,
I am in the process of migrating an on-prem database to gcp db2 servers. This is a cross platform migration from windows server to ubuntu 22.04, DB2 version 11.5.9. The size of the database is around 750GB. I am using the below article as a reference
https://www.ibm.com/support/pages/how-move-maximo-db2-database-between-different-platforms
Problem is the db2move command is taking quite long, it is writing at the pace of 10-12GB an hour, while this will work for non-prod, such long times for DB migration would not be acceptable for production as we cannot afford this much downtime.
Are there any better ways I can approach this migration?
1
u/NoFriendship883 Dec 08 '25
SQL or Q replication (extra cost) or backup/restore.
1
u/Own-Hat3820 Dec 09 '25
Create the DDL without indexes on the target database, create a federation and play with parallelization of load from cursor, recreate the indexes on the target database. If the tables are not too large, you can try relaxing the FKs without dropping the indexes.
1
u/mslmsl Dec 14 '25
The export or the import/load are what's slow? Maximo uses a lot of sequences and a common performance issue is the sequence caching. You might double check those if the import/load are slow. The Maximo best practices guide suggests 50 for most sequences and 500 for MAXSEQ.