I am new in oracle (about 6 month ), I manage 2 Database, let say DB_A and DB_B, both is Oracle database, DB_A have Public database link to DB_B, this dbLink is used in package function to get data from DB_B and write it's data to a table DB_A.DailyValueOfB
that package function is called regularly(daily) by script in linux server using sqlplus command, combined with cron.
the problem is , that package function is currently is not writing anything because no input , but the table DB_A.DailyValueOfB still have the most updated data.
I have tried finding using SQL Developer software a. DBlink of DB_A in DB_B, in case DB_B access DB_A, but nothing found b. I browse in each database, "scheduler" folder and it's subfolder, but nothing found c. using this query
select *
from SYS.ALL_SOURCE
where UPPER(text) like '%@DBLINKNAME%';
i just found only on the package.function body i mentioned above.
d. I try part of package.function that accessing DB_B and it works properly get data from DB_B.
Is there any scenarios that I missing? Is there any way an oracle database accessing other oracle database beside using DBlink?
Thanks before