RE: Statspack Will Not Install Oracle 9.2.0.4
Thanks. Gee, the Oracle sales folks keep telling our Lead Architect that RAC requires zero code changes...guess this was not true for Statspack. :) -Original Message- Sent: Monday, January 26, 2004 12:14 PM To: Multiple recipients of list ORACLE-L Ethan: You can remove the order by if you are not using RAC. Basically it is to avoid two identical SQLs inserted at the SAME time in RAC setup. If you are using RAC just add another column in the order by condition. (st1.hash_value,ss.text_subset,st1.piece) I don't have the bug # handy. But I was told this is fixed in 10g ;) KG = Have a nice day !! Best Regards, K Gopalakrishnan, Bangalore, INDIA. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: K Gopalakrishnan INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Post, Ethan INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: Statspack Will Not Install Oracle 9.2.0.4
H 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
Re: Statspack Will Not Install Oracle 9.2.0.4
Ethan: You can remove the order by if you are not using RAC. Basically it is to avoid two identical SQLs inserted at the SAME time in RAC setup. If you are using RAC just add another column in the order by condition. (st1.hash_value,ss.text_subset,st1.piece) I don't have the bug # handy. But I was told this is fixed in 10g ;) KG = Have a nice day !! Best Regards, K Gopalakrishnan, Bangalore, INDIA. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: K Gopalakrishnan INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
Statspack Will Not Install Oracle 9.2.0.4
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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).