ORA-03113 while using the database link

From our database, we use a database link to query on a different database tables: they are the two 10.2.0.4
It is not always occur, but often. You have an idea? Thank you

Take a look at this note:
ORA-03113 UNIX - what information collect [ID 17613.1]

Tags: Database

Similar Questions

  • How s/n know when and what account perform a function using the database link?

    Dear,

    My application of the CIM team asked DBA to create new function and run it. Function must use the database link for remote database data. So I need to create a new database to their licensing link. Cause we guess we'll experience the performance issue after the user performs this function, or another question and errors may occur. So we want to know when and who use this feature that connects to a remote database through the new database connection in advance. And I also need to know when and which connect to the remote database using this new database link. We have no idea to get this information?  Can anyone recommend how do? Thank you very much.

    Best reqards, Otis.

    Check what business purpose, it will solve.  If the function is so safe, why everyone will use. Only admin people should access.

    All of these additional controls of this kind must be avoided as much as possible to improve the overall performance of the application.

    Still if you need, see the database audit mechanism, specifically designed for this type of activity.

    Kind regards

    Harman

  • Using the database links in a process of page plsql

    I try to use a database link in a process of pl/sql page.

    It works fine when I use the link name in the plsql like this:

    BEGIN 
    SELECT  
    CARD_ID 
    into   
     :P12_HDR_CARD_NUMBER  
    from     [email protected]; 
    

    But the name of the link will come an element of page (P12_DBLINK) filled as follows:

    select db_link d, db_link r from user_db_links;  
    

    I tried the following and it doesn't work:

    DECLARE 
    l_link VARCHAR2(30); 
    BEGIN 
    l_link :=  :P12_DBLINK; 
    SELECT  
    CARD_ID 
    into   
     :P12_HDR_CARD_NUMBER  
    from     fusion.EXM_CC_COMPANY_ACCOUNTS@l_link; 
    

    It gives me:

    • ORA-04052: error occurred when searching to the top of the remote object MERGER. EXM_CC_COMPANY_ACCOUNTS@L_LINK. WORLD ORA-00604: error occurred at recursive SQL level 3 ORA-02019: description of the connection to the remote database not found

    I thought that perhaps the name of the link was joined with. WORLD automatically but already has the name of the link. WORLD at the end I tried stripping first but the error is the same.

    Is there some synatx for what will work? Can I use dynamic sql statements?

    Any suggestions are most appreciated.

    Thank you

    John

    Hi John,.

    see the following example to use the execute immediate for your purpose

    SQL - Variable for the name of the database link - Stack Overflow

    Let me know if that answers your query in the active thread

  • creating user using the database link

    Hello

    I have 11g installed on one of the server
    I created the database BUGAU to bugau.us.oracle.com link
    link works fine

    "Select * from table@"Bugau "gives the expected result

    I ran the Sub statement to my server using the dblink.but do not know how to use the dblink to that effect. Please sat down

    CREATE USER ABC IDENTIFIED BY welcome TEMPORARY by DEFAULT TABLESPACE USERS_001 temp123 TABLESPACE;

    GRANT DEFAULT TO abc;

    ALTER USER abc PROFILE LEVEL_1;

    Thank you
    Archana

    Bravid wrote:

    You cannot create a user on a remote database using a database link.

    You can, but it is not a good design:

    SQL> exec dbms_utility.exec_ddl_statement@orcl('CREATE USER ABC IDENTIFIED BY ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_utility.exec_ddl_statement@orcl('GRANT CREATE SESSION TO ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> connect abc@orcl/ABC
    Connected.
    SQL> 
    

    Of course, the user in the database unite ORCL must have EXECUTE on DBMS_UTILITY privilege.

    SY.

  • Loding data using the database link.

    Dear all,

    I am new to Oracle GoldenGate...

    How to use the database connection in GG?

    below is the script...


    I have a source table in the client machine (. 28) and I have Norman to laod given in the target computer (. 149) per database connection.

    I run application GG in (. 28) and create the link of database called docqvoice_db alos.

    I used below extracted code also

    REPLICAT load6
    Username, PASSWORD sh
    ASSUMETARGETDEFS
    CARD sh.products, TARGET products@docqvoice_db;

    I have created the structure of the source in the target also.
    I got the error

    WARNING OGG - 01194 Oracle GoldenGate for Oracle, LOAD5.prm Capture: EXTRACT task LOAD6 added: Table PRODUCTS@DOCQVOICE_DB does not exist in the target database.


    Please advice...
    Thanks in advacne...
    Amina Hussain
    [email protected]
    No cell + 91-9886006549

    Amina,

    You have two choices. First choice, that's what you do, but your syntax is off. It should be:

    REPLICAT load6
    Sh@docqvoice_db username, PASSWORD sh
    ASSUMETARGETDEFS
    CARD sh.products, sh.products of the TARGET.

    Second choice is to create a view on the source using the link from the target database and map display just as in:

    REPLICAT load6
    Username, PASSWORD sh
    ASSUMETARGETDEFS
    CARD sh.products, sh.view_on_products of the TARGET.

    Good luck
    -joe

  • Using the database link in the applications

    Hello
    I just configured and created a PUBLIC database link on my oracle 10g. Can I use it with success of sqlplus do some like select simple:

    "SQL > select * from table"@dblink ".

    The query returns the result as expected.

    Now, I would like to use this public link in my applications, but the problem is that the link seems to be only available in the SYS schema.

    Ho can I access to a schema?

    In other words, to do some select (and insert) of my applications APEX by using the link to the db. If I try to select said, all I get is

    ORA-02019: description of the connection to the remote database not found

    OK, thanks all for the help, I found the problem.
    It seems that I created the link of database public and not public.

    I gave both of them and re - create public database link and now it works.

    Thanks for the help.

  • error "invalid character" using the database link

    Hello!

    I use db 9.2 and trying to connect to a 10g database.
    I created the db link... when I use it (select * from table@dblink), an error occurred: ORA-00911 invalid character. It does not accept the '@'!

    I tried to use it on sql * plus, worked well...

    Any ideas?
    Thank you!

    Can you try to set America/America in preferences - Database - NLS?

    Hope that helps,
    K.

  • Using the database link to connect to two databases

    Hi guys,.
    Here's my question. I need to give to a Select rights contractor on the tables located in two schemas located on two different servers. A dev server and a prod. Let's say we have a user schema: EMPLOYEE on the dev and user schema: DEPARTMENT on prod. The outside contractor needs certain rights on all the tables in the schema DEPARTMENT but just select on a few (4 to be exact) tables from a diagram of the EMPLOYEE.

    My first train of thougth is: CREATE a named user: TEST (of course, only used for an example of random name) for contractor on prod. Give some rights to TEST user on all the tables in the schema of DEPARTMENT.
    Create the link of database to the dev server so user TEST can access the EMPLOYEE schema.

    How can I go to limit the user TEST link database to display only 4 tables to EMPLOYEE instead of all the tables?

    Should I also do this scenario backwards? Creating user TEST on dev, giving rights TEST for 4 tables in the FRAMEWORK, and then creating the database for you link connect to schema Department on production database?

    Any help will be appreciated. Thanks in advance.

    Just set up a new DEV scheme to be used by the link of database connection string.

    -create synonyms in this schema@DEV for these four tables.
    -grant select access on these four tables to this schema@DEV.

  • Insert in oracle 11g postgresql using the database link

    Hey all,.

    an I have a problem when I try to insert into the table postgre

    copy of sa/sa@xe insert "ora". "TAB0"@orapos3 using select * from tabel0;

    SP2-0498: lack of column between parentheses or USING keyword list

    to 'ora '. "TAB0"@orapos3, data type of are all text columns

    tabel0 taype data of the whole column is varchar2...

    What is the cause?

    kgronau,

    Thanks for your help

    I found the solution to this problem, this is not caused by the configuration...

    I use the pl/sql like this:

    DECLARE

    CURSOR remote_insert IS SELECT * FROM sa.tabel0;

    START for rec IN remote_insert LOOP

    INSERT INTO "ora". ' Values of TAB0"@orapos3 (rec.kolom000, rec.kolom001, rec.kolom002, rec.kolom003, rec.kolom004, rec.kolom005, rec.kolom006, rec.kolom007, rec.kolom008, rec.kolom009, rec.kolom010);

    END loop;

    END;

    /

    Thank you

    Daniel

  • ONLY INSERT OR DELETE THE PRIVILEGE TO THE DATABASE LINK

    Hi all

    Version of DB 11.2.0.1

    RedHat 5.5 operating system

    I created a link to private database by following the path

    create database link test_link

    connect to Scott identified by tiger

    using

    '(DESCRIPTION =)

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.194.180.45)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod)

    )

    )'

    The link is created successfully and I am able to perform all the DML operations on it.

    The Question is there a way by which we can give only insert or delete or privilege is not to remove from the table at this link.

    For operations select only, I know that by creating a view I can restrict the remote user, but is there a way by which I can give only insert or remove remove link of database.

    You can not grant any privilege to a link. Can you and your team identify a location in the documentation, if required?

    By default, a remote session will get the same privilege as the user to which it connects.

    BTW:

    • do not use a database link tnsnames.ora makes your hard to maintain link
    • using addresses IP hard in a database link makes your link even more difficult to maintain
    • by specifying a hardcoded password in a database link is a breach of security.

    -------------

    Sybrand Bakker

    Senior Oracle DBA

  • strange problem with the database link

    Hello world

    I have a strange problem with the link of database in Oracle 11 g Express Edition;
    There are two computers: computer-server and the client computer. Tnsnames.ora are the same on both computers IE.

    CT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = XE)
    )
    )

    I created the database link:

    Create database link zdalny
    Connect to < user_id > identified by < password >
    using "CT".

    Customer cannot connect with server when I do not use above the command. But when I change 'use' for using "krzysztof:1521" or by using "krzysztof" or "server IP:1521" - everything is ok.

    Why I ask. Because in all the materials that I read about Oracle command with the help of "CT" should work correct. But there is no. Do you know why?

    Thanks in advance and apologize me for my English.

    Rgds
    Krzysztof

    Here's the tnsnames of your server, but to connect to the oracle server db (any client or to another instance of db oracle), you must install oracle client.
    However, in your condition, you want to connect the DB1 Oracle OracleDB2 using a link db, I'm right? In this case you should always set the entry in the tnsnames.ora
    To verify that you can connect to Oracle DB2 from DB1 Oracle, you can use tnsping in the command line.
    In your case

    c:\tnsping CT
    

    Krzysztof Szymaniak wrote: CT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    Check your tnsnames entry in the machine, you are trying to connect to. And check if the tnsping is successful.
    Sometimes the error message says not everything, which means that you need to troubleshoot yourself and learn from the experience.
    Always in the opposite case, refer to the documentation.

    See you soon.

    Published by: Spongebob December 14, 2011 09:30

  • ORA-28545 on mySQL - Oracle database link

    Hi all
    I am trying to establish a connection to the mySQL to oracle database.
    Oracle database is running on the 64-bit windows 2003 and version 10.2.0.4.0 computer.
    My init < dbname > and tnsnames, listner looks like this and I can create links from the database without any problems at all. Also oracle for oracle database links work properly on this 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 to start the listner and then make 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 no problem.
    create database link booklink connect to bookuser identified by ITDepartment using 'BOOKDB';
    And then I try to run the small request.
    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 BOOKLINK
    If anyone can help me regarding this error.

    Published by: Mariam on July 20, 2010 04:08

    Published by: Mariam on July 20, 2010 04:09

    There was no HSODBC for Windows 64-bit (take a look in the ORACLE_HOME/bin directory - there is no hsodbc.exe file at all).
    You can use product tracking V11.2 DG4ODBC place. 11.2 DG4ODBC was the first certified on 64-bit Windows lets connect you from your Oracle 10.2.0.4 Database 11.2 DG4ODBC which then connects with the 64-bit ODBC driver to the MySQL database.

    You only need to make sure to install DG4ODBC 11.2 in its own ORACLE_HOME - do not install it in your 10.2.0.4 already existing directory ORACLE_HOME - otherwise you will corrupt the existing installation of 10.2.

    Published by: kgronau on July 20, 2010 14:13

  • Authentication of database through the database link

    Is it posible to use database authentication in the APEX by link of database and how?

    Also is it posible to reading user roles through the database link?

    Database links to establish the connection, so you lose the context regarding which is recorded in a single user.

    Custom authentication can do some PL/SQL you need, but I would say that replicate your tables locally through something as materialized views.

    You could also potentially be used dba_role_privs, but do not forget roles can be turned on/off.

  • SpeedGrade CC14 does not open when you use the "Direct Link to Adobe SpeedGrade... "of PremierePro CC14.

    SpeedGrade CC14 does not open when you use the "Direct Link to Adobe SpeedGrade... "of PremierePro CC14.

    I can open the SG of start menu/desktop computer and I can open the PP project in SG very well. The PP project contains 3 deadlines and I take one I want without any problem. Returning to the SG PP works fine as well. It seems only thing doesn't work does not automatically open the PP file and selecting the correct timeline in the Official Journal of the project.

    I had a glance at the "C:\Users\john Bishop images\AppData\Roaming\Adobe\SpeedGrade\8.0\logs\SpeedGrade.log ' but it is not updated when I try to use the link Direct from PP. command It updated when I invoke the start menu/desktop computer SG. Note that none of the other newspaper, the files are updated either (Plugin Loading.log, Database.txt Trace and Debug Database.txt). All these get updated when I run the desktop/start. It would appear that SG is not yet known.

    I uninstalled the SG and the PP and re-installed (all in the directories by default) and everything seemed to go OK but no change.

    I also added 2 political profile the NVIDIA Control Panel, just display a message when loading SpeedGrade.exe and another for a slightly different message when loading SpeedGradeCmd.exe. SG invoking the desktop/start causes the SpeedGrade.exe message to display. Using the 'Direct link' PP file option does not display anything, reinforcing my thought that SG is just never called from PP.

    SP1 Windows 7 Professional 64 bit

    12 GB OF RAM

    2-Intel Xeon E5640 (16 sons) processors

    NVIDIA GeForce GTX580 1536 MB memory graphics

    PS... I used the Adobe cleaning tool noted elsewhere and tried NVIDIA workarounds as well - all to nothing does not.

    Problem solved!

    My Antivirus software was in the way. Once I have updated, things work fine.

    Thanks for your help!

  • I want to use the database to 10g control

    Hello

    I installed oracle 10g on Windows client. He installed Oracle Enterprise Management Console.

    I created all of my databases by using create database on a UNIX server instructions.

    Now, I want to use the database to monitor these databases. How can I do this? I don't see a link or the icon of the database command console.

    Thank you

    OracleGuy777 wrote:
    Hello

    I installed oracle 10g on Windows client. He installed Oracle Enterprise Management Console.

    How did you do that?

    If you talk about the control of database (http), once to create the DB control repository (which should be on the UNIX server), and then use the URL and the Port number that you learned at the end of the installation to access it from the Windows machine. This should be in the format:

    http://yourunixservername:port / em

    for example

    http://dbmsdirect01:1158 / em

    or

    https://dbmsdirect01:1158 / em



    Oracle database FAQ

Maybe you are looking for