Database Link without disturbing each other

Hai All,
I have two database DB1 and DB2. I want to continous updating one table from DB2 database into DB1 database in online. But don't see and access the data between the two databases.
I think the datbase link is the solution for this. But how to achieve the security restrictions through the database link.We want the database servers IP and SID names are trying to keep secret. How to manage this situation?
Please help,
Shiju

First of all, I believe you full knowledge of how Database Links work. how they are created and the different parameters and options when spcifying the user and database?

Similar Messages

  • Can two players use the same game app without erasing each other's scores?

    Can two players use the same game app on the same device without erasing each other's scores?  My two sons build up their characters and progress in their games, then the other one wants to play, erasing the first son's progress.
    Is it possible to create two player identities in the Game Center? 
    Is it possible to have two different Apple User ID accounts on the same device?  Is that even desirable?
    Many thanks!
    MCPROBW

    You can create as many individual user accounts on a Mac as you like. Then, any one or more of those users can remotely log in from another Mac and use that Mac as their own, simultaneously. Each account will remain separate from all others.
    However, since each user needs to have a Mac to do that, I'm not sure how you could effectively double the number of users as you describe.

  • Migrating 3 access2000 DB's with linked tables to each other

    I am trying to migrate 3 access2000 DB's to oracle. The main DB's has linked tables to the other 2 DB's. I have been trying to migrate these seperately. When I try and migrate the main DB, it brings along the other 2 with it. Is this sufficient??

    Thx for the post Hilary. I still have some issues with getting this accomplished. I am having trouble moving all 3 access DB's into a single one. I can actually do this, but the app's step all over each other. Two of the DB's have applications and the coding errors out b/c of stepping all over each other. This is a customers DB's and I don't have permissions to change the code at this time, even if its the best way to do this.
    So, is it sufficient to do it this way. I got this post earlier last week.
    For the description purposes i'm going to migrate tables access1.mdb, access2.mdb, access3.mdb to "access_user" schema in oracle
    1. export access1.mdb to c:\test1\access_user.xml [repeat the same for the other 2 mdb's keeping the same export name but in different directories]
    2. export access2.mdb to c:\test2\access_user.xml
    3. export access3.mdb to c:\test3\access_user.xml
    4. Capture the c:\test1\access_user.xml and complete the migration i.e., at the end of this step, you must be able to log into oracle as "access_user" and should be able to see all your tables in it.
    5. Now capture c:\test2\access_user.xml and repeat the same steps, this time workbench will fire up an alert saying that access_user tablespace already create --> ignore this error. similarly ignore the "access_user" and "omwb_emulation" creation errors. Note: if you select re-create, this may over ride your previous tables, so I think its safer to ignore this error.
    6.Repeat the step #5 for the c:\test3\access_user.xml
    7. Now log into the oracle model as "access_user" user and password as "oracle", you must be able to see all your access tables and data.
    After doing this, I should have all my tables in the "access_user". The process also created other oracle users at each migration b/c the DB's are linked to each other and as Hilary said before, workbench migrates the linked tables also. This is not a problem if after all 3 have been done, each app now points to the "access_user" and not to any of the other created oracle users. I would need to delete the bogus oracle users and still expect my access applications to correctly point to the "access_user".
    Is this the correct way to do this??
    Thx for the help
    Marty

  • Since updating iCloud my husband and my phone are sharing the same contacts. I was getting his messages and and him mine which we managed to change through settings but how do we delete the  contacts without deleting each other's.

    There are 2 phones in my name. One my husbands the other mine. We have the i5 phone which worked very well before we updated iCloud a few days ago. Firstly both our messages and emails appeared on each other's phones and now I've noticed that we both have each other's contacts making a very long list on each phone and us both getting each other calls. I turned off the messages and emails in settings but can't remove the contacts. I tried deleting my husbands contacts from my phone but then they got deleted from his phone too. Any ideas anyone?

    All apps are forever tied to the Apple ID that bought them. To stop your id from popping up, you need to delete the apps on his phone, and then repurchase them under his account.

  • Two users on iTunes without syncing each others information

    Does anyone know if there is a way to sync TWO iPhone's to iTunes on the same computer without losing any of one user's information? My husband has his phone synced to the computer and when I tried to sync my phone, it deleted all of my information from the phone..contacts, apps, etc and put all of his contacts on my phone. Is there a way to sync two phones to one computer?

    Welcome to the discussions,
    you could create a second user in windows, each user has a separate iTunes after logging in.

  • How can you set up 2 iTunes accounts from one computer without synching each other's libraries?

    We have 2 separate iTunes accounts.  When signed in, using either account, both libraries are combined.  How do we create t
    2 separate libraries?

    see method one here:
    How to use multiple iPods, iPads, or iPhones with one computer

  • Can I alter the properties of an individual link on a HTML page without changing the other links?

    Hi there,
    I have a contact page created in Dreamweaver and have created an email link to launch Outlook when clicked on. However, all the links in my design have been set a certain way, i.e. white text knocked out of darker background. My email link however, is on white background so you can't see it against the white. I want to go in and simply change the color property of the email link without changing the other link colours on the page. I've tried but without luck. Is this possible to do?
    Thanks in advance for any help!

    Hello and thank you for your answer. I'm still a little confuse though.
    My existing HTML looks like this:
    <p><a href="[email protected]">[email protected]</a><br />
    My link preferences are for the who page and are at the top and look like this:
    a:link {
        color: #FFFFFF;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #FFFFFF;
    a:hover {
        text-decoration: none;
        color: #CCCCCC;
    a:active {
        text-decoration: none;
        color: #CCCCCC;
    .style2 {font-size: 14.5px}
    .style3 {color: #FFFFFF}
    Where exactly should I insert the new link ID that you suggested <a id="special_colors" href="url...">link text</a>
    Also, where exactly should I place the following in relation to the CSS document
    a#special_colors:link {color: red;}
    > a#special_colors:hover {color: green;}
    Sorry but this is all quite new to me. Thank you for your patience and help.

  • ORA -18808;Cannot find OUTLN schema using Database Link

    Hi,
    I have to access a database using a database link. When I try to do so I get the message:
    ORA -18808:cannot find OUTLN schema
    The OUTLN schema really does'nt exist at the target database, but I don't get the message when connecting with the same user outside the database link.
    I am trying to avoid to ask them to recreate the schema, since I am the only one that needs the database link working.
    Is there any way I can access the database with the database link without messing with the target database?
    Thanks in advance for any help.

    The error number returned by that error does not seem to be correct. Below is the correct error number:
    ORA-18008 cannot find OUTLN schema
    Cause: The database creation script that creates this schema must not have been executed.
    Action: Review the log files to see what happened when the database was created.
    How is the DB link defined to connect as?

  • Creating a database link to another schema in the same database

    Hello,
    I'm trying to create a database link to another schema in the same database. It was created without errors, but when I try to use it I receive "ORA-12154: TNS:could not resolve the connect identifier specified" message...
    I'm trying to do it because on my production enviroment the databases are separated, so there I can use database links without problem, but in my development environment it's all in one database separated by schemas...
    So I'm trying to simulate the same system to not need to rewrite the query every time I move from development to production environment.
    Any ideas?
    Thanks

    Hi,
    Yes, you can create a database link to your own database. I've done it before for exactly the same reason you want to.
    (By the way, I think it's a good reason. What are the alternatives?
    Having different versions of code for Development and Production? Absolutely not! Terrible idea!
    Using synonyms or substitution variables that are set differently in the different databases? That might be more efficient than a database link, but efficiency probably isn't such a big issue in Development.
    [Conditional compilation|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/fundamentals.htm#sthref250]? This might be good; it has all the efficienty of the above options, with more clarity.)
    Assuming you do want to stick with a database link, not all errors are caught when you create the link.
    Is the Development database in the tnsnames.ora file of the Development server? Do you have other database links, either in the Development server or pointing to it, that work? What is different about the ones that work, and the one that doesn't?
    Edited by: Frank Kulash on Oct 14, 2009 1:58 PM
    The more I think about this, the more I agree with the earlier respondent: synonymns are a good solution for this.
    To that suggestion you replied:
    On this way I might use "select * from SCHEMA.table" instead of "select * from table@SCHEMA"... I looking for an option to use the second way...Actually, the suggestion was that you say:
    select  *
    from    SCHEMA_table_ptr;where schema_table_ptr is a synonym.
    In Development, that synonym is defined as schema.table.
    In Production, that synonym is defined as table@SCHEMA
    Why are you "looking for an option to use the second way"?
    If you think that people reading the code should realize that the query is being done via a database link (at least in Production), then add a comment.

  • Creating a hierarchy based on a remote database link

    I am trying to create a hierarchy based on a synonym for a remote database table. The hierarchy wizard works correctly, and the table columns do appear as choices in the drop boxes. However, when I try to run the application, I get the error "No data found. This data does not exist or you do not have privileges to view it". Does anyone know how to resolve this error? Or how to work around this?
    I can successfully create and query a form based on the remote table. And, I am able to create a hierarchy from other tables (which do not use a database link) without a problem.
    Thanks for your help!

    This is the query which I am using to build a report
    SELECT
    rollup_timestamp "Date",
    max(decode(target_guid,'199F0B201A3D71A63040BADFAA4F9E90',average,0)) host1,
    max(decode(target_guid,'3FB1329F59339C07E11304B69DC4E594',average,0)) host2
    FROM "sysman.MGMT$METRIC_DAILY"
    WHERE
    (target_guid='199F0B201A3D71A63040BADFAA4F9E90'
    or
    target_guid='3FB1329F59339C07E11304B69DC4E594')
    AND
    metric_name='Load'
    AND
    metric_column='memUsedPct'
    AND
    rollup_timestamp >= to_date('01-10-2009','dd-mm-yyyy') and rollup_timestamp <= sysdate
    GROUP BY rollup_timestamp
    ORDER BY "Date"
    And for your previous question I couldn't even create a page.
    Regards
    Balaji
    Edited by: user7290747 on 6/01/2010 16:17

  • How to select for insert a long column through database link?

    How may a long column (for example a sql server 2000 text column) be selected for insert into a clob column in table in 10g over a database link without invoking ora-00997?
    I've tried using dbms_metadata_util.long2clob without success over a database link.

    Is the remote database an Oracle database? Or are you selecting data from SQL Server 2000 over a database link via Heterogeneous Services? What is the data type of the column in the remote database (LONG? TEXT? Something else?)?
    Justin

  • Database Link on Same Database

    It seems funny to me that If you are importing source metadata from the same database but different schemas you still need to use a dblink. Fetching data over the dblink will require more process overhead than granting select privileges to the owbdesign user.
    Is there anyway I can import metadata from at the same db server without using dblink? Am I missing something?
    Thanks,
    Leo

    A location is a logical entity that describes where a certain OWB object is located. There are several types of locations: an oracle database location refers to an Oracle DB schema, a file location refers to a file on a file system, a SAP location refers to a SAP instance etc. During deployment, the location will have to be 'registered' - i.e.the phisical location parameters will have to be specified (username/password, db instance, port and hostname for the database for example).
    A connector is an object that is created implicitely by OWB once it is established that data will be flowing from one location to the other (for example, if both locations are databases, the connector will represent a database link).
    Regards:
    Igor

  • ORA-28545 on mySQL - Oracle database link

    Hi All,
    I'm trying to make a connection to mySQL database from oracle.
    Oracle database runs on windows 2003 64 bit machine and version is 10.2.0.4.0.
    my init<dbname>, listner and tnsnames looks like this and I can create database links without any problem at all. Also oracle to oracle database links are working fine on that machine as well.
    HS_FDS_CONNECT_INFO=BOOKDB
    HS_FDS_TRACE_LEVEL=debug
    BOOKDB=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_BOOKDB=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=BOOKDB)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    BOOKDB=
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
        (CONNECT_DATA=(SID=BOOKDB))
        (HS=OK)
      )When I try start the listner and then do the tnsping everything seems fine.
    C:\Documents and Settings\adminkh>lsnrctl start bookdb
    LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:01:40
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
    System parameter file is C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    STATUS of the LISTENER
    Alias                     bookdb
    Version                   TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
    Start Date                20-JUL-2010 12:01:42
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "bookdb" has 1 instance(s).
      Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\adminkh>tnsping bookdb
    TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:02:16
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)) (CONNECT_DATA=(SID=bookdb)) (HS=OK))
    OK (10 msec)And then I create the database link and it created without a problem.
    create database link booklink connect to bookuser identified by ITDepartment using 'BOOKDB';And then I try to run small query.
    SQL> select * from admins@booklink;
    select * from admins@booklink
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from BOOKLINKSo can anyone help me with regards to this error.
    Edited by: garuka on Jul 20, 2010 4:08 AM
    Edited by: garuka on Jul 20, 2010 4:09 AM

    listner.ora from 11g
    BOOKDB=
         (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
         (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_BOOKDB=
         (SID_LIST=
         (SID_DESC=
         (SID_NAME=BOOKDB)
         (ORACLE_HOME=C:\Oracle11g\product\11.2.0\tg_1)
         (PROGRAM=hsodbc)
         )status:
    C:\Oracle11g\product\11.2.0\tg_1\bin>lsnrctl status bookdb
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 20-JUL-2010 15:35:34
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    STATUS of the LISTENER
    Alias                     bookdb
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                20-JUL-2010 15:34:51
    Uptime                    0 days 0 hr. 0 min. 43 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\Oracle11g\product\11.2.0\tg_1\network\admin\listener.ora
    Listener Log File         c:\oracle11g\product\11.2.0\tg_1\log\diag\tnslsnr\khhq-xs-ifsb01\bookdb\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "bookdb" has 1 instance(s).
      Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyEdited by: garuka on Jul 20, 2010 7:42 AM

  • Creation of database link from oracle to sql server 2000

    Hi
    I need to create a database link from oracle to sql server 2000.

    Assuming your Oracle database is running on Windows, you can set up a database link using ODBC using Heterogeneous Services and Generic Connectivity, but there are some functional limitations (i.e. no two-phase commits). If you can live with those limitations but aren't on Windows, you can generally purchase an ODBC driver for your operating system that will connect to SQL Server through someone like DataDirect and still use Generic Connectivity. If you cannot live with those limitations, you can purchase one of Oracle's Transparent Gateway products (though this can get somewhat pricey).
    What version of Oracle are you on?
    What operating system(s) are you using?
    What are you going to use the database link for?
    Justin

  • Can we create pl/sql code over database link?

    Hi All,
    We are using Oracle 9i database.
    I want to know if we can create or modify pl/sql code (procedue, package, etc) over the database link? That means - can we create a procedure in remote database using the db link?
    Thanks,
    Dnyanesh

    yes, I can connect to the remote database directly and create/modify the packages.
    But I want the users not to create them using the db link.
    Is there any way to create the pl/sql package over database link?
    Thanks,
    Dnyanesh

Maybe you are looking for