根据sid查spid,根据spid/sid查sql

top查看占用cpu高的进程spid

根据sid查spid

例如job: select * from dba_jobs_running select c.spid from gv$process c where c.addr=(select b.paddr from gv$session b where b.sid=1489);