You can create a database link between the two databases.
For example, create a dblink in db2 databse:
CREATE database link db1
CONNECT TO scott IDENTIFIED BY tiger
USING 'db1';
From db2 database, you can issue an SQL like;
SELECT *
FROM table1@db1;
Robbie
"The rule is, not to besiege walled cities if it can possibly be avoided" -- Art of War