Propagation over DB link with connection qualifier

I have been unable to get propagation between two 10.2.0.4 databases running across a dblink that includes a connection qualifier. The dblink is a fixed user link created like:
CREATE DATABASE LINK "DB4.WORLD@TRAINING"
CONNECT TO TRAINING
IDENTIFIED BY <pw>
USING 'DB4';
An "ORA-02019: connection description for remote database not found" error is thrown when AQ tries to propagate the message.
If the dblink is recreated
CREATE DATABASE LINK "DB4_TRAINING.WORLD"
CONNECT TO TRAINING
IDENTIFIED BY <pw>
USING 'DB4';
along with the underlying schedules and subscribers everything works fine. The "DB4_TRAINING.WORLD" name does not comply with global names which is what brought this all up. At this point the global_names parameter is still set to false on both databases.

Hi,
Then as I understand you do
CREATE DATABASE LINK "DB4.WORLD"
CONNECT TO TRAINING
IDENTIFIED BY <pw>
USING 'DB4';Regards,
Jari

Similar Messages

  • Slow Query over Database Link with Bind Variable

    I have a query over a DB link, with all tables on the remote database.
    If I use a bind variable (from Toad), the query takes 4 minutes. If I replace the bind variable with a constant or substitution variable, it takes 1 second.
    The query runs fine when run directly on the remote database using bind variable.
    9.2.0.7

    Look up "Bind variable peeking"
    What's happened is you have an execution plan that differs from the one with the constant. Why? My bet is that Oracle "peeked" at the bind variable to help it decide which execution plan to build. It then cached it. It probably cached an execution with an index when it should be doing a full table scan or a hash join instead of a nested loop. It's hard to say specifically what it is.
    Try this, flush your shared pool and rerun the query with the bind and let us know if it takes 1 second or 4 minutes. If it takes 1 second, then that was probably it.
    Read part 2 of Tom Kyte's blog post on what it is and it's behavior.
    http://tkyte.blogspot.com/2007/09/sqltracetrue-part-two.html

  • Map Traffic over GE links with Etherchannel in 4500 platform

    Hi,
    Does anybody have experience with the command "show platform software etherchannel..." over 4500s?
    For instance:
    sw#sh platform software etherchannel port-channel 3 map ip 10.1.1.1 10.1.1.3
    Map port for Ip 10.1.1.1, 10.1.1.3 is Gi3/3(Po3)
    NOTE: Software forwarded traffic will use Gi3/1(Po3)
    We are concerned about the "Software Forwarded Traffic". One could think that is related to CPU forwarded traffic (L2 control traffic eg, CDP, PAgP, etc etc).
    However in some tests we are suspecting that ICMP traffic is passing through that link instead of the the link mentioned as "map port" (ICMP traffic not originated nor received at the switch).
    Is this command 100% reliable ?
    Thanks

    You can use the following command to verify which type of traffic (source/destination,
    mac/ip/l4-port) would select which member port within etherchannel.
    show platform software etherchannel port-channel map mac
    ex :
    Cat4507#$e etherchannel port-channel 2 map mac 0000.0000.0000 1111.1111.1111
    Map port for mac 0000.0000.0000, 1111.1111.1111 is Fa4/48(Po2)
    NOTE: Software forwarded traffic will use Fa4/48(Po2)
    Use the above command for a channel that is up.

  • MPLS over Serial links with Hardware Compression

    We have a core network comprising multiple nodes (2821s) with 256K - 2M Serial links joining them. The network currently support MPLS TE tunnels to provide load balancing across multiple paths within the core network. I am aware that it is not possible to run software compression (STAC) on these links as MPLS requires CEF switching to work and software compression results in process switching. Is it possible to implement hardware compression and CEF switching concurrently and hence MPLS functionality or will packets still be process switched?

    Martin,
    thanks for the suggestion. It works correctly but has highlighted what I believe to be an IOS bug. With MPLS packet debugging enabled on an intermediate router it works fine. Without MPLS packet debugging the intermediate router forwards the paket untagged out the wrong interface. Time for a TAC case.
    Regards
    Gary

  • Ethernet over Public link with Cisco 65XX Series

    We are transferring some equipment from one datacenter to another and we do not have private line connectivity between them at the current time.
    We are hoping to be able to temporarily be able to establish some type of Layer2 connectivity between the facilities to help allow us to spread out the migration into 2 events.  We have Cisco 65XX series switches at the core at both facilities and I am wondering what we might be able to use to make this happen?
    EoMPLS is out as we have to be able to extend the layer2 functionality across carrier networks and L2TPv3 is not supported on Cisco 65XX from what I have read / checked on our switches (if there is an IOS version that does support it, please let me know).
    I have read a bit about VPLS over GRE but I am not clear on the configuration and/or if it supported as it references MPLS at various points within the documentation that I have read.
    Any guidance would be appreciated.

    I've absolutely no idea if this would help in your case. 
    But anyway, I think 6500 handles DMVPN. May be MPLS over DMVPN would be a solution?
    https://sites.google.com/site/amitsciscozone/home/important-tips/traffic-engineering/p2mp-mpls-te-over-dmvpn
    http://networkknerd.blogspot.be/2014/08/dmvpn-mpls-over-dmvpn-oh-yeah.html
    HTH

  • SQL Server Connection over WAN Link

    I am planning
    to setup a BlackBerry server and connect to a remote SQL Server over a
    WAN link with 150+ms ping time.  Is there a known tolerance for
    SQL server connection latency?  For example, I have been told by
    RIM that ping time for Exchange should be around 35ms so if it is
    higher, a BES should be placed next to the Exchange server.  Any reply would be greatly appreciated.

    There is no problem with slow connection :-)
    You might get lots of waits in the SQL side (most likly there will be lots of
    ASYNC_NETWORK_IO) which you can monitor using sys.dm_os_waiting_tasks and sys.dm_exec_requests. But if there is no disconnections then most small application will work OK
    [Personal Site] [Blog] [Facebook]

  • Cursor arrow does not become hand-with-finger over some links.

    Recently, on some web pages, the arrow cursor doesn't become a pointing finger when placed over a link on a web page. Usually these are links at the top of the screen. If I try to right-click to open the link, the "open" is gray (inactive). For instance, on the current Firefox page, I cannot click on the Sign Out, Inbox, Other Applications, etc. I cannot click on the Search Firefox Help display.
    However, I can click on the Features, Mobile, Add-ons, etc. at the bottom of the screen.

    Recently, the Yahoo Toolbar and the Babylon extension have been reported to cause that problem. They seem to overlap invisibly over the top of the web page display. If you have either or both, uninstall or disable them/it, or see if an update is available that solves the problem.
    *See --> http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *See --> http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    *See --> http://kb.mozillazine.org/Uninstalling_toolbars
    If that does not solve the problem:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Database link with the alias and full description in the connect string

    Hi,
    i have created database link with alias in tnsentry and full description
    and suppose i have removed the tnsnames.ora file what will be the impact on the database link that is whether database link will work or not i am sure db link created with alias won't work and how about db link created with full description and which one you prefer
    Thanks

    # Parameter file initora for Database prd
    ### Global database name is db_name.db_domain
    global_names = TRUE
    db_name = prd
    db_domain = world
    # TNSNAMES.ORA for prd ###############################
    prd.world = (DESCRIPTION = (ADDRESS = (COMMUNITY = tcp.world)
    (PROTOCOL = TCP) (Host = 100.10.100.1) (Port = 1521))
    (CONNECT_DATA = (SID = prd) (GLOBAL_NAME = prd.world)
    (SERVER = DEDICATED)))
    Our database link points from the local database test to the remote database prd. Therefore we need the global database name for prd. Ask the remote database administrator for these information or connect to prd and execute the following query on prd:
    SQL> select GLOBAL_NAME from GLOBAL_NAME;
    GLOBAL_NAME
    prd.WORLD
    CREATE DATABASE LINK prd
    CONNECT TO system IDENTIFIED BY system_passwd
    USING 'prd';--- alias
    so the connection description will be ---select ename from [email protected]
    useful link
    http://www.akadia.com/services/ora_dblinks.html

  • Something is wrong with the captions if i hover over a link it shows and empty box

    if i hover over a link, etc. i get a blank box under my cursor instead of a description

    Issues with tooltips not working properly have been reported to be caused by the Google Toolbar (Tools > Add-ons > Extensions)
    You can check if there is an update available that fixes that issue.
    You can try to uninstall and reinstall the latest GT, that has been reported to work.
    * http://www.google.com/tools/firefox/toolbar/FT5/intl/en/
    * http://tools.google.com/tools/firefox/toolbar/FT5/intl/en/install.html

  • Connect content of archive link with newly created kpro document

    Hi all,
    i hope this the right plase to post my question. Unfortunatelly i did not find any SAP Records Management Topic.
    The issue is:
    i am able to create a new document in Records Management with the FM:
    SRM_DOCUMENT_CREATE
    But,  what  is not realy clear for me, how can i connect content of archive link with newly created kpro document.
    Thanks and Best regards,
    AT.

    Hi Attila,
    there is a difference between SRM_DOCUMENT_CREATE and ArchiveLink Documents.
    If you use the SAP Standard Service Provider for Documents SRM_SP_DOCUMENT this
    will refere to so called KPRO-Documents (KnowledgeProvider). This is totally different to
    common ArchiveLink scenarios.
    If you would like to use ArchiveLink Docs with attributes, there is the property unification in WebAS 6.40 available.
    Best
    Uwe Schulz

  • The picture ID on my outgoing Mac mail  is not mine -- it's the photo of boyfriend of my mother in law is appearing as my ID photo.  I have no link or connection with anybody  or other accounts whatsoever, and I don't have ANY third-party networks myself.

    The picture ID on my outgoing Mac mail  is not mine -- it's the photo of boyfriend of my mother in law is appearing as my ID photo.  I have no link or connection with anybody  or other accounts whatsoever, and I don't have ANY third-party networks myself.    HELP!!!

    Nobody but you sees that photo, it does not appear on outgoing emails.
    To remove the picture rather than change it, open Address Book and select your personal card, then from the menubar select Card > Clear Custom Image. Now the system will use Apple’s generic user picture in the login window and System Preferences’ Accounts pane. Mail and Address Book will remain blank until you designate a new picture in Address Book or System Preferences > Accounts.

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Report over database link error

    Good morning all.
    I have a database link LINKA from USERA on LOCALSERVER to USERB on REMOTESERVER.
    (create database link LINKA connect to USERB identified by mypassword using validtns)
    In USERC on REMOTESERVER I have a TABLEX, with grant all on TABLEX to USERB on REMOTESERVER.
    In USERB on REMOTESERVER I have a view TABLEXV, select * from USERC.TABLEX
    From USERA on LOCALSERVER I can select * from TABLEXV@LINKA. In fact I can insert/update/delete tablexv from USERA.
    I also have a view TABLEXV on USERA, select * from TABLEXV@LINKA. I can also select/insert/update/delete from USERA.TABLEXV.
    So far so good - all working as expected.
    Then, my APEX app on LOCALSERVER, interactive report, parsing schema USERA, querying TABLEXV, I get the following:
    when "Exclude Link Column", I get the error "The requested URL /pls/apex/f was not found on server.
    when "Link to Single Row View", report displays correctly.
    when "Link to Custom Target", I get the error "The requested URL /pls/apex/f was not found on server.
    When I run the select * from TABLEXV as a regular report (i.e. not interactive), I also get the error.
    So the only time I get the report displayed correctly is using IR and "Link to Single Row View".
    However, clicking on the link (for Single Row View) I get "The requested URL /pls/apex/wwv_flow.show was not found on this server.".
    To summarize:
    - accessing table via view over database link
    - works outside of apex without issue
    - inside only works when Link to Single Row View set
    - But clicking on link fails
    I could live with just having the Link to Singe Row View option if I could disable displaying of the icon so that the user cant click on it.
    APEX 3.2.00.27
    EE Database - 10.2.0.3 (yes I know out of support)
    Remote EE Database - 10.2.0.5
    Real object names replaced to protect the innocent!
    Anyone got any clues?
    I have used remote tables many times in my APEX applications and never had this issue.
    Thanks,
    Rob @ very confused .com

    Good morning all.
    I have a database link LINKA from USERA on LOCALSERVER to USERB on REMOTESERVER.
    (create database link LINKA connect to USERB identified by mypassword using validtns)
    In USERC on REMOTESERVER I have a TABLEX, with grant all on TABLEX to USERB on REMOTESERVER.
    In USERB on REMOTESERVER I have a view TABLEXV, select * from USERC.TABLEX
    From USERA on LOCALSERVER I can select * from TABLEXV@LINKA. In fact I can insert/update/delete tablexv from USERA.
    I also have a view TABLEXV on USERA, select * from TABLEXV@LINKA. I can also select/insert/update/delete from USERA.TABLEXV.
    So far so good - all working as expected.
    Then, my APEX app on LOCALSERVER, interactive report, parsing schema USERA, querying TABLEXV, I get the following:
    when "Exclude Link Column", I get the error "The requested URL /pls/apex/f was not found on server.
    when "Link to Single Row View", report displays correctly.
    when "Link to Custom Target", I get the error "The requested URL /pls/apex/f was not found on server.
    When I run the select * from TABLEXV as a regular report (i.e. not interactive), I also get the error.
    So the only time I get the report displayed correctly is using IR and "Link to Single Row View".
    However, clicking on the link (for Single Row View) I get "The requested URL /pls/apex/wwv_flow.show was not found on this server.".
    To summarize:
    - accessing table via view over database link
    - works outside of apex without issue
    - inside only works when Link to Single Row View set
    - But clicking on link fails
    I could live with just having the Link to Singe Row View option if I could disable displaying of the icon so that the user cant click on it.
    APEX 3.2.00.27
    EE Database - 10.2.0.3 (yes I know out of support)
    Remote EE Database - 10.2.0.5
    Real object names replaced to protect the innocent!
    Anyone got any clues?
    I have used remote tables many times in my APEX applications and never had this issue.
    Thanks,
    Rob @ very confused .com

  • Help with connecting to NIST NTP server on port 123

    I can get NIST time in Daytime format using the rt_nist_date_time.llb example posted on ni.com, but I cannot connect to NIST NTP format time data using port 123.  I freely admit to being over my head with this stuff, and have spent much of this Thanksgiving holiday reading about UDP and TCP.
    The attached vi summarizes what I've tried so far.  The UDP case is what I thought would work, but I can't come up with a network address that the UDP-open vi likes.  Can anyone out there help this n00b tell the time?
    The attached file is supposed to be in 8.0 format, although I'm working in 9.0
    Here is a link discussing the time formats: http://tf.nist.gov/service/its.htm 
    Jeff 
    Solved!
    Go to Solution.
    Attachments:
    UDP.vi ‏17 KB

    jstevens wrote:
    THANK YOU!!!  I don't think I ever would have come up with connecting the web address to a Read or Write UDP rather than the Open UDP block.  Not to mention starting by opening port zero.
    Unlike TCP, UDP is a connectionless protocol. Here's a quick explanation in different words.
    A udp packet travels from a [sourceIP, sourcePort] to a [DestinationIP, destinationPort].
    UDP open basically reserves a local port used for sending (soucePort) and receiving (incoming packet with that same destinationPort). Since some local ports are always in use, you would generate an error if you would accidentally pick a used port. Picking zero is useful for requests (as in this case!), because the OS will pick an unused ephemeral port. The actual source port number does not matter because the NTP server will just send the reply packet back to whatever port it came from. (If you would write your own NTP server in LabVIEW, you would of course need to set the local port to 123, and would get a conflict if another NTP server is already running on your rig). Writing an NTP server in LabVIEW would be a trivial modification to the current code, try it! . Simply listen for packets on port 123, form a response packet based on the timestamp, and send it to whatever IP/Port it came from (that info is available from udp read) and then go back to listen for new requests.).
    UDP write sends a packet to the server using the above opened local port as source port. You can use the same connectionID to write to several other servers and ports, because UDP is connectionless. (TCP is connection based, so a TCP connection involves a defined source/destination pair)
    UDP read listens for incoming packets from all over the world at that same local port. It is very unlikely, but theoretically possible that other UDP packets will arrive at that same port, so you could even filter to make sure to read incoming packets until they match the port and IP of the original request. The current code is somewhat vulnerable to a DOS (denial of service) attack for example as follows: Imagine the guy in the next cubicle had means of sniffing your network traffic. He could write a small program that looks for your NTP requests and then immediately starts flooding your IP with meaningless UDP packets to the sourcePort you just used. The current program only reads one packet and thus will never see the return packet from the NTP server.
    UDP close frees up the local port and the computer is now no longer listening for packets on that port. Of course you could keep the port open for the duration of the program, especially if you intend to send UDP request once in a while during execution.
    Makes sense?
    LabVIEW Champion . Do more with less code and in less time .

  • Import Data over network link in oracle 11g

    We want to take export of the OND schema in production database and
    import it to the OND schema in UAT database over a network
    link by using data pump,in Oracle 11g.Kindly share the steps.

    Scenario:
    Directly importing the TEST01 schema in the production database (oraodrmu) to test database oraodrmt, over
    a network by using database link and data pump in Oracle 11g.
    Note: When you perform an import over a database link, the import source is a database, not a dump file set, and the data is imported to the connected database instance.
    Because the link can identify a remotely networked database, the terms database link and network link are used interchangeably.
    =================================================================
    STEP-1 (IN PRODUCTION DATABASE - oraodrmu)
    =================================================================
    [root@szoddb01]>su - oraodrmu
    Enter user-name: /as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> grant resource to test01;
    Grant succeeded.
    SQL> grant imp_full_database to test01;
    Grant succeeded.
    SQL> select owner,object_type,status,count(*) from dba_objects where owner='TEST01' group by owner,object_type,status;
    OWNER OBJECT_TYPE STATUS COUNT(*)
    TEST01 PROCEDURE     VALID 2
    TEST01 TABLE VALID 419
    TEST01 SEQUENCE VALID 3
    TEST01 FUNCTION VALID 8
    TEST01 TRIGGER VALID 3
    TEST01 INDEX VALID 545
    TEST01 LOB VALID 18
    7 rows selected.
    SQL>
    SQL> set pages 999
    SQL> col "size MB" format 999,999,999
    SQL> col "Objects" format 999,999,999
    SQL> select obj.owner "Owner"
    2 , obj_cnt "Objects"
    3 , decode(seg_size, NULL, 0, seg_size) "size MB"
    4 from (select owner, count(*) obj_cnt from dba_objects group by owner) obj
    5 , (select owner, ceil(sum(bytes)/1024/1024) seg_size
    6 from dba_segments group by owner) seg
    7 where obj.owner = seg.owner(+)
    8 order by 3 desc ,2 desc, 1
    9 /
    Owner Objects size MB
    OND                    8,097     284,011
    SYS                    9,601     1,912
    TEST01                    998     1,164
    3 rows selected.
    SQL> exit
    =================================================================
    STEP-2 (IN TEST DATABASE - oraodrmt)
    =================================================================
    [root@szoddb01]>su - oraodrmt
    [oraodrmt@szoddb01]>sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Dec 3 18:40:16 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select name,open_mode from v$database;
    NAME OPEN_MODE
    ODRMT READ WRITE
    SQL> create tablespace test_test datafile '/trn_u04/oradata/odrmt/test01.dbf' size 2048m;
    Tablespace created.
    SQL> create user test01 identified by test123 default tablespace test_test;
    User created.
    SQL> grant resource, create session to test01;
    Grant succeeded.
    SQL> grant EXP_FULL_DATABASE to test01;
    Grant succeeded.
    SQL> grant imp_FULL_DATABASE to test01;
    Grant succeeded.
    Note: ODRMU is the DNS hoste name.We can test the connect with: [oraodrmt@szoddb01]>sqlplus test01/test01@odrmu
    SQL> create directory test_network_dump as '/dbdump/test_exp';
    Directory created.
    SQL> grant read,write on directory test_network_dump to test01;
    Grant succeeded.
    SQL> conn test01/test123
    Connected.
    SQL> create DATABASE LINK remote_test CONNECT TO test01 identified by test01 USING 'ODRMU';
    Database link created.
    For testing the database link we can try the below sql:
    SQL> select count(*) from OA_APVARIABLENAME@remote_test;
    COUNT(*)
    59
    SQL> exit
    [oraodrmt@szoddb01]>impdp test01/test123 network_link=remote_test directory=test_network_dump remap_schema=test01:test01 logfile=impdp__networklink_grms.log;
    [oraodrmt@szoddb01]>
    Import: Release 11.2.0.2.0 - Production on Mon Dec 3 19:42:47 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "TEST01"."SYS_IMPORT_SCHEMA_01": test01/******** network_link=remote_test directory=test_network_dump remap_schema=test01:test01 logfile=impdp_grms_networklink.log
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 318.5 MB
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"TEST01" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    . . imported "TEST01"."SY_TASK_HISTORY" 779914 rows
    . . imported "TEST01"."JCR_JNL_JOURNAL" 603 rows
    . . imported "TEST01"."GX_GROUP_SHELL" 1229 rows
    Job "TEST01"."SYS_IMPORT_SCHEMA_01" completed with 1 error(s) at 19:45:19
    [oraodrmt@szoddb01]>sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Dec 3 19:46:04 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select owner,object_type,status,count(*) from dba_objects where owner='TEST01' group by owner,object_type,status;
    OWNER OBJECT_TYPE STATUS COUNT(*)
    TEST01 PROCEDURE          VALID 2
    TEST01 TABLE               VALID 419
    TEST01 SEQUENCE          VALID 3
    TEST01 FUNCTION          VALID 8
    TEST01 TRIGGER          VALID 3
    TEST01 INDEX               VALID 545
    TEST01 LOB               VALID 18
    TEST01 DATABASE LINK          VALID 1
    8 rows selected.
    SQL>
    SQL> set pages 999
    SQL> col "size MB" format 999,999,999
    SQL> col "Objects" format 999,999,999
    SQL> select obj.owner "Owner"
    2 , obj_cnt "Objects"
    3 , decode(seg_size, NULL, 0, seg_size) "size MB"
    4 from (select owner, count(*) obj_cnt from dba_objects group by owner) obj
    5 , (select owner, ceil(sum(bytes)/1024/1024) seg_size
    6 from dba_segments group by owner) seg
    7 where obj.owner = seg.owner(+)
    8 order by 3 desc ,2 desc, 1
    9 /
    Owner Objects size MB
    OND                8,065          247,529
    SYS               9,554          6,507
    TEST01               999          1,164
    13 rows selected.
    =================================================================
    STEP-3 FOR REMOVING THE DATABASE LINK
    =================================================================
    [oraodrmt@szoddb01]>sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Dec 3 19:16:01 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> drop database link remote_test;
    Database link dropped.

Maybe you are looking for

  • Restrict rows

    Hi, this query is working fine when it has one loan, when i enter multiple loans then it shows me in two lines, how will i stop this. can anyone guide me. select emp_number, emp_name, car_loan, medical_loan, personal_loan, family_visa_bal, personal_t

  • Sapjco.jar configuration in XI 2.0

    Hi all, we're experiencing problem in configure sapjco.jar classpath issue into sap xi 2.0. We'd like to get detailed information on how configure classpath or the environment to get the RFC Adapter work properly. Does anyone can help us. Thanks in a

  • HTTP name of pages in dreamweaver

    Hi, I decided to build the majority of my website in flash. I.e. build different components (such as a calender) in flash and then I planned to import each component into dreamweaver on a seperate page and publish. The only trouble with this is that

  • I can't sync my music from my computer to iphone

    how to fix difficulty to sync the music from my computer to iphone 4s

  • Cost to repair macbook pro

    Mac Book pro, 13'3  Year 2010,  is not turning on, tried all ways to turn it on I have backed up the data from the Hard Drive, could some let me know the cost to repair from the apple store or some authorized service center, Thanks in advance for the