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: Statspack Will Not Install Oracle 9.2.0.4

RE: Statspack Will Not Install Oracle 9.2.0.4

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Mon, 26 Jan 2004 10:19:27 -0800
Message-ID: <F001.005DE26F.20040126101927@fatcity.com>


Hmmmm.... on our 9204 instance this package is compiled with the order by ... our compatible is set to 9.2.0.4

Raj



Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
Post, Ethan
Sent: Monday, January 26, 2004 12:54 PM
To: Multiple recipients of list ORACLE-L

The

"order by st1.hash_value,ss.text_subset; -- deadlock avoidance"

Statement in the following Statspack code causes the package not to compile. Oracle 9.2.0.4.0 64 bit.

Compatible is set to 9.2.0

If I remove the two ORDER BY's in error the package compiles fine. Could not find anything on Google or Metalink about this.

insert into stats$sqltext

                 ( hash_value

, text_subset
, piece
, sql_text
, address
, command_type
, last_snap_id
) select st1.hash_value
, ss.text_subset
, st1.piece
, st1.sql_text
, st1.address
, st1.command_type
, ss.snap_id
from v$sqltext st1
, stats$sql_summary ss
where ss.snap_id = l_snap_id and ss.dbid = p_dbid and ss.instance_number = p_instance_number and st1.hash_value = ss.hash_value and st1.address = ss.address and not exists (select 1 from stats$sqltext st2 where st2.hash_value = ss.hash_value and st2.text_subset = ss.text_subset ) order by st1.hash_value,ss.text_subset; -- deadlock avoidance
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Post, Ethan
  INET: Ethan.Post_at_ps.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

**************************************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
**************************************************************************************4
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni_at_espn.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Jan 26 2004 - 12:19:27 CST

Original text of this message

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