DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: DB_LINK

  1. #1
    Join Date
    Jan 2001
    Posts
    72

    Lightbulb

    Is it possible to create a database link between two databases on two separate machines? How? Just create the link and modify both tns names files on both servers like its done when the databases are on one server?

    thanks.

  2. #2
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    No matter where your databases are. They must be in the network. I mean they must be registered with tbsnames.ora/names .

    create database link xxxx.world
    connect to user xyz identified by ****
    using yyyy.world

    where xyz is user on the remote machine with CREATE SESSION privilege
    xxxx.world is database link
    yyyy.world is service name(connect string) of remote/host machine.


    The above syntax is for private link. Check docs for rest of the options like public/private/shared links.



  3. #3
    Join Date
    Apr 2000
    Location
    roma
    Posts
    131
    You may use "COPY" command from sql, to copy data from a remote database without dblink creation (use sqlnet connection)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width