Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: select on SYS CPU 100%

Re: select on SYS CPU 100%

From: K Gopalakrishnan <kaygopal_at_gmail.com>
Date: Wed, 7 Feb 2007 22:22:27 -0800
Message-ID: <3b0f44a10702072222i4a8af21eiace5b72dd459b360@mail.gmail.com>


Arvind,

IIRC this is a known bug. Just go back to 9i view definition or change the all_objects view definition with /*+RULE */ hint.

-Gopal

On 2/5/07, Kumar, Arvind IN GGN SISL <arvind.kumar2_at_siemens.com> wrote:
>
>
>
> Hi all,
>
>
>
>
>
> ## Test Env.
>
> ## MS Windows
>
> ## Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
>
> PL/SQL Release 10.2.0.1.0 - Production
>
> CORE 10.2.0.1.0 Production
>
> TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
>
> NLSRTL Version 10.2.0.1.0 - Production
>
>
>
>
>
> select distinct owner from sys.all_objects; consume 100% CPU,hanging.
>
>
>
> If I run with Rule ,it returns the rows.
>
>
>
> Statistics is there on SYS tables.
>
>
>
> Explain plan show HASH JOIN between sys.user$ and sys.obj$ if it runs
> without Rule hint.
>
>
>
>
>
>
>
>
>
>
> Kind Regards
>
> Arvind Kumar

-- 
Best Regards,
K Gopalakrishnan
Co-Author: Oracle Wait Interface, Oracle Press 2004
http://www.amazon.com/exec/obidos/tg/detail/-/007222729X/

Author: Oracle Database 10g RAC Handbook, Oracle Press 2006
http://www.amazon.com/gp/product/007146509X/
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 08 2007 - 00:22:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US