Hello
I am running Oracle 18c on Linux. Sometimes I see following query taking 100% CPU.
select /* QOSD */ exp_id, objn from exp_head$ e where ((select max(nvl(es.last_modified, es.ctime)) from exp_stat$ es where es.objn = e.objn and es.exp_id = e.exp_id) < sysdate - 367 or not exists (select 1 from sys.obj$ o where o.obj# = e.objn)) and rownum < :batch_size
I am not sure what is this and why is it eating up all CPU .
Can someone please help me fix this?
Regards,
Habib