Upgrade RQM - database statistics
the interactive upgrade guide says:
"Before you start the Quality Management application upgrade, run statistics to update the database tables. Otherwise, the migration might take several hours.
The following tables must contain up-to-date database statistics:
- REPOSITORY.ITEM_STATES
- REPOSITORY.ITEM_CURRENTS
- REPOSITORY.ITEM_TYPES
- LINKS.AUDITABLE_LINK"
As it is not possible (in real life), to have the Oracle administrators at my side when I'm running a RQM update some questions:
Is it suitable to update those statistics some days before the update takes place?
When are those statistics updated in a common Oracle DB with a common RQM application?
Is there a more accurate description of what to do with the DBMS_STATS command? Just setting a link to a long long man page is inadequately I think.
greetings georg.
Accepted answer
But back to the main point - the up to date statistics are needed for an online migration.
Any reason why you decided to run an online migration vs. offline?
You can run the migration estimation command to see if an online or offline upgrade is recommended for your repository. We do list some testing matrix information on our wiki - https://jazz.net/wiki/bin/view/Deployment/RationalQualityManagerOnlineMigrationTestMatrix
Note that in the above cases we only recommend to use the online for the 350 GB DB.
Comments
Well, if the up to date statistics are needed only for the online migration, why is this topic mentioned in the offline guide? ;-)
@g_kellner has a good point. The information about statistics is mentioned in offline guide. Is it really needed?