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: Long-running PL/SQL function (short)

Re: Long-running PL/SQL function (short)

From: <Cherie_Machler_at_gelco.com>
Date: Tue, 07 Jan 2003 13:14:46 -0800
Message-ID: <F001.005292B1.20030107131446@fatcity.com>

Stephane,

Thanks for your reply.

I don't think it's a possibility to get another resource to rewrite the PL/SQL. Our shop is more java-based and PL/SQL is not our developers language of choice.

Do you mean to move as many statements inside of the loop to outside of the loop as possible? If yes, I'll pursue that.

I already made recommendations to remove the DISTINCT and ORDER BY clauses in most SQL statements. I was told that the distinct is necessary to remove redundant data and do some additional clean-up. I believe that they want the order by to make their QA effort easier and confirm that the data is still valid and matches across to other databases. However, I am trying to push to get the ORDER BYs out at least.

Thanks again for your feedback.

Cherie

                                                                                                                
                    Stephane                                                                                    
                    Faroult              To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>    
                    <sfaroult_at_orio       cc:                                                                    
                    le.com>              Subject:     Re: Long-running PL/SQL function (short)                  
                    Sent by:                                                                                    
                    root_at_fatcity.c                                                                              
                    om                                                                                          
                                                                                                                
                                                                                                                
                    01/07/03 01:39                                                                              
                    PM                                                                                          
                    Please respond                                                                              
                    to ORACLE-L                                                                                 
                                                                                                                
                                                                                                                




Have the procedure rewritten by somebody with a little experience. Getting rid of statements inside loops, DISTINCT and ORDER BY which are rarely necessary when moving data from a table to another table would be good places to start.

--

Regards,

Stephane Faroult
Oriole Software
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Stephane Faroult
  INET: sfaroult_at_oriole.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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Cherie_Machler_at_gelco.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 Tue Jan 07 2003 - 15:14:46 CST

Original text of this message

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