We have recently migrated our Pega application Database (Pega Infinity 24.1.1) from DB2 to PostgreSQL without reinstalling Pega. We used the generateDDL.sh script from the current Pega installation directory to generate DDL for the Pega system DB objects, created these objects in PostgreSQL using those DDLs, and migrated the data for these Pega system tables from DB2 to PostgreSQL.
We then updated the database properties file with PostgreSQL database details, made required database changes in the webfarm configuration, and after redeploying the application, successfully connected to the new PostgreSQL database from Pega. The application functionalities are working fine.
However, we would like to know if there are any potential risks or issues with this approach, given that we skipped the fresh Pega installation for this database migration, or if the approach we have followed is sufficient for the DB migration, as we have not observed any issues so far.