| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: very slow query on dba_jobs_running...
Yes - we had this problem too and it is optimizer related though
strangely enough it happens even if you have not collected stats on SYS.
Part of the Ora bug info below. Workaround is to use RULE hint.
KJP
· fact: Oracle Server - Enterprise Edition 9.2 · · symptom: Query on DBA_JOBS_RUNNING is slow · · cause: This problem is described in the <Bug:2624130> - QUERY AGAINST · DBA_JOBS_RUNNING IS USING CBO EVEN WHEN NO STATISITICS·
Andy Hassall wrote:
> On Mon, 1 Dec 2003 18:41:01 +0100, "Volker Hetzer" <volker.hetzer_at_ieee.org>
> wrote:
>
>
>>I've got a query "select job,sid from dba_jobs_running order by job" >>which takes really long (10min or longer) on an idle database with at most >>2 jobs running in parallel. >>Does anyone else have this problem? >>I'm using 9.2.0.4.0 on RH linux.
![]() |
![]() |