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: Kumar, Arvind IN GGN SISL <arvind.kumar2_at_siemens.com>
Date: Thu, 8 Feb 2007 12:18:39 +0530
Message-ID: <DB870BED06C39D4DBD5FCB1BD9C856D4080E3506@inggnh999msx.in002.siemens.net>


Thanks, Gopal

        
      I added /*+ Rule */ hint, after that its working perfectly.



Kind Regards

Arvind Kumar

-----Original Message-----
From: K Gopalakrishnan [mailto:kaygopal_at_gmail.com] Sent: Thursday, February 08, 2007 11:52 AM To: Kumar, Arvind IN GGN SISL
Cc: Oracle-l
Subject: Re: select on SYS CPU 100%

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:48:39 CST

Original text of this message

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