PL/SQL (MOSC)

MOSC Banner

Combination of Pipelined Table Function and 'with'-clause very slow.

edited Jan 20, 2011 3:05AM in PL/SQL (MOSC) 5 commentsAnswered
 Hi,

I have a Pipelined Table Function:

CREATE OR REPLACE FUNCTION DWH.etfaa_search_part_pipe3 (
   p refcur3_pkg.refcur3_t)
   RETURN resultTypeSet
   PIPELINED
   PARALLEL_ENABLE
IS
...


I use a query to pre-select the data and create a table. about 5 sec

create table dummy as
select
versid,quartal,jahr,arzeneimittel_daten
from etfaa_2
where
--jahr = 2007 and        --  weggelassen wegen unfair kleinerer Datenmenge
arzeneimittel_daten like '%;ac;L04AB04;%' and
tdia_daten not like '%§M07%' and
tdia_daten not like '%§L40%' and
tdia_daten not like '%§K50%' and
tdia_daten not like '%§K51%' ;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center