Troubleshooting a Never-Ending Concurrent Program in Oracle EBS 12.2 – My Real-Time Experience

 Recently, while working on our Oracle E-Business Suite 12.2 environment, I encountered an interesting issue that I thought was worth sharing.

The Problem

A few of our custom concurrent programs were not completing. They were running forever, with no errors in the log files and no obvious clues in the usual diagnostic areas.

Like most DBAs would do, I checked:

  • Concurrent request log and output – nothing unusual.

  • Database session waits – nothing conclusive.

  • Trace files – no errors.

Eventually, I raised an Oracle SR to get assistance, but even after multiple attempts, we couldn’t pinpoint the issue.

The Breakthrough

Finally, I decided to take a different approach. I used the strace command on the Linux OS to trace the system calls of the concurrent program's process ID (PID).

What I saw was eye-opening — the process was generating a large number of file-related system calls, and one particular line caught my attention:

It was trying to write temporary files to a production directory path that did not exist in the cloned test server!

Root Cause

On further investigation, I discovered that the $APPLLKOR environment variable was pointing to a non-existing directory:

/usr/tmp/prod

This was a leftover from the production environment after the test instance was cloned. Since the directory did not exist on the test server, the concurrent programs were unable to write the required temporary files and got stuck.

The Fix

I corrected the $APPLLKOR variable in the environment file to point to a valid directory on the test server. After making this change, I restarted the EBS application services.

Immediately, the concurrent programs that were stuck started completing successfully!

Key Takeaways

  • Think beyond EBS and DB logs – sometimes the issue is at the OS or filesystem level.

  • strace is a powerful tool – it can reveal exactly what the process is trying to do at the system call level.

  • Post-clone checks are critical – always verify environment variables and directory structures after cloning from production.

This experience reinforced for me that troubleshooting sometimes requires going one level deeper and thinking outside the usual EBS framework.

OCI Home Region Explained: Identity Domains & Service Access

Oracle Cloud Infrastructure (OCI) uses the concept of a Home Region for identity management, service access, and global policy enforcement. Knowing what this means, how it works, and how it affects your environment is critical.


πŸ›  What is the Home Region?

  • When you set up an OCI tenancy, Oracle assigns you a Home Region. This is where your Identity and Access Management (IAM) resources—users, groups, policies, compartments, dynamic groups—are defined and managed. 

  • Once set, the Home Region for your tenancy cannot be changed. 

  • Even if you operate services in other regions, your IAM resource definitions always live in the Home Region. When you make changes (to policies, groups etc.), those changes happen in the Home Region and then get propagated to other subscribed regions. 


🌐 How It Impacts Identity Domains & Access

  • Identity Domains Creation: When you create an identity domain in the Console, the region you select becomes its Home Region. The identity domain’s configurations and roles live there. 

  • Policy Enforcement Across Regions: IAM policies defined in your Home Region are enforced in all regions you subscribe to. Even though the IAM resource definitions are centralized, their effects are global.

  • Updates & Replication Delay: Because IAM resource updates are made in the Home Region, it may take a few minutes before those updates reflect across other regions. 


✅ What This Means for You

  • Plan Your Home Region Carefully: Since it cannot be changed later, choose the most strategic region—consider latency, compliance, data sovereignty, etc.

  • Know Where to Make IAM Changes: Always use the Home Region endpoint for API / SDK calls when modifying IAM resources. Even though you may be in another region, the changes happen in the Home Region. 

  • Policy Design With Global Scope: Design IAM policies expecting that they will apply in other regions as well. If you need region-specific controls, explicitly define them.

  • Identity Domain Awareness: If using multiple identity domains (including non-default ones), know which region is their Home Region, how replication works, and what control you have over region access. 


🧭 Bottom Line

OCI’s Home Region is more than just geographic—it’s the central authority for your identity, access, and policy definitions. It’s where your IAM is born and governed. Even though services may run in many regions, identity stays anchored at the Home Region—this ensures centralized control, consistency, and security.

Schedule an In-Place Upgrade to Oracle Database 23ai on Autonomous Database

 

Oracle Autonomous Database now supports in-place upgrades from Oracle Database 19c to 23ai using scheduled upgrades—a seamless, automated process tailored for modern cloud environments.

