ORA-02443 & ORA-00955

Hello guy;
I have a table with a unique constraint which should be made of three keys but made of one key. I decided to drop it and re-create it with the three keys but I got a message saying that says "ORA-02443: Cannot drop constraint - nonexistence constraint". And whenever I try to recreate that constraint with the same name, I get "ORA-00955: name already used bu an existing object."
What do I need to do because I am frustrated with this controversial error message?
Plz help.

Welcome to the forum.
Make sure to read {message:id=9360002} from the SQL and PL/SQL FAQ @ https://forums.oracle.com/forums/ann.jspa?annID=1535
Is your constraint created as quoted identifier? (between '"'s?):
{code}
SQL> create table t (col number);
Table created.
SQL> alter table t add constraint "t_Uk" unique(col);
Table altered.
SQL> alter table t drop constraint t_uk;
alter table t drop constraint t_uk
ERROR at line 1:
ORA-02443: Cannot drop constraint - nonexistent constraint
SQL> alter table t drop constraint "t_Uk";
Table altered.
{code}

Similar Messages

  • SQL   Loader and Error ORA-01847/ORA-01839

    Hi,
    While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
    Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
    Thanks
    Jibin

    In internet I found this short message:
    “AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
    If you have same table definitions in both databases you likely face error ORA-12899.
    This metalink note discusses this problem, it's also applicable to sqlloader:
    Import reports "ORA-12899: Value too large for column" when using BYTE semantic
    Doc ID: Note:563893.1”
    By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
    I'm waiting you suggestion... thanks very much in advance.
    Regards.
    Giovanni

  • ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION"

    Hi,
    I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
    The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
    ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
    I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
    ==========================================================
    EXCEPTION
         WHEN OTHERS THEN
              WF_CORE.context (
              'WFCustCheck',
              'MisCustDataFromTableDoc',
              document_id,
              display_type,
              document,
              document_type,
              SQLERRM
    RAISE_APPLICATION_ERROR (-20006, SQLERRM);
    ==========================================================
    But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
    What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
    Please let me know.
    Thanks

    Hi,
    Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
    The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
    Are you using documents to send the notification, or are they purely defined in the .wft file?
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com
    NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com

  • Difference between ORA-00018 & ORA-00020

    Hi experts,
    I am confused about ORA-00018 & ORA-00020, it easier to understand how number of session increased [ora-18],
    but what are the special causes that increase number of oracle processes [ora-20] ?
    Thanks in advance.

    There is a relationship between sessions on a database and the
    number of
    processes. What happens if we increase the number of sessions without
    increasing the number of processes???
    The parameters SESSIONS and PROCESSES determine the
    size of two arrays in the SGA.
    If you try to create more sessions on an instance than specified
    by the SESSIONS parameter, you will get an ORA-00018: maximum
    number of sessions exceeded.
    If you try to create more processes on an instances than specified
    by the PROCESSES prameter, you wil get an ORA-00020: maximum
    number of processes exceeded.
    The number of sessions and processes on your instance can been
    seen using a COUNT(*) against V$PROCESS and V$SESSION.
    Your job is to determine resonable values, so your users can continue
    to work without getting neither ORA-18 nor ORA-20 during normal
    conditions. (A run away job, that keeps starting new sessions is not
    a normal condition, and it should be stopped by ORA-18 or ORA-20
    whichever happens first).
    You can join the two V$-views using the columns V$SESSION.PADDR
    and V$PROCESS.ADDR.
    It is quite normal to see a 1:1 relationship between processes
    and sessions. However one OCI-program can create multiple
    sessions belonging to one process. Users of Oracle Portal
    will experience this behaviour.
    The default value for SESSIONS is 1.1*PROCESSES + 5.
    It is appropriate for some databases and inappropriate for
    others (e.g. Oracle Portal).
    Also, I remember a limit on the OS regarding the number of processes
    allowed per Oracle user - also I know there is a semaphore
    relationship.
    On HP-UX there is a kernel parameter called NPROC. Like
    PROCESSES and SESSIONS it should have a reasonable
    value.
    answered by
    Jesper Haure Norrevangsource:-http://ora-00020.ora-code.com/msg/40800.html

  • Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir

    I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
    When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
    SQL> conn system/system@botsdb
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    I tried the same from my laptop through sqlplus and the error message is the same.
    I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
    SQL>Select * from v$database;
    SQL>Select * from v$instance;
    SQL>Select * from tab;
    These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
    It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
    Can someone please guide me to sort this error?
    Thanks and kind regards,
    Aparna

    Hi
    I am answering all the three questions here.
    1) No of instances on the machine, I understand it is 1.
    2) Results of lsnrctl status
    oracle@linuxserver:~> lsnrctl status
    LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
    Start Date 27-JUL-2010 11:24:12
    Uptime 0 days 21 hr. 55 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
    Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "metarep.dcdm.mu" has 1 instance(s).
    Instance "metarep", status READY, has 3 handler(s) for this service...
    The command completed successfully
    --Note that lsnrctl status command was issued after loading 10ginfra.env file.
    Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
    oracle@linuxserver:~> . ./10gdb.env
    oracle@linuxserver:~> lsnrctl status DBLISTENER
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
    STATUS of the LISTENER
    Alias DBLISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 27-JUL-2010 15:11:28
    Uptime 0 days 18 hr. 13 min. 15 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
    Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
    Services Summary...
    Service "BOTSDB" has 1 instance(s).
    Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    3) The output of ps -ef |grep pmon is
    oracle@linuxserver:~> ps -ef |grep pmon
    oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
    oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
    oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
    The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
    oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
    # listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10ginfra)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_DBLISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = BOTSDB)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    DBLISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
    Kind regards,
    Aparna

  • Errors-Ora-01157,ORA-01110,ORA-01033

    HI all,
    i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
    archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
    through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
    error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
    HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
    THANKS,
    MIKE

    Well, did you check f.i. your alert.log and other dumps?
    They will be on your server in the bdump, udump, cdump directories:
    Where to Find Files for Analyzing Errors
    Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
    Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
    * $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
    * %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
    Some files may also be in the udump directory.
    In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
    Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
    (http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512)

  • Errors ORA-01034, ORA-27101 and ORA-01033

    Hi!
    I have Oracle 9i DB and DevSuite 10g installed on my laptop. There are three databases on my machine.
    Recently, I tried to install Oracle Discoverer 10g and that's where the problem started. I could no longer connect to the databse using either SQL*Plus, TOAD or even from the front end application.
    I realised that some of the regisrty entries were no longer in place after the Discoverer installation. After doing these entries, I am still getting the following errors while connecting:
    ORA-01034 : Oracle not available
    ORA-27101 : Shared memory realm does not exist
    After doing the following entries in the registry, for the default database, I'm getting the 'ORA-01033 : Oracle Initialization or shutdown in progress' error while connecting for that particular db:
    ORACLE_SID=DTA
    ORA_DTA_AUTOSTART=TRUE
    ORA_DTA_SHUTDOWN=TRUE
    ORA_DTA_SHUTDOWN_TIMEOUT=30
    ORA_DTA_SHUTDOWNTYPE=i
    And for the other two DBs, the errors ORA-01034, ORA-27101 remain the same.
    Can anyone please help?
    Best regards,
    Aparna

    Have you checked your Windows services for the Oracle instances? Started and set to auto-start on boot.
    Also check your $path variable to make sure the Oracle home(s) appear in the path
    HTH -- Mark D Powell --

  • ORA-02068 + ORA-03135

    Hi,
    we are getting this two ORA-02068 + ORA-03135 errors on application side using dblink .... can any one pls help....
    for 03135 we did some changes on db side .. what about ORA-02068 , is there is any action we have to made for this 2068 error
    Thanks,

    Hi,
    I have a similar problem... but more strange...
    The customer have an aplication on JBOSS with a Oracle database 10.2.0.4.
    When the user is logged in the application, he makes a query through the application, this query run a procedure that makes a select on the DB local an conects a remote DB with a db_link connection, with a synonym on the table remote and the procedure that fails
    This procedure have a EXCEPTION clause at the end, that insert in a "error table" that shows the following information:
    PET_ID ERROR DESCRIPTION F_CREATION USER_CREATION
    4565 -2068 ORA-02068: error grave de DB_COSTES 25/05/2011 09:41;11 [jboss]-xxxxxxxxx
    ORA-03135: la conexión ha perdido contacto
    4566 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;47 [jboss]-xxxxxxxxx
    4567 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;48 [jboss]-xxxxxxxxx
    4568 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;49 [jboss]-xxxxxxxxx
    The error "ORA-01001: cursor no válido" appears on the "error table" when the user tries to re-run another searh in the application
    The DBA (in client side) must drop/create the synonym on the table and recompile the procedure to be able to work again... so, this error INVALID the procedure.
    It's not for iddle time of application, because I asked for the user and he said me that when he logged at the first time in the morning, and make the search, he got the error too.
    Can anybody help me?
    Thank you
    Bond2

  • ORA-20500+ ORA-02055+ORA-02068+ORA-03113

    i got this error in my front end .....any idea what might be the reason?
    Failed: ORA-20500: ORA-20500: ORA-20500: ORA-20500:
    ORA-02055: distributed update operation failed;
    rollback required
    ORA-02068: following severe error from MUDR2SEBL(db_link name)
    ORA-03113: end-of-file on communication channel
    Thanks all
    Gagan

    The remote site (server process) crashed. There should be something in the alert.log, and trace file on the remote site.
    It may also be the local site, so also look for local trace files.

  • ORA-02068+ORA-03113 on database link

    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    Rudi

    Rudi wrote:
    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support

  • When trying to create new DB ORA-01109 ORA-01092

    Hi all,
    When I try to create a new database on a two-node clustered machine using dbca and the "General Purpose" template, it returns ORA-01109 ORA-01092 errors.
    Following is what I did:
    1. Installed Oracle 10 Release 2 on the two Oracle Enterprise Linux 4.5 nodes
    2. Installed patch set 3 (upgrade from 10.2.0.1 to 10.2.0.4)
    3. Installed Oracle clusterware on both nodes
    4. Installed ASM instance
    5. when I used the dbca to create a new db, it returns DB ORA-01109 ORA-01092
    I guess, the reason is that the seed of the "General Purpose" template was not upgraded by the patch set. If this is the case, my questions are:
    *(1) Why the patchset didn't upgrade the template seeds? Is it a bug?*
    *(2) How to upgrade the template seeds?*
    Oracle 10g R2 (10.2.0.4) on Oracle EL 4.5
    Following is a copy of a few last lines in the log generated by the dbca:
    [Thread-158] [10:22:57:99] [CloneDBCreationStep.executeImpl:352]  createCtl=Create
    controlfile reuse set databa se "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477',
    [Thread-158] [10:22:57:100] [CloneDBCreationStep.executeImpl:359]  crtCtl=Create
    controlfile reuse set database  "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477'
    [Thread-158] [CloneDBCreationStep.executeImpl:374]  Length of OriginalRedoLogsGrNames=2
    [Thread-158][CloneDBCreationStep.executeImpl:382]  0th redoLogText = GROUP 1  SIZE 51200K
    [Thread-158][CloneDBCreationStep.executeImpl:382]  1th redoLogText = GROUP 2  SIZE 51200K
    [Thread-158][CloneDBCreationStep.executeImpl:403]  createCTLSql=Create controlfile reuse
    set da tabase "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477'
    LOGFILE GROUP 1  SIZE 51200K,
    GROUP 2  SIZE 51200K RESETLOGS;
    [Thread-158] [10:23:22:541] [CloneDBCreationStep.executeImpl:415]  calling zerodbid
    [Thread-158] [10:23:41:517] [CloneDBCreationStep.executeImpl:425]  Shutdown database
    [Thread-158] [10:23:41:717] [CloneDBCreationStep.executeImpl:447]  Startup ......nomount......
    [Thread-158] [10:23:57:523] [CloneDBCreationStep.executeImpl:455]  deleting dummy control file from v$controlfi le: +DG1/rac/controlfile/current.281.705320591
    [Thread-158] [10:24:1:293] [CloneDBCreationStep.executeImpl:455]  deleting dummy control file from v$controlfil e: +DG2/rac/controlfile/current.265.705320595
    [Thread-158] [10:24:24:628] [CloneDBCreationStep.executeImpl:466]  Enabling restricted session.
    [Thread-158] [10:24:29:60] [CloneDBCreationStep.executeImpl:468]  alter database "rac" open resetlogs;
    [Thread-156] [10:24:58:683] [BasicStep.handleNonIgnorableError:430]  oracle.sysman.assistants.util.UIMessageHan dler@1b8099a:messageHandler
    [Thread-156] [10:24:58:703] [BasicStep.handleNonIgnorableError:431]  ORA-01092: ORACLE instance terminated. Dis connection forced

    alertlog tail contents:
    SMON: enabling cache recovery
    Fri Dec 11 10:24:57 2009
    Errors in file /u01/app/oracle/admin/rac/udump/rac1_ora_5482.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Fri Dec 11 10:24:57 2009
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Instance terminated by USER, pid = 5482
    ORA-1092 signalled during: alter database "rac" open resetlogs...

  • SQL*LOADER ERROR 비교 (ORA-2359, ORA-1401)

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-09
    SQL*LOADER ERROR 비교 (ORA-2359, ORA-1401)
    ==========================================
    PURPOSE
    SQL*LOADER 를 사용하는 경우 ORA-2359 ERROR가 나는 경우와
    ORA-1401 ERROR가 나는 경우를 비교한다.
    Examples
    table 의 desc가 다음과 같다고 가정하자.
    SQL> create table test5(a varchar2(1000));
    이 경우 delimiter 가 comma 인지 position 으로 구분되는지에 따라 error
    message가 달리 나타난다.
    1) ORA-2359 : field in datafile exceeded maximum specified length
    load data
    infile test.dat
    replace
    into table test5
    fields terminated by ','
    (a char) 로 실행 시 발생.
    ---> a char(1000) 으로 하면 error 해결이 가능하다.
    2) ORA-1401: inserted value too large for column
    load data
    infile test.dat
    replace
    into table test5
    fields terminated by ','
    (a position(1:2000) char)
    ---> 이 경우 a position (1:1000) char 로 하면 해결 가능하다 .
    * 참고로 + , - 기호와 comma 를 load 하기 위해서는 decimal external을
    사용한다. (a position decimal external (10))
    Reference Documents
    ---------------------

    You hit Bug 3531336
    Run the script catcio.sql from $ORACLE_HOME/rdbms/admin directory.
    Run this in sys schema.
    And then load the data with sqlloader.

  • ORA-00604 ORA-00904 When query partitioned table with partitioned indexes

    Got ORA-00604 ORA-00904 When query partitioned table with partitioned indexes in the data warehouse environment.
    Query runs fine when query the partitioned table without partitioned indexes.
    Here is the query.
    SELECT al2.vdc_name, al7.model_series_name, COUNT (DISTINCT (al1.vin)),
    al27.accessory_code
    FROM vlc.veh_vdc_accessorization_fact al1,
    vlc.vdc_dim al2,
    vlc.model_attribute_dim al7,
    vlc.ppo_list_dim al18,
    vlc.ppo_list_indiv_type_dim al23,
    vlc.accy_type_dim al27
    WHERE ( al2.vdc_id = al1.vdc_location_id
    AND al7.model_attribute_id = al1.model_attribute_id
    AND al18.mydppolist_id = al1.ppo_list_id
    AND al23.mydppolist_id = al18.mydppolist_id
    AND al23.mydaccytyp_id = al27.mydaccytyp_id
    AND ( al7.model_series_name IN ('SCION TC', 'SCION XA', 'SCION XB')
    AND al2.vdc_name IN
    ('PORT OF BALTIMORE',
    'PORT OF JACKSONVILLE - LEXUS',
    'PORT OF LONG BEACH',
    'PORT OF NEWARK',
    'PORT OF PORTLAND'
    AND al27.accessory_code IN ('42', '43', '44', '45')
    GROUP BY al2.vdc_name, al7.model_series_name, al27.accessory_code

    I would recommend that you post this at the following OTN forum:
    Database - General
    General Database Discussions
    and perhaps at:
    Oracle Warehouse Builder
    Warehouse Builder
    The Oracle OLAP forum typically does not cover general data warehousing topics.

  • KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE

    제품 : FIN_AP
    작성날짜 : 2002-12-02
    KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE
    ===================================================================
    PURPOSE
    Multi-Org 환경속에서 Kr Tax Localization Report 실행시의 ORA-20000, ORA-06512 Error Message 를 해결한다.
    Problem Description
    Kr Tax Localization의 Reports가 Error를 발생하고, View Log를 통해 확인한 Message가 다음과 같을 경우
    ORA-20000: APP-00001: Unable to find message:
    AR_NO_ROW_IN_SYSTEM_PARAMETERS
    ORA-06512: "APPS.ARP_STANDARD", 줄 999에서
    ORA-06512: "APPS.ARP_STANDARD", 줄 2246에서
    ORA-06512: "APPS.ARP_UTIL", 줄 29에서
    ORA-06512: "APPS.ARP_UTIL_TAX", 줄 111에서
    ORA-06512: "APPS.ARP_TAX_EXTRACT", 줄 6178에서
    ORA-06512: 줄 1에서
    Workaround
    Solution Description
    1) fnd_client_info.set_org_context(<org_id>);
    or
    2) v_org_id varchar2(10);
    v_org_id := fnd_profile.value('ORG_ID');
    fnd_client_info.set_org_context(v_org_id);
    .rdf 의 경우 : Before Report Trigger 에 추가
    .sql (Package Body, Procedure) 의 경우 : 각 Begin 절 이후
    Reference Documents
    -------------------

    제품 : FIN_AP
    작성날짜 : 2002-12-02
    KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE
    ===================================================================
    PURPOSE
    Multi-Org 환경속에서 Kr Tax Localization Report 실행시의 ORA-20000, ORA-06512 Error Message 를 해결한다.
    Problem Description
    Kr Tax Localization의 Reports가 Error를 발생하고, View Log를 통해 확인한 Message가 다음과 같을 경우
    ORA-20000: APP-00001: Unable to find message:
    AR_NO_ROW_IN_SYSTEM_PARAMETERS
    ORA-06512: "APPS.ARP_STANDARD", 줄 999에서
    ORA-06512: "APPS.ARP_STANDARD", 줄 2246에서
    ORA-06512: "APPS.ARP_UTIL", 줄 29에서
    ORA-06512: "APPS.ARP_UTIL_TAX", 줄 111에서
    ORA-06512: "APPS.ARP_TAX_EXTRACT", 줄 6178에서
    ORA-06512: 줄 1에서
    Workaround
    Solution Description
    1) fnd_client_info.set_org_context(<org_id>);
    or
    2) v_org_id varchar2(10);
    v_org_id := fnd_profile.value('ORG_ID');
    fnd_client_info.set_org_context(v_org_id);
    .rdf 의 경우 : Before Report Trigger 에 추가
    .sql (Package Body, Procedure) 의 경우 : 각 Begin 절 이후
    Reference Documents
    -------------------

  • DataGuard Continuing to Fail - ORA-16766, ORA-01237 - OPSCODE 17.4

    DataGuard Broker failing every few hours ... have to stop and restart. ORA-16766, ORA-01237. I cannot find any information on the failure apply recovery marker (opscode 17.4).
    The thought would be from the errors that the volume is out of space, we are running NETAPP and the volumes do auto expand but when I looked the volume it was only at 44% full at 1600 yesterday when I restarted and today I it is at 28%.
    These are BIGFILE tablespace. I have restarted multiple times and keep getting the same errors daily and I just end up restarting and everything works again w/o intervention.
    I don't want to daily have to check dataguard. If I don't run dg and just run "recover standby database until cancel auto" ... it just keeps going w/o issue, any ideas on the problem?
    Please advise:
    OS: Solaris 5.10
    RDBMS:Oracle 11.2.0.2 64 bit
    OMF
    BIGFILE Tablespaces
    VLDB - Standby DG Database
    Created via RMAN Duplicate Database
    Dataguard Alert shows the original startup information, does some health check ... becomes quite for a few hours and then I start seeing the Redo Apply is stopped.
    2011-09-28 18:45:20.824 00000000 24342 Operation HEALTH_CHECK canceled during phase 1, error = ORA-16766
    2011-09-28 18:46:20.929 DMON: HEALTH CHECK ERROR: ORA-16766: Redo Apply is stopped
    Alert Log showing 1237 on the extend but volume is not out of space ... bigfile tablespace. I cannot find any information on the failure apply recovery marker (opscode 17.4):
    Errors in file /u02/d002/oracle/bdump/diag/rdbms/DBUNIQNAME/DBNAME/trace/DBNAME_pr00_6331.trc:
    ORA-01237: cannot extend datafile 670
    ORA-01110: data file 670: '/u07/d101/oracle/DBUNIQNAME/datafile/o1_mf_ftk_31_c_784ql3gh_.dbf'
    Managed Standby Recovery not using Real Time Apply
    Wed Sep 28 18:43:57 2011
    Recovery interrupted!
    Wed Sep 28 18:44:29 2011
    Archived Log entry 2805 added for thread 1 sequence 135638 ID 0x249d4159 dest 1:
    Wed Sep 28 18:44:41 2011
    Recovery stopped due to failure in applying recovery marker (opcode 17.4).
    Datafiles are recovered to a consistent state at change 22941677700 but controlfile could be ahead of datafiles.
    Wed Sep 28 18:44:42 2011
    MRP0: Background Media Recovery process shutdown (DBNAME)
    Wed Sep 28 18:46:04 2011
    Trace FIle showing the same problem as the alert ...
    Started Parallel Media Recovery
    *** 2011-09-28 16:14:52.074 4265 krsh.c
    Managed Standby Recovery starting Real Time Apply
    *** 2011-09-28 18:43:08.759 4265 krsh.c
    MRP0: Background Media Recovery terminated with error 1237
    ORA-01237: cannot extend datafile 670
    ORA-01110: data file 670: '/u07/d101/oracle/DBUNIQUNAME/datafile/o1_mf_ftk_31_c_784ql3gh_.dbf'
    *** 2011-09-28 18:43:08.779 4265 krsh.c
    Managed Standby Recovery not using Real Time Apply----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 54581570Kb in 8888.95s => 6.00 Mb/sec
    Total redo bytes: 54636866Kb Longest record: 81Kb, moves: 49633/139704932 moved: 130Mb (0%)
    Longest LWN: 118127Kb, reads: 45176
    Last redo scn: 0x0005.576e3884 (22941677700)
    Change vector header moves = 18603031/273716057 (6%)
    *** 2011-09-28 18:43:08.816
    Media Recovery drop redo thread 1
    *** 2011-09-28 18:43:56.660
    Completed Media Recovery
    *** 2011-09-28 18:44:00.869
    Checking to start in-flux buffer recovery from SCN 5.1465762230 to SCN (non-inclusive) 5.1466841220
    Influx recovery found in-flux buffers
    *** 2011-09-28 18:44:00.874
    Influx Media Recovery add redo thread 1
    *** 2011-09-28 18:44:36.493
    Resized overflow buffer to 52335K (for 52335K LWN)
    *** 2011-09-28 18:44:38.887
    Resized overflow buffer to 63165K (for 63165K LWN)
    *** 2011-09-28 18:44:41.686
    Managed Recovery: Not Active posted.

    It appears to be a problem that occurs every time an OMF file wants to extend that it kills the dataguard process irrelvant of what volume the file is on.

Maybe you are looking for