Question
Maximus
US
Last activity: 7 Aug 2023 10:34 EDT
What is significance of temporary data schema in single out-of-place approach in 8.5
Hi Team,
We are planning to upgrade our pega application to 8.5.2 version(tomcat server,oracle database). While we were going through upgrade guide document, for single migration out-of-place approach, a temporary data schema creation step is introduced. Please find below statement copied from guide.
Upgrade guide: A temporary data schema (Dtmp) – a schema you create on the same database for temporarily staging the data during the upgrade. You discard this schema after the upgrade.
When we compare the section "Generating and applying DDL in an out-of-place upgrade for single migration", for the parameters we update in migrateSystem, setdatabase property files, we do not see that new "temporary data schema " mentioned any where in these two files.
Could you please help us understanding where this temp data schema is used and at which step. Please share more details.
Thanks
Deepa
Hi Deepa,
There won't be option to configure temporary data schema in both migratesystem.properties and setupdatabase.properties files. I believe the following steps will clarify your query.
Single out of place migration approach in 8.5.2.
1. Create new rules(Rnew) and data (Dtemp) in the existing oracle database. Assume the existing rules and data schema names are Rules and Data.
2. Migrate contents from existing rules and data schemas to newly created schemas.
Rules --> Rnew
Data --> Dtemp.
3. Perform in-place upgrade of newly created rules and data schema. (Rnew and Dtemp). Because there is no rules only upgrade option.
4. Migrate custom db objects (triggers, views, procedures ) from existing rules schema to new rules schema.
Rules --> (DB objects) -> Rnew.
5. Perform data only upgrade of existing data schema Data by configuring rule schema as Rnew and data schema as Data.
6. Reconfigure the application server to point to new rules schema Rnew and existing data schema Data.
7. Delete old rules schema Rules and temporary data schema Dtemp.
Thanks,