Awesome, Raj!

And thank you for sharing this with us.

----- Original Message ----- 
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Monday, October 27, 2003 4:29 PM


> Read if you are interested ...
>
> Finally I got some time and luckily the largest message to use with
dbms_profiler. And the results shocked me .... dbms_profiler showed me that
instead of utl_raw, substr() was the culprit. Remember my operation is
character by character.
>
> After some long thinking and evaluating different techniques, I finally
decided that the delay was due to the fact that substr() operation was way
too slow to be included in my processing. As for alternatives, only thing I
could think was parallel processing and pipelined came to my mind ...
>
> So, I implemented a pipelined function that does nothing, but takes a CLOB
and returns me 1K chunks (using dbms_lob.read()) of it. I do this operation
in a cursor loop, so by the time I process 1k characters, next 1k is waiting
at the doorstep. Thus by parallelising the delay, I finally resolved the
problem.
>
> Thanks you all for your help, suggestion and hints which really got me
thinking. Plus having 9202 helped too otherwise it would have been difficult
(without pipelined function).
> 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 !
>
>
****************************************************************************
**********
> 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).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Arup Nanda
  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).

Reply via email to