Upgrade Options Available:

  • Scheduled Upgrade
    Define your preferred time, and the upgrade process runs automatically—no manual steps needed.

  • Full Clone Upgrade
    Create a full clone of your 19c database and select 23ai during the clone setup to instantiate a new, upgraded instance.

  • Refreshable Clone Upgrade
    Similar to a full clone but allows ongoing synchronization between the 19c source and 23ai clone—ideal for ensuring minimal downtime and continuous updates.


At a Glance

Upgrade Method Description
Scheduled Upgrade     Automated upgrade of an existing 19c Autonomous DB.
Full Clone                         Creates a brand-new 23ai clone from 19c.
Refreshable Clone Creates a 23ai clone that syncs with the source 19c DB.

Upgrading to Oracle Database 23ai on Autonomous Database has never been more straightforward. Whether you choose a scheduled upgrade or cloning, you control the transition timing and method with minimal disruption.

Create Customer Secret Keys in OCI

 Step 1:

Login to OCI console and click top right on user, User Settings -> Tokens and keys



Click on customer secret keys -> Generate Secret Keys

Upon creation, you have to copy the secret keys and store it somewhere as once you close it, it wont show again.


Upon closing, you can get the Access key also.




Real-Time SQL Monitoring in Oracle Database: Key Facts


Real-Time SQL Monitoring is a powerful feature that provides detailed insights into SQL execution, helping DBAs identify performance bottlenecks and optimize queries efficiently. But before using it, there are some important licensing considerations.

πŸ”‘ Licensing Requirements

  • Requires the Oracle Tuning Pack.

  • The Oracle Diagnostics Pack is a prerequisite for the Tuning Pack.

  • Both packs must be licensed, and they are only available with the Enterprise Edition of the Oracle Database.

πŸ“Š When Does SQL Monitoring Trigger?

SQL statements are automatically monitored when:

  • A single execution consumes more than 5 seconds of CPU or I/O time.

  • The SQL uses parallel execution (DML, DDL, or queries).


✅ In short: Real-Time SQL Monitoring is an Enterprise Edition-only feature requiring additional licenses, and it kicks in automatically for resource-intensive or parallel SQL operations.


OCI File Storage with Lustre: High-Performance, Managed File System for AI

Oracle Cloud Infrastructure (OCI) offers File Storage with Lustre—a fully managed, high-performance file system tailored for demanding workloads such as AI, machine learning, and high-performance computing (HPC).

Key Highlights:

  • Fully Managed Infrastructure
    OCI handles deployment, maintenance, scaling, and management of Lustre components—including metadata servers, management servers, and storage servers—letting you focus on your applications, not infrastructure. 

  • Parallel and Distributed Architecture
    Designed for massive data volumes, this system delivers high aggregate throughput by distributing I/O workload across server components. 

  • Performance Tiers for Flexibility
    Choose from different bandwidth configurations:

    • 125 MB/s per TiB (1 Gbps)

    • 250 MB/s per TiB (2 Gbps)

    • 500 MB/s per TiB (4 Gbps)

    • 1000 MB/s per TiB (8 Gbps)
      Administrators can also tweak performance using Lustre's lfs tools, including features like file striping and Progressive File Layout (PFL). 

  • Client Compatibility
    OCI supports Lustre version 2.15.5. Compatible client environments include:

    • Ubuntu 22.04 (kernel 5.15.x)

    • Oracle Linux 8 (RHCK 4.18)

  • Global Availability
    This service is available across multiple OCI regions (at the time of writing this blog) —such as Sydney, Frankfurt, SΓ£o Paulo, MontrΓ©al, Tokyo, Amsterdam, and more—ensuring localized access and compliance. 


Bottom Line:


OCI File Storage with Lustre provides a scalable, high-throughput file system custom-built for data-intensive workloads. With its fully managed infrastructure and multiple performance configurations, it’s an ideal fit for running AI training jobs which needs high performance computing needs.

Understanding V$SESSION_LONGOPS in Oracle Database

 In Oracle Database, V$SESSION_LONGOPS is a dynamic performance view available in every database release.

It provides visibility into the status of certain long-running operations—typically those that take more than 6 seconds to complete. Examples include:

  • Backup and recovery processes

  • Statistics gathering

  • SQL query executions

The set of operations tracked is determined entirely by Oracle—DBAs cannot influence which operations are monitored.

