Skip to main content

Upgrade Execution Hang During enable_rowkey.SQL – Resolution [Apps10 to 24R2]


Dilshan Aththanayake
Sidekick (Employee)
Forum|alt.badge.img+5

Hello everyone,

  • I wanted to share an issue we encountered during an upgrade from IFS Apps10 to IFS Cloud 24R2SU3, which might help others facing a similar challenge.

Issue Description:

 

The upgrade process was hanging during the execution of enable_rowkey.SQL. Additionally, the _deploy.log file showed no updates beyond a certain point, and the process appeared stalled for about 1 day.

 

Root Cause:

 

We discovered that the Container Database (CDB) had the parameter job_queue_processes set to 0. This setting effectively disables all background job processing in the entire multitenant database, including all pluggable databases (PDBs), causing the upgrade jobs to stall indefinitely.

 

Resolution Steps:

  1. Connect to the CDB as the SYS user.

  2. Set a non-zero value for job_queue_processes in the CDB. For example;

 

ALTER SYSTEM SET job_queue_processes = 10 SCOPE=BOTH;

 

3.) Monitor the _enable_rowkey.log file - the process should start progressing gradually.

4.) The upgrade then completed successfully without further issues.

 

Notes:

 

  • If the job_queue_processes parameter is set to 0 in the CDB root (CDB$ROOT), it will effectively disable all DBMS_JOB and Oracle Scheduler jobs in the entire multitenant database, including all pluggable databases (PDBs), regardless of their individual job_queue_processes settings.

 

  • job_queue_processes controls the maximum number of job worker processes for DBMS_JOB and Oracle Scheduler jobs in the database.

  • In a multitenant environment:

    • The CDB root's job_queue_processes acts as a global cap.

    • If it is set to 0no jobs can run anywhere in the CDB or any PDB, even if PDBs have non-zero values.

    • Oracle recommends setting the CDB root job_queue_processes to at least twice the number of open containers to avoid starvation of jobs across PDBs.

BR!

/Dilshan

3 replies

Darshana Herath
Hero (Former Employee)
Forum|alt.badge.img+14

Thank you for sharing.


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 57 replies
  • May 1, 2025

Hi ​@Dilshan Aththanayake,

During an IFS upgrade, it is important to ensure that the job_queue_processes parameter is set to a value greater than 0 (e.g., 20) in the CDB, and set to 0 in the PDB.

If I recall correctly, this requirement is also noted in the IFS Technical Upgrade Task List.



 


Dilshan Aththanayake
Sidekick (Employee)
Forum|alt.badge.img+5

Hello ​@HashanD ;

  • Yes, exactly.
  • In this case, the job_queue_processes parameter was changed to 0 by the customer [remote upgrade] after the pre-upgrade checks were completed. This unexpected change caused the issue.

BR!
/Dilshan


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings