|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by chinsw in Oracle 10.x, PL / SQL
I developed a object function call 'decryptPAN' in Oracle and registered this object at my two databases; DB1 and DB2. My application need to access two DB1 and DB2 at the same time. So, i create a DBlink for this.
Let say, my application open database connection to DB1 and need to access Table1 from DB2 in order to get the card no in clear text from DB2. Then, I will issue the SQL statement like this : Select decryptPAN(card number) from Table1
However, i found out that Oracle will use the 'decryptPAN' from DB1 instead of DB2 to decrypt the card no when i issue the SQL command. This cause a performance issue to us when the volume is high. Is that any way to inform oracle to use the 'decryptPAN' object in the DB for the respective table. For eg: If the table is at DB1, then oracle should use 'decryptPAN' at DB1.
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625