Thnaks Serge, for the valuable information.
The external UDF that we have is actually very simple. We have a table
that contains login information to a network appliance. This external
UDF
(written in Java) would first run a SELECT on the login table to
extract
login information. Using this information, it will then connect to the
network appliance and execute some requests. It also performs some
caching of the login information too, so subsequent execution of the
UDF wouldn't have to run the select.
So seems like we have to re-write some of the code. Any idea on how
best we can approach this? Keep in mind that we are just doing one
select; no update no insert.. :)
Any suggestions would be greatly appreciated.
Thanks,
Jorge
> Thnaks Serge, for the valuable information.
>
[quoted text clipped - 16 lines]
> Thanks,
> Jorge
CREATE FUCNTION outerfoo(blah1, .. blahn) RETURNS blurb
RETURN innerfoo((SELECT .....blah1.), blah2, ...blahn)
or RETURN SELECT innerfoo() FROM ..., (SELECT ....)
Cheers
Serge

Signature
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
jorge - 27 May 2005 22:48 GMT
Serge,
Thanks a lot for the quick response. That's a great idea.. Just
curious.
We are a 3rd party database application vendor.. I am wondering what
percentage of the DB2 customer uses the DPF feature? I guess you
can't really give me a definitive answer, but from answering questions
on a forum like this, would you say it's 50% or 5%?
I need to decide how quickly I need to move forward on this
migration. :)
Thanks again.
Jorge
Serge Rielau - 29 May 2005 12:56 GMT
> Serge,
>
[quoted text clipped - 10 lines]
> Thanks again.
> Jorge
DPB is a feature aimed at BI, not OLTP.
And DPF makes more sense as you approach the TB range.
Because of that there is a quite natural cap.
In terms of number of installations we are talking a small number
compared to the total. In terms of money for IBM its a significant number.
So, take a look at your app and your target audience.
Cheers
Serge

Signature
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab