My adrci output showed a failed job (abbreviated):
ADR Home = /u01/oracle/diag/rdbms/mydb01/mydb01:
*************************************************************************
INCIDENT_ID PROBLEM_KEY CREATE_TIME
-------------------- ----------------------------------------------------------- -------------------------
9720716 ORA 600 [kdxolrs2_comp: samekey] 2024-08-06 17:37:32.674000 +02:00
9720796 ORA 600 [kdxolrs2_comp: samekey] 2024-08-06 17:37:24.616000
2 rows fetched (*** more available ***)
adrci> show incident -mode detail -p "incident_id=9720716"
INCIDENT_ID 9720716
STATUS ready
CREATE_TIME 2024-08-06 17:37:32.674000 +02:00
PROBLEM_ID 21
PROBLEM_KEY ORA 600 [kdxolrs2_comp: samekey]
FIRSTINC_TIME 2024-08-06 17:37:24.616000 +02:00
LASTINC_TIME 2024-08-06 17:37:32.674000 +02:00
KEY_NAME PQ
KEY_NAME Service
KEY_VALUE SYS$USERS
KEY_NAME Module
KEY_VALUE DBMS_SCHEDULER
KEY_NAME Action
KEY_VALUE ORA$AT_OS_OPT_SY_125693
OWNER_ID 1
INCIDENT_FILE /u01/oracle/diag/rdbms/mydb01/mydb01/incident/incdir_9720716/mydb01_p007_11096_i9720716.trc
OWNER_ID 1
INCIDENT_FILE /u01/oracle/diag/rdbms/mydb01/mydb01/trace/mydb01_p007_11096.trc
OWNER_ID 1
INCIDENT_FILE /u01/oracle/diag/rdbms/mydb01/mydb01/incident/incdir_9720716/mydb01_mz00_1311372_i9720716_a.trc
1 row fetched
The file mydb01_p007_11096_i9720716.trc shows:
*** MODULE NAME:(DBMS_SCHEDULER) 2024-08-06T17:37:32.699564+02:00
*** ACTION NAME:(ORA$AT_OS_OPT_SY_125693) 2024-08-06T17:37:32.699567+02:00
[TOC00002]
========= Dump for incident 9720716 (ORA 600 [kdxolrs2_comp: samekey]) ========
*** 2024-08-06T17:37:32.709272+02:00
dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
[TOC00003]
----- Current SQL Statement for this session (sql_id=82xfc2m10quym) -----
select /*+ opt_param('_optimizer_use_auto_indexes' 'on')
parallel_index(t, "mypk",8)
dbms_stats cursor_sharing_exact use_weak_name_resl dynamic_sampling(0)
no_monitoring xmlindex_sel_idx_tbl
opt_param('optimizer_inmemory_aware' 'false')
no_substrb_pad no_expand index_ffs(t,"mypk") */
count(*) as nrw,approx_count_distinct(sys_op_lbid(632968,'L',t.rowid)) as nlb,null as ndk,sys_op_countchg(substrb(t.rowid,1,15),1)
as clf from "myuser"."mytable" t where "ID" is not null
[TOC00003-END]
To find the record in the data dictionary holding the history for this run, use the following query:
set lines 300
col client_name format a30
col job_name format a30
col job_status format a20
col job_start_time format a30
col job_duration format a20
col job_info format a80
SELECT client_name,job_name,job_status,to_char(job_start_time,'dd.mm.yyyy hh24:mi:ss') "job_start_time" ,job_duration,job_info
FROM dba_autotask_job_history
WHERE JOB_NAME = 'ORA$AT_OS_OPT_SY_125693';
CLIENT_NAME |
JOB_NAME |
JOB_STATUS |
job_start_time |
JOB_DURATION |
JOB_INFO |
auto optimizer stats collection |
ORA$AT_OS_OPT_SY_125693 |
FAILED |
06.08.2024 17:00:02 |
+000 00:37:34 |
ORA-12801: error signaled in parallel query server P007
ORA-00600: internal error code, arguments: [kdxolrs2_comp: samekey], [0], [0], [0], [0], [], [], [], [], [], [], []
|
Further details can be seen in the view DBA_OPTSTAT_OPERATION_TASKS, if necessary.
Thank you very much for this post
ReplyDelete