By querying V$SESSION_LONGOPS, you can get progress updates, elapsed time, and estimated completion time for operations Oracle chooses to track.

The following query displays operation details, progress percentage, and remaining time:

SELECT opname,

       username,

       sql_fulltext,

       TO_CHAR(start_time,'DD-MON-YYYY HH24:MI:SS') AS start_time,

       (sofar/totalwork)*100 AS "%_complete",

       time_remaining,

       s.con_id

FROM   v$session_longops s

       INNER JOIN v$sql sl USING (sql_id)

WHERE  time_remaining > 0;




Oracle Linux: Introduction to CPU Hotplug (Quick Summary)

CPU Hotplug in Oracle Linux allows you to dynamically enable or disable CPU cores in a running system—without requiring a reboot. This is especially useful in virtualized and cloud environments where workloads fluctuate.

πŸ” Key Points:

  • Hotplug Support is included in the Unbreakable Enterprise Kernel (UEK) and enabled by default.

  • πŸ› ️ You can manage CPU state using simple sysfs commands:

    echo 0 > /sys/devices/system/cpu/cpuX/online  # offline
    echo 1 > /sys/devices/system/cpu/cpuX/online  # online
    
  • πŸ”’ Security-conscious systems can restrict CPU hotplug operations using procfs and system security modules like SELinux or AppArmor.

  • πŸ’‘ Useful for performance tuning, resource scaling, and testing failover behavior without downtime.


Bottom Line:
CPU Hotplug gives administrators more control and flexibility over CPU resource allocation—supporting smarter, dynamic infrastructure management in Oracle Linux.

πŸ‘‰ Full Blog Here


Running out of tablespace? Let automation handle it!


In mission-critical Oracle environments, tablespace full alerts can cause major disruptions if not addressed in time. Manually managing these situations isn’t scalable.

πŸ’‘ This Oracle blog post walks through how to automatically respond to tablespace full alerts using Corrective Actions in Oracle Enterprise Manager.

πŸ”§ Highlights:

  • Real-world use case: Handling tablespace full scenarios automatically

  • Setup guide for defining and enabling corrective actions

  • Custom script that auto-extends tablespaces

  • Helps avoid downtime and manual interventions

πŸ“Š Ideal for DBAs looking to operationalize resilience in Oracle environments.


Planning Your Oracle Certification Path for Race to Certification 2025?

Here’s a curated list of Oracle Cloud and Data certifications to help you complete Levels 1, 2, and 3 – and potentially earn up to 7 free exam attempts! πŸŽ“πŸ§ 


Below certifications has 15 Free Attempts:


  • Oracle Cloud Infrastructure 2025 AI Foundations Associate (1Z0-1122-25)

  • Oracle Cloud Infrastructure 2025 Foundations Associate (1Z0-1085-25)

  • Oracle Data Platform 2025 Foundations Associate (1Z0-1195-25)

🟒 Each of the above has 15 free attempts—great way to build confidence and progress quickly!


πŸ’Ό Intermediate to Advanced Certifications:

Certification Code
OCI Generative AI Professional 1Z0-1127-25
Oracle AI Vector Search Professional 1Z0-184-25
OCI Data Science Professional 1Z0-1110-25
OCI Architect Associate 1Z0-1072-25
OCI Migration Architect Professional 1Z0-1123-25
OCI Networking Professional 1Z0-1124-25
OCI Developer Professional 1Z0-1084-25
OCI DevOps Professional 1Z0-1109-25
OCI App Integration Professional 1Z0-1042-25
OCI Observability Professional 1Z0-1111-25
Oracle Redwood App Developer Associate 1Z0-1114-25
OCI Multicloud Architect Professional 1Z0-1151-25
Autonomous DB Cloud Professional 1Z0-931-25
Cloud DB Services Professional 1Z0-1093-25
APEX Cloud Developer Professional 1Z0-771
Oracle Analytics Cloud Professional 1Z0-1041-25
MySQL HeatWave Implementation Associate – Rel 1 1Z0-915-1


EBS 12.2.14: Key Enhancements by Product Family

 Financial Management

  • ECC: GL, AR, iReceivables, iReceipts, Assets, Cash Management, Lease Contracts, Leases & Finance

  • Equipment Leasing for IFRS 16/ASC 842/SFFAS 54

  • GL & AP Approval Flexibility & Automation

  • AR: New Cash Receipt Application Methods

  • Enhanced Credit Scoring & Collections

  • Lease & Finance: Increased Throughput Across Processes


