Recently dealt with an issue in my forum. It was about patching an EBS 12.2 instance with A;DOP.
The issue was super clear -> Before starting the online patching cycle, ADOP prepare was executed, but the execution was never completed.
Just for the record, the environment was an EBS 12.2.5 consisting of 2 apps nodes (shared appl top) and 2 db nodes (active-active Oracle RAC)[EVENT] Generating report for key tablespaces.
[PROCEDURE] [START 2023/05/11 15:27:38] Generating tablespaces report
[PROCEDURE] [START 2023/05/11 15:27:39] Generating report to display the status of important tablespaces. (ie. free space)
[STATEMENT] Report: /u01/UATERM/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWTS.sql
[PROCEDURE] [START 2023/05/11 15:27:38] Generating tablespaces report
[PROCEDURE] [START 2023/05/11 15:27:39] Generating report to display the status of important tablespaces. (ie. free space)
[STATEMENT] Report: /u01/UATERM/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWTS.sql
The SQL was a standard one (a standard EBS AD SQL), and it was not expected to run slow actually..
24*1024)),2) total_space , round(((df.total_space - fs.free_sp
ace)/(1024*1024*1024)),2) used_space , round((fs.free_space/(1
024*1024*1024)),2) free_space , round(((df.total_space-fs.free
_space) / df.total_space)*100, 2) PCT_USED FROM ( SELECT tab
lespace_name, SUM(bytes) TOTAL_SPACE FROM dba_data_files
GROUP BY tablespace_name) df , ( SELECT tablespace_name,
SUM(bytes) FREE_SPACE FROM dba_free_space GROUP BY t
ablespace_name) fs WHERE df.tablespace_name = fs.tablespac
e_name(+) and df.tablespace_name in ('SYSTEM', 'APPS_T
S_SEED', 'APPS_TS_TX_DATA', 'APPS_TS_TX_IDX') ORDER BY fs.tables
pace_name
The following 2 MOS noted visited for this;
Space Related Dictionary View Performance Slow in Multitenant Database with Large Number of Pluggable Databases (Doc ID 2053791.1)
But! the actual solution was *collecting the fixed table stats and flushing the shared pool.
However; sometimes as in this case, this may create you some troubles, so collecting the fixed object stats ( when there's a representative workload on the database) is a crucial thing especially after a major database or application upgrade or enabling a new module, or making changes to the database configuration.
That's the tip of the day. I hope you 'll find it useful.
No comments :
Post a Comment
If you will ask a question, please don't comment here..
For your questions, please create an issue into my forum.
Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html
Register and create an issue in the related category.
I will support you from there.