Posted: Mon Jul 13, 2015 12:51 pm Post subject: Increase performance of oracle function from Data Services.
I am using Data Services version 14.1
how can I increase performance of a oracle function call.
we are having 10 million records in source. which i try to call oracle function in data services it is taking around 2 hours to complete the job. oracle function is taking around 7 Millie seconds for each record in SQL developer.
I tried enabling parallel option on function in data store and increased degree of parallelism in data flow as 16 but it is still the same.
please let me know if there is any article pointing to increase performance.
Posted: Mon Jul 13, 2015 2:45 pm Post subject: Re: Increase performance of oracle function from Data Servi
It sounds like the Oracle function isn't getting pushed down to the database with the rest of the query. That's where the problem is.
If the function call is not part of the main query then what's happening is that for each row the Dataflow is connecting to Oracle, executing the function and then disconnecting. The connect/disconnect is very costly.
You may need to recode the Dataflow to use a SQL transform. That will ensure that the Oracle function call is always pushed down.