Procurement

  • Modern Shopping Minimizing Non-Catalog Spend

  • ECC: Procurement, Project Procurement, CLM

  • Procurement & Contract Efficiencies

  • Supplier Portal: Advanced Configurability

  • Supplier Management & Assessments

  • Services Procurement: Invoicing & Complex Payments

  • Project Procurement

  • Sourcing Streamlined Flows

  • Proc/Proj: G-Invoicing for US Federal Program Agencies


Projects

  • ECC Projects

  • Labor Costing with Actual Costs

  • Budgetary Control for Labor & Non-Labor Transactions

  • Enhanced Cost Accounting Adjustment Options

  • Enhanced Billing including Federal Billing & Bill Groups

  • Enhanced Revenue Recognition for IFRS 15 / ASC 606

  • Scheduled % of Work Completed Based Structure

  • Enhanced Project Planning & Controls

  • Proc/Proj: G-Invoicing for US Federal Program Agencies


Applications Technology

  • ECC Dashboards

  • EBS on Oracle Cloud Infrastructure (OCI): EBS Cloud Manager

  • Enterprise Command Center Framework

  • Enhanced UX with OAF & WebADI

  • Enhanced Oracle APEX Integration for EBS Customizations

  • Oracle Guided Learning (OGL) Integration with EBS

  • Customer Driven Enhancements


Order Management

  • ECC: Order Management, Advanced Pricing, iStore, CHRM, OIC

  • New HTML UIs

  • Enhanced Subscription & Service Ordering

  • Advanced Scheduling, Milestone, Usage Based

  • Enhanced Returns (ISO) Processing

  • Improved Cancellations, Performance, & Archival

  • Enhanced Quoting Creation, Validation & Approval

  • Enhanced Flexible Volume Pricing, Enhanced Financial Control


Logistics

  • ECC: Inventory Mgmt, Landed Cost Mgmt

  • UX: New HTML UIs

  • ECC for Android and iOS enhancements

  • Material Flow Mapping & Physical Inventory

  • Enhanced Material Tracking

  • Bin Optimization, Backorders, & Inter-Org Transfer (IOT)

  • On Time In Full (OTIF)

  • ECC: Receiving Efficiencies, Pick by More Docs, Yard Mgmt

  • WMS/MSCA: Activity Tracking incl User-Defined Activities


Manufacturing

  • ECC: Discrete Mfg, Process Mfg, Project Mfg, Outsourced Mfg

  • ECC: Cost Mgt, OPM Analytics, Quality, BOM

  • Discrete Mfg: Rework Work Orders, Dual UOM for Mfg, MES, Internet of Things, E-Kanban, Serialization

  • Project Mfg: Procurement Availability Mgmt, Outsourced Mfg, MES, Item Genealogy

  • Process Mfg: Equipment Availability & Utilization, Asset Integration, Serialization, Batch Genealogy, Lab Mgmt

  • Quality: Enhanced Quality Collection & ECC Control


Asset Lifecycle Management

  • ECC: EAM, Asset Tracking

  • Mobile Maintenance App

  • EAM: Linear Asset Management

  • EAM Map Visualization for Assets & Work; Indoor Maps

  • EAM: Central Maintenance Technician Assignment

  • EAM: Functional Asset Hierarchy

  • EAM: Enhanced Work Task Functionality & Productivity

  • Installed Base & Asset Tracking Enhanced Flows


Service

  • ECC: Service Contracts, Service, Field Service, Depot

  • New HTML UIs

  • Service Contracts: Enhanced Usage Billing w/Group Plans

  • ECC: Improved MOAC & Inventory Org Security

  • Enhanced SR Definition: Multiple Products on 1 SR, more

  • Field Service Integration w/Projects; Enhanced DTL Integration

  • Depot: Warranty, Waste Mgt, Outsourced Repair, Prescriptive Recommendations


Human Capital Management

  • ECC: Human Resources, Payroll

  • Mobile Apps: SSHR, OTL

  • Time & Labor: Enhanced Entry & Processing

  • Payroll: Enhanced Administration & Processing

  • SSHR: Mass Update by Mgmt, Surrogate Approvers

  • HTML Dashboards for Payroll & SSHR Admin

  • Person Data Removal Tool (PDRT)


Connect OCI DB system using Console Connection

 


 

Step 1:

In your local machine, open terminal (Windows Powershell) and generate key pair

PS C:\Users\admin> ssh-keygen -t rsa

Generating public/private rsa key pair.

Enter file in which to save the key (C:\Users\admin/.ssh/id_rsa):

Enter passphrase (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in C:\Users\admin/.ssh/id_rsa

Your public key has been saved in C:\Users\admin/.ssh/id_rsa.pub

The key fingerprint is:

SHA256:5Ioqw+KE2SJqgucRgjxXNhCpzZOBMgH4zSl/vYpD1Ec arunkumar k@doyenltp1980

The key's randomart image is:

+---[RSA 3072]----+

|=..oo            |

|+. o.   E        |

|.o+oo* ..        |

|o.o=B oo.        |

|oo.=.  oS        |

|.+o.o....        |

|B.o....  .       |

|X+.o..  .        |

|**o ....         |

+----[SHA256]-----+

PS C:\Users\admin>

 

Step 2:

Copy the contents of public key

PS C:\Users\admin> cat C:\Users\admin/.ssh/id_rsa.pub

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDKYsAVXzjj1dmLevNjKdJkK7so6efkrlLq7Iy9jVOLcvsEOR4lFprAyXq+sQIl+xSzdlcEl7mFrbf+dzb2gzewWiGn6cj5zPRgQ6CVElhHizFFEfv9Nn2X4p3heeligRwnj4Alw80iqEaC3vf4a9b8npkQ05t0cRHJzX/Go/+NhLkwBA7XvfnrUY9iry05wLl1dzj+BseD3JuK/Zj8dx9mhCCurTh1bc72k1DMDSzlfpHifuFBLXylNPmEe/o3orHppakhbki7dYZTNuqS9jdXvZyWnA1oNYslCS773yULfFi82Dbdhpbp71B10jgKVt1t/AdoMLc7iT4UEDFUTcmIbNDp1raqtGb1LPgOl1G9WQhYzSLV3ciDtcMAYRTKmjljDkm/W9FMCZ2qZO3CCDkB4JchhLyhSzN51c+4a7nWG+xhXpI68wRJ5Q0xkpVmc84S6RUiybgLpyxblWgH5qAoHQm5OFiP89IqmcJt/U//VbavslvDlAzHUWM5tXhYb8E= username@desktop

PS C:\Users\admin>

Step 3:

 

Database service -> select the Database system -> consoleconnections-> click “Create console connection”

 

 

 

Step 4:

 

Add the public key you copied from step 2:

 

Step 5:

Once it is available after the below creating stage

 

A screenshot of a computer

AI-generated content may be incorrect.

Copy the ssh string and paste in notepad.

 

A screenshot of a computer

AI-generated content may be incorrect.

Step 6:

 

Switch to you local desktop and cd to .ssh directory.

A computer screen with white text

AI-generated content may be incorrect.

 

Step 7:

Paste the SSH string and press enter and you will see the prompt asking for login.

 

ssh -o "HostKeyAlgorithms=+ssh-rsa" -o "PubkeyAcceptedAlgorithms=+ssh-rsa" -o ProxyCommand='ssh -W %h:%p -p 443 ocid1.instanceconsoleconnection.oc1.phx.anyhqljtwdx4egacfcdgmnzwb4itm3i3utnvuuwopeczdoyu6akmxgqev7aa@instance-console.us-phoenix-1.oci.oraclecloud.com' ocid1.instance.oc1.phx.anyhqljtwdx4egacejrj33wgjwhpcmn3xzafpv2htje66pa3ngtu5niy2wiq

 

A black screen with white text

AI-generated content may be incorrect.

 

Step 8:

Go back to OCI console and reboot the node and come back to you local machine and press enter. You will see the below message. As soon as you see this message, press up or down key to pause the reboot.

A screenshot of a computer error

AI-generated content may be incorrect.

 

Step 9:

As soon as you see reboot message, press up or down key to pause the reboot. You will end up with below screen.

 

A screenshot of a computer

AI-generated content may be incorrect.

 

Step 10:

You may proceed with your troubleshooting.