Think DBLINK like a path, you are giving oracle a path, from where oracle can get the data if it find dblink in the statement, when you use DBLINK, you are using local database for only viewing it, every thing is happening on remote database, if the local user have permission then the user can issue dml statement on romote database objects, if you drop dblink then you'll get only the error of connection description for remote database not found, nothing would happen to your remote database.
I don't understand re linking tables.
You can create simple snapshots for your remote database objects using dblink. The same thing if you drop dblink it wont refresh, but your production or remote database snapshot log tables would be getting bigger and bigger.
Main Topics
Browse All Topics





by: trojanguy1Posted on 2003-01-27 at 16:51:29ID: 7826114
Creating a db link in database "a" to database "b" doesn't bring any data from "b" into "a". If you make a link titled "linkb" to database "b" and you select from user.tablename@linkb you MUST meet these conditions:
1) Have the ability to connect to database "b" from database "a" (test to see if you can tnsping database "b" from database "a"s server)
2) The user defined in your "a" db's database link must have permissions to access the object in database "b"
3) The "b" database must be up