ORA-00604 and ORA-00036

Today on another data base that we get this error:
ORA-00604: ERROR OCCURRED AT THE SQL LEVEL RECURSIVE 51
ORA-00036: MAXIMUM NUMBER OF LEVELS OF RECURSIVE SQL (50) EXCEEDED.

Today has been deployed a new web application...

Take a look at these notes:
ORA-600 [17281] [36] and ORA - 36 during trigger execution against unowned object [ID 1017051.102]
Connect fails with Oracle ORA-00603 Server Session completed [338484.1 ID]

Tags: Database

Similar Questions

  • ORA-1403, ORA-00604 and ORA-20000

    Kindly help... is we face two errors

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    Alerts log error:

    ORA-1403 encountered alert server SMG-4120

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


    After importing the DB, the following error message is displayed by creating materialized views.

    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20000: Trigger xdb_installation_trigger does not support the creation of objects of
    type of snapshot

    PL don't post duplicates - ORA-1403, ORA-00604 and ORA-20000

  • error ora-00036 maximum number of levels of sql recursive (50) exceeded

    I have a trigger of the declaration on the LEVELS table, I want to update COMPONENTS field when another field is changed in TIERS, in order to avoid the calculations, I used to ch line shutter COMPONENTS to complete a package, but I get this error ora-00036 maximum number of recursive sql exceeded (50)

    It's my trigger:

    create or replace trigger DBTRGA_UPD_TIERS

      after update on tiers 

     

      I INT ;

     

      FOR I IN (PKG_TIERS. TAB. FIRST)... (PKG_TIERS. TAB. Last) LOOP

    UPDATE to levels

    PUT REFERENCE_EXTERNE = "YYYY"

    WHERE LEVELS = PKG_TIERS. TAB (I). I_TIERS;

      END LOOP;

    end DBTRGA_UPD_TIERS;


    This is ma for each trigger line:

    create or replace trigger DBTRGA_UPD_TIERS_E

    after Update FOR CODE_TYPE_TIERS on LEVELS

      for each row

    V_CPT INTEGER ;

      IF : NEW. CODE_TYPE_TIERS IS NOT NULL THEN

    IF PKG_TIERS. TAB. LAST IS NULL THEN

    PKG_TIERS. TAB(1). I_TIERS: =: NEW. BLEACHERS;

    PKG_TIERS. TAB(1). CODE_TYPE_TIERS: =: NEW. CODE_TYPE_TIERS;

       ELSE

    V_CPT: = PKG_TIERS. TAB. LAST + 1;

       END IF;

      END IF;

    end DBTRGA_UPD_TIERS_E;

    Clearly, you have past of recursion.  After updating the table of LEVELS, then a statement trigger level (after update) as the fires that updates the table LEVELS... which will cause then itself to once again fire... which will cause himself to fire once again... which will cause itself to the light again... etc etc.

    If it is a business logic that should be implemented, so you don't want to include it as a trigger, you want to just have a code in a package that updates the table once.

    If it were me, I would scrap two triggers in this case.  Have a trigger is fired for each row updated (in SQL) which has then cross to the PL/SQL package for details of this update line, means you to act so the context switching between SQL and PL/SQL for each update line, which will affect the performance of the updates.

    Explain what you're actually trying to do (business logic), with a few examples and data tables and we might be able to propose a better approach, which is not abusing triggers in this way.

  • ORA-00604 and ORA-01450 during index creation

    Hi all


    While trying to create the index on a partitioned table online, I confronted the following errors:

    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-01450: length maximum key (3215) exceeded

    I'm on oracle 10G and Linux OS.


    Here's the query I use to the index:

    CREATE INDEX DBNAME.TABLE_NAME_NAME1_SN_IDX ON DBNAME.TABLE_NAME
    (NAME1_SN)
    
      TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
      INITRANS   2
    
      MAXTRANS   255
    
    NOLOGGING
    
    LOCAL (  
    
      PARTITION INDEXNAME_ABC_20080101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080301
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080401
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080501
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080601
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080701
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080801
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20080901
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20081001
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20081101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20081201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090301
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090401
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090501
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090601
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090701
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090801
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20090901
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20091001
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20091101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20091201
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100102
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100103
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_20100104
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201005
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201006
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201007
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201008
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201009
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201010
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201011
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201012
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201101
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201102
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201103
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201104
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201105
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201106
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201107
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201108
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201109
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_201110
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   ),  
    
      PARTITION INDEXNAME_ABC_MAX
    
        NOLOGGING
    
        NOCOMPRESS
    
        TABLESPACE DBNAME_INDEXNAME_ABC_IDX_TS
    
        PCTFREE    10
    
        INITRANS   2
    
        MAXTRANS   255
    
        STORAGE    (
    
                    INITIAL          64K
    
                    MINEXTENTS       1
    
                    MAXEXTENTS       UNLIMITED
    
                    BUFFER_POOL      DEFAULT
    
                   )
    
    )
    
    NOPARALLEL online;
    Any suggestions...


    Thanks and greetings
    KK

    Hello

    as already indicated the error: exceeded key length. So how is the column as defined name1_sn? If she varchar2 (4000) os, then you get this kind of error. Then, one must look for Oracle Text index these fields.

    Herald tiomela
    http://htendam.WordPress.com

  • I forgot my password for SYS and SYSDBA and used orapwd

    Hi all

    I installed Oracle 11 g and succeeded in creating the ORCL database as well. I also run a script to create another data base, but there were tables that were generated automatically by the system as the _CHANGE_HANDLERS of $ APPLY with many other names of tables with ' $'. I tried to drop these tables but ORA-00604 and error ORA-00942 kept appearing.

    I thought maybe I need to connect as SYSDBA, but I forgot the password during installation, so I used the Oracle_Home\BIN\orapwd. CMD prompt is appeared, but quickly disappeared.

    I appreciate all help:
    1. I need to change the password SYSDBA
    2. I need to remove the unwanted tables created by the system.

    Thanks in advance

    the correct name of the pwd under Windows file is PWD.ora.

    for example PWDorcl.ora

    then purchase order to:

    orapwd file=PWD.ora password=newpassword entries=5 FORCE=Y
    

    and replace the old.

  • Install the project controls error on Unifier 15.2

    Hi all

    I already have several installation to unify without problems and today I can't run installation project controls.

    I have this error error message ORA-00604 and ORA-01000.

    Suite Oracle Primavera-2016-02-19-11-28-42.png

    My company is created but I have no control of project module (no PB, no data items,...)

    Do you know how to solve?

    Thank you in advance

    Thomas

    Hello

    I encountered the same error in one of the previous versions. Using the solution of the below document helped to solve:

    https://support.Oracle.com/epmos/faces/DocumentDisplay?_afrLoop=548450067167268&ID=1998498.1&DisplayIndex=2&_afrWindowMode=0&_adf.CTRL-State=j6t23h8x1_86

    ' 1. stop the unifying server.
    2. increase the sliders open to 1000 as indicated in the installation guide page 15
    3. slide the unifying user
    4 re-create the unifying user and grant permissions as described in the installation guide
    5. start the unifier and install the application again. »

  • statement-level trigger

    in the oracle documentation that he is mentioned and triggering a table for the level of instruction is not mutation.


    but I get an error is not the mutation can you please explain why I get it

    Here is the code

    create table t1 as
    Select first_name, last_name, employee_id
    of hr.employees;
      create or replace trigger trg1
                 before update
                 on t1
                 declare
                     v_name varchar2(10);
                 begin
                      update t1 
                      set first_name = upper(first_name);
                 end ;
    SQL > update t1
    Set name = name | "" Raina ".
    Update t1 set name = name | "" Raina "
    *
    ERROR on line 1:
    ORA-00036: maximum number of recursive SQL level excee (50)
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1', line 4
    ORA-04088: error during execution of trigger ' PLSQL. TRG1'
    ORA-06512: at "PLSQL. TRG1 ", l".

    Edited by: 810345 may 6, 2011 21:04

    You have coded an infinite loop. Your trigger updates all T1 lines, which causes the trigger to fire again, that updates all rows in T1 that causes the trigger to fire again.

    The table is not changing so you can question him. But you can't also encode a trigger that can be pulled in an infinite loop.

    Justin

  • Problem with shutter button INSTEAD of

    Hello world

    I have a v_test of view. Create an INSTEAD OF trigger on it. When I try to insert on the view, it is throwing an error like ' ORA-00036: maximum number of levels SQL recursive (50) exceeded "." Please help me how come from there.

    Please find below Stmts DDL;

    CREATE TABLE test (id NUMBER,
    name VARCHAR2 (10 CHAR),
    SAL NUMBER,
    dept_id NUMBER);
    /

    VIEW to CREATE or REPLACE v_test
    IS
    SELECT * FROM test;
    /

    Trigger code:

    CREATE OR REPLACE TRIGGER TR_V_TEST
    Instead of the INSERT on V_test
    FOR EACH LINE
    BEGIN
    INSERT INTO V_test VALUES(107,'VEERA',20000,30);
    END;
    /

    Thanks in advance!

    Thank you
    Florian...
    CREATE OR REPLACE TRIGGER TR_V_TEST
    INSTEAD OF INSERT ON V_test
    FOR EACH ROW
    BEGIN
    INSERT ITNO V_test VALUES(107,'VEERA',20000,30);
    END;
    

    The problem is in the above definition of the trigger.

    This will result in recursive SQL because each time that you insert in the view, the trigger is fired and in your body to trigger you try again to insert in the same point of view.

    INSERT ITNO V_test VALUES(107,'VEERA',20000,30);
    

    the above should be replaced by another table

  • "Create Sequence statement" simple giving ORA 00604,06502 and 00955 while giving only 00955 in another environment

    Hello

    We have two Oracle 11 g R2 databases hosted on the AIX platform and running the same 'create the sequence' gives me different error messages

    Create sequences "IDS_B88E01_SEQ" START BY INCREMENT of 1 BY 1; 


    1 database

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Second time in a row below "create the sequence" statement gives me AN error message

    ORA-00955 - name already used by an object existing.

    Database 2

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Second time in a row below "create the sequence" statement gives me FOUR error messages

    ORA 00604 - an error has occurred at the SQL level recursive 1

    ORA-06502-pl/sql: digital error or value

    ORA 06512 - line 11

    ORA-00955 - name already used by an existing object



    Will there be other parameters in the database that you might be aware that leads to the different exception handling?

    I really need a mechanism which will be generic to the environment of exception handling

    It will be a ddl after initiation... Triggering event will be 'DDL '.

  • ORA-01194 and ORA-00604 when using backup controlfile set #2

    Oracle 11.2.0.1 database version
    Enterprise Linux 5.4
    Database is in archivelog mode.

    I'm trying to recover a database according to a backup controlfile to trace #2. Create the controlfile works very well, but recover the database fails.

    From what I understand, the recovery fails because it cannot roll forward - 39 sequence is in the online missing redo log file. However, the database opens with the restlogs option and I understand that it should use the archivelogs in order to roll back. Since it is a new controlfile he does not know the archivelogs, but he does not accept to register or use archivelog files.

    The recovery as shown in set #2 doesn't seem to work as expected. Any ideas?

    Following errors:
    SQL>  CREATE CONTROLFILE REUSE DATABASE "RCAT" RESETLOGS  ARCHIVELOG etc.
    Control file created.
    
    Tyring to register on of the archivelogs does not work:
    SQL>  ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc';
     ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'
    *
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level
    
    
    Applying an existing archivelog during recovery does not work:
    
    SQL> recover database using backup controlfile until cancel
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc
    ORA-00310: archived log contains sequence 33; sequence 39 required
    ORA-00334: archived log:
    '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'
    
    
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u02/RCAT/datafile/o1_mf_system_6959kz7l_.dbf'
    
    
    ls -l /u02/fra/RCAT/archivelog/2010_09_19:
    -rw-r----- 1 oracle dba 49313280 Sep 19 00:01 o1_mf_1_33_69bfo5tx_.arc
    -rw-r----- 1 oracle dba   312320 Sep 19 00:03 o1_mf_1_34_69bft63b_.arc
    -rw-r----- 1 oracle dba 20343808 Sep 19 02:10 o1_mf_1_35_69bo6y6j_.arc
    -rw-r----- 1 oracle dba    40960 Sep 19 02:12 o1_mf_1_36_69boc9t8_.arc
    -rw-r----- 1 oracle dba    20992 Sep 19 02:13 o1_mf_1_37_69bofng4_.arc
    -rw-r----- 1 oracle dba   794624 Sep 19 02:15 o1_mf_1_38_69bokwbf_.arc
    Thank you
    Markus

    Markus Waldorf wrote:
    I think that I am aware and do not suggest to use the hidden setting.

    What worries me is that the value #2 of the controlfile to trace the contours of the database backup can be recovered even with the lack of recovery online newspapers, but apparently this is not the case. What I also don't understand, is why he simply not restore using the information of the archivelogs. The database was not shut down properly, but isn't always the case when you lose again-online newspapers?

    Here is the text of the controlfile.sql

    -Set #2. RESETLOGS case
    --
    -The following commands will create a new control file and use
    -to open the database.
    -The data used by the Recovery Manager will be lost.
    -The content of online newspapers will be lost and all backups
    -be invalidated. Use this option only if online newspapers are damaged.

    Published by: Markus Waldorf Sep 20, 2010 09:34

    You are right. But it is especially the case.perform, create the new database and will stop immediately (without demolition) and remove newspapers online OS level. And try to recover the database using backup controlfile until cancel or just recover database until cancel then enter Word Cancel and resetlogs option database open. It will work. Because it actually do not need any recovery operation. But your case you need to recover the database. You consider backup restore las and perform incomplete recovery. I think you can do the first test.

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01882: region time zone not found

    Dear all,

    IAM trying to connect to establish a connection to a database using JDBC thin oracle client. IAM getting the following error.

    Could someone help me with a solution please

    Operating system: Oracle linux

    Database Version: 12 c

    java.sql.SQLException: ORA-00604: error occurred at the SQL level 1 recursive

    ORA-01882: zone schedule region not found

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:144)

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:73)

    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1243)

    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:173)

    to com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$ 400 (SnpsDialogTestConnet.java:51)

    to com.sunopsis.graphical.dialog.SnpsDialogTestConnet$ 5.doInBackground(SnpsDialogTestConnet.java:629)

    to com.sunopsis.graphical.dialog.SnpsDialogTestConnet$ 5.doInBackground(SnpsDialogTestConnet.java:625)

    at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)

    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:947)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: java.sql.SQLException: ORA-00604: error occurred at the SQL level 1 recursive

    ORA-01882: zone schedule region not found

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:144)

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:73)

    at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:87)

    to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:228)

    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:471)

    at java.util.concurrent.FutureTask.run(FutureTask.java:262)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

    ... 1 more

    Caused by: java.sql.SQLException: ORA-00604: error occurred at the SQL level 1 recursive

    ORA-01882: zone schedule region not found

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391)

    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126)

    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:503)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)

    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:436)

    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1021)

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:682)

    at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:789)

    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:412)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:385)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:352)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:331)

    ... 6 more


    Best regards


    Hi CPR1,.

    I tried to connect to database using ODI.

    What I did at work is

    Double-click the database server--->, click Properties, and then you have the key and the value

    In the Insert key as oracle.jdbc.timezoneAsRegion, and its value is FALSE

    Thank you

    Best regards

  • Error ORA - 00604 DB creation with DBCA

    Hello

    I want to create an instance of database with MS Windows 8.1 64bits.

    So I installed the Standard Edition 12.1.0.1.16 database (12.1.0.1.0 and Patch16). Now, when I create an instance I get the error ORA-00604 in the script cloneDBCreation.sql to the command ' modify AL32UTF8 database character set INTERNAL_CONVERT '.»

    Has anyone an idea what is the problem?

    Thanks in advance.

    Kind regards

    Martin

    12.1.0.2 is only available under EA right now - see MOS Doc 1905806.1

  • Automatic failover with Transport and apply Lag fails with ORA-16798

    Hello
    I configured a physical database maximum Performance, accelerated failover mode standby. I set FastStartFailoverLagLimit to 3 hours (10800 seconds).

    If I understand the Oracle documentation, Fast-Start failover should work with Max Performance, as long the Transport timeout is whithin the FastStartFailoverLagLimit.


    So I started a few scripts, generated some loading, so I have a Transport and apply the shift of 3-4 Minutes.
    Then I killed pmon to cause an automatic failover.

    Failover failed with ORA-16798.

    I know, there is Note 846087.1 , which describes the problem, but I thought that automatic failover should work in this configuration.
    Is this a bug or am I wrong?

    Thank you very much in advance.


    Configuration Data Guard standby:
    -----------------------------------------------

    Role: STANDBY PHYSICS
    State of destination: apply
    Transport delay: 3 minutes 3 seconds (calculated two seconds ago)
    Apply the Lag: 3 minutes 26 seconds (calculated 0 seconds ago)
    Apply the rate: 23,52 MB/s
    Real-time query: OFF
    Occurrence (s):
    ...

    Properties:
    ...
    LogXptMode = "async".
    DelayMins = '0'
    Binding = "optional."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "15"
    RedoCompression = "DISABLE."
    ...

    State of the database:
    SUCCESS

    Fast failover configuration:
    -----------------------------------------------

    Fast-Start Failover: ENABLED

    Threshold: 180 seconds
    Target: < Targetname >
    Observer: < servername >
    Offset limit: 10800 seconds
    Primary closure: TRUE
    Auto-Rétablir: TRUE
    Reconnection of the observer: (none)
    Substitution of the observer: FALSE

    ...


    Messages of the DG - Log:
    -----------------------------------------------
    FAILOVER TO < DB >
    Starting failover to the < DB > database
    Notifying Oracle Clusterware to disassembly for the FAILOVER database
    02/02/2015-13:38:04
    Error running SQL = 604, sql = [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FI
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-00283: cool cancelled due to errors
    ORA-16171: RECOVER... FINISHING not allowed away for thr 1, seq 34-37
    Failed to retrieve Terminal.
    Database error resource SetState (16798)
    02/02/2015-13:38:08
    Command FAILOVER < DB > completed with error ORA-16798


    The FastStartFailoverLagLimit property specifies the amount of data, in seconds, during which the standby database target can

    delay on the main database on the recovery plan applied. If again applied Eve point database notes that many

    seconds of the primary database redo point generation, accelerated tipping is allowed.

    Errors show a gap for sequences 34-37, which is not optimal for a fast failover.

    Even if FastStartFailoverLagLimit is set to 3 hours, there is too much data loss for the standby site because newspapers are not available on the backup server and the Broker cannot activate the Pb of the day before.

    I recommend to to lean on increase the bandwidth network.

    Concerning

  • ORA-00604: an error has occurred at the SQL level 1 recursive

    Hi all

    I made the full database expdp and impdp Production to test the server its success but during the creation of any user or change password its me poster below error

    SQL > create user identified by bam bam
    2 default tablespace users
    3 tablespace temporary temp
    4 unlimited quota on users;
    create user bam identified by bam
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-06502: PL/SQL: digital or value error: character string buffer too small
    ORA-06512: at line 7


    SQL > alter user identified by 12345; system
    change the system of the user identified by 12345
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-06502: PL/SQL: digital or value error: character string buffer too small
    ORA-06512: at line 7

    kindly help me to solve this problem.

    Thank you.

    One last thing. 100% make sure error is defined as partners on the issue of Test database:

    change the system '_system_trig_enabled' = FALSE;

    And then try to create/modify the user. For example:

    SQL> create or replace
      2    trigger ORA_06502
      3      after alter
      4      on database
      5      declare
      6          v_str1 varchar2(1);
      7          v_str2 varchar2(3);
      8      begin
      9          v_str2 := 'ABC';
     10          v_str1 := v_str2;
     11  end;
     12  /
    
    Trigger created.
    
    SQL> alter user u1 identified by u1
      2  /
    alter user u1 identified by u1
    *
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 6
    
    SQL> alter system set "_system_trig_enabled"=FALSE;
    
    System altered.
    
    SQL> alter user u1 identified by u1
      2  /
    
    User altered.
    
    SQL> 
    

    SY.

  • ORA-00481 and Patch 3659289 - how to check if the patch has been applied? --

    Dear all,

    Currently my client uses the oracle 10.2.0.4.0 database (RAC). However sometimes during treatment (the application attempts to write/change data), they are several ORA-00481 errors and then the database crashed. But I'd say it's an automatic restart sort of as the newspaper has said.

    Trying to get on a few articles on this subject and found one saying this is due to internal bugs, and the problem solved with patch 3659289 .

    So far, I couldn't find much information about this hotfix (3659289) and I need some help here.

    1. I wonder if it is the case of my customer database?
    2. how to check if this specific hotfix (3659289) has been applied?
    3. be appreciate if you have access to this patch and post the details here.

    Advise, Suggestion or jokes will be appreciated. Thanks in advance!

    Thank you and best regards,
    CT



    Some additional information:
    1 version of oracle 10.2.0.4.0 database

    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - Production 64-bit
    With the Real Application Clusters option

    2 CARS with two nodes.

    3. in the course of running on Solaris 10 sparc infrastructure.

    4. what error log says:

    Sun Dec 4 00:51:09 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms1_16541.trc file:
    Sun Dec 4 00:51:34 2011
    Track of dumping performs id = [cdmp_20111204003639]
    Sun Dec 4 00:52:03 2011
    kkjcre1p: unable to reproduce the jobq slave process
    Sun Dec 4 00:52:04 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_cjq0_16598.trc file:

    Sun Dec 4 00:54:58 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lmon_16525.trc file:
    ORA-29740: expelled by Member 1, group incarnation 74
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j002_14521.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j000_29799.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    WARNING: inbound connections has expired (ORA-3136)
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j003_15093.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lck0_16841.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_pmon_16519.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms3_16549.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_psp0_16523.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:00 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms5_16557.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:00 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms4_16553.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lmd0_16527.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms0_16537.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms1_16541.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    RECO: termination litigation because of the error 481
    Sun Dec 4 00:55:07 2011
    Instance terminated by RECO, pid = 16588
    Sun Dec 4 00:55:18 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge2 configured 10.0.2.0 from OCR to serve a cluster interconnect
    Type 1 202.76.5.0 configured OCR bge0 interface to be used as a public interface
    SNA system picked latch-free 3
    Autotune undo retention is enabled.
    LICENSE_MAX_USERS = 0
    SYS audit is disabled
    ksdpec: called to the event 13740 before initialization of the event group
    Commissioning ORACLE RDBMS Version: 10.2.0.4.0.
    Parameters of the system with default values:
    process = 300
    sessions = 500
    SGA_MAX_SIZE = 5368709120
    __shared_pool_size = 1879048192
    shared_pool_size = 1073741824
    __large_pool_size = 16777216
    LARGE_POOL_SIZE = 16777216
    __java_pool_size = 134217728
    JAVA_POOL_SIZE = 134217728
    __streams_pool_size = 0
    SHARED_POOL_RESERVED_SIZE = 142606336
    SPFile = +DATA/xxxxx/spfilexxxxx.ora
    SGA_TARGET = 5368709120
    control_files = +DATA/xxxxx/controlfile/current.258.702223445
    DB_BLOCK_SIZE = 8192
    __db_cache_size = 3288334336
    db_cache_size = 3221225472
    compatible = 10.2.0.1.0
    Log_archive_dest = + REDOARCH/xxxxx/archlog
    log_buffer = 30543360
    db_file_multiblock_read_count = 16
    cluster_database = TRUE
    cluster_database_instances = 2
    db_create_file_dest = + DATA
    db_create_online_log_dest_1 = + REDOARCH
    db_recovery_file_dest_size = 2147483648
    = 1 thread
    instance_number = 1
    UNDO_MANAGEMENT = AUTO
    undo_tablespace = UNDOTBS1
    UNDO_RETENTION = 14400
    Remote_login_passwordfile = EXCLUSIVE lock
    db_domain =
    dispatchers = (PROTOCOL = TCP) (SERVICE = xxxxxXDB)
    LOCAL_LISTENER = LISTENER_xxxxx1
    remote_listener = LISTENERS_xxxxx
    session_cached_cursors = 100
    JOB_QUEUE_PROCESSES = 10
    CURSOR_SHARING = SIMILAR
    background_dump_dest = / opt/app/oracle/admin/xxxxx/bdump
    user_dump_dest = / opt/app/oracle/admin/xxxxx/udump
    core_dump_dest = / opt/app/oracle/admin/xxxxx/cdump
    audit_file_dest = / opt/app/oracle/admin/xxxxx/adump
    db_name = xxxxx
    open_cursors = 500
    pga_aggregate_target = 1073741824
    Communication of cluster is configured to use the following interfaces for this instance
    10.0.2.235
    Sun Dec 4 00:55:25 2011
    cluster interconnect IPC version: Oracle UDP/IP (generic)
    CPI for the seller 1 proto 2
    PMON started with pid = 2, OS id = 19662
    DIAG started with pid = 3, OS id = 19664
    PSP0 started with pid = 4, OS id = 19666
    LMON started with pid = 5, OS id = 19668
    LMD0 started with pid = 6, OS id = 19670
    LMS0 started with pid = 7, OS id = 19672
    LMS1 started with pid = 8, OS id = 19676
    LMS2 started with pid = 9, OS id = 19688
    LMS3 started with pid = 10, OS id = 19692
    LMS4 started with pid = 11, OS id = 19696
    LMS5 started with pid = 12, OS id = 19700
    MA started with pid = 13, OS id = 19704
    DBW0 started with pid = 14, OS id = 19706
    DBW1 started with pid = 15, OS id = 19708
    DBW2 started with pid = 16, OS id = 19718
    LGWR started with pid = 17, OS id = 19720
    CKPT started with pid = 18, OS id = 19722
    SMON started with pid = 19, OS id = 19724
    RECCE has started with pid = 20, OS id = 19726
    CJQ0 started with pid = 21, OS id = 19728
    MMON started with pid = 22, OS id = 19730
    Sun Dec 4 00:55:28 2011
    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
    MMNL started with pid = 23, OS id = 19732
    Sun Dec 4 00:55:28 2011
    commissioning or shared server 1...
    Sun Dec 4 00:55:28 2011
    DISM started, OS id = 19746
    Sun Dec 4 00:55:52 2011
    LMON recorded with NM - 1 instance id (internal mem not 0)
    Sun Dec 4 00:55:53 2011
    Reconfiguration began (old Inc. 0, Inc. new, 78)
    List of nodes:
    0 1
    Global Resource Directory frozen
    allocate domain 0, invalid = TRUE
    Restored communication channels
    * field validates according to the instance 1 0
    * domain 0 valid = 1 according to instance 1
    Sun Dec 4 00:55:53 2011
    Diffuse master hash resource bitmaps
    Blocks of non-local process cleaned
    Sun Dec 4 00:55:53 2011
    Shadows GCS LMS 0 0: cancelled, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows SCM 4: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows GCS 3: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows GCS 1: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows BSC 5: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows SCM 2: 0, 0 closed
    Set of master node info
    Subject to all requests for remote enqueue
    DWN-cvts replayed, questionable VALBLKs
    All enqueues grant awarded
    Sun Dec 4 00:55:53 2011
    LMS crossed shadows 5: 0, replayed 0 GCS
    Sun Dec 4 00:55:53 2011
    LMS crossed shadows 3: 0, replayed 0 GCS
    Sun Dec 4 00:55:53 2011
    Crossed shadows SCM 2: 0, replayed 0 LMS
    Sun Dec 4 00:55:53 2011
    LMS 0: 0 GCS shadows traveled 0 replayed
    Sun Dec 4 00:55:53 2011
    Crossed shadows SCM 4: 0, replayed 0 LMS
    Sun Dec 4 00:55:53 2011
    LMS crossed shadows 1: 0, replayed 0 GCS
    Sun Dec 4 00:55:53 2011
    Subject to all requests for remote-cache GCS
    Post SMON start 1 IR pass
    Fix write in SCM resources
    Reconfiguration complete
    LCK0 started with pid = 26, OS id = 19984
    Sun Dec 4 00:55:55 2011
    Oracle Data Guard is not available in this edition of Oracle.
    Sun Dec 4 00:55:55 2011
    ALTER DATABASE MOUNT
    Sun Dec 4 00:55:56 2011
    From FILIPE background process
    FILIPE started with pid = 28, OS id = 19995
    From RBAL background process
    RBAL started with pid = 29, OS id = 19999
    Sun Dec 4 00:55:59 2011
    SUCCESS: diskgroup DATA has been mounted
    Sun Dec 4 00:56:03 2011
    Assessment target incarnation to 7
    Sun Dec 4 00:56:04 2011
    Mount of redo thread 1, with mount id 3288132717
    Sun Dec 4 00:56:04 2011
    Database mounted in shared Mode (CLUSTER_DATABASE = TRUE)
    Completed: ALTER DATABASE MOUNT
    Sun Dec 4 00:56:05 2011
    ALTER DATABASE OPEN
    Selected broadcast the validation schema to generate notifications SNA
    Sun Dec 4 00:56:06 2011
    LGWR: FROM PROCESS ARCH
    Arc0 started with pid = 33, OS id = 20135
    Sun Dec 4 00:56:06 2011
    Arc0: Started archiving
    Arc1: Started archiving
    LGWR: FROM PROCESS ARCH COMPLETE
    Arc1 started with pid = 34, OS id = 20137
    Sun Dec 4 00:56:06 2011
    SUCCESS: diskgroup REDOARCH rose
    Thread 1 is open to the sequence of journal 23830
    Currently Journal # 3 seq # 23830 mem # 0: +REDOARCH/xxxxx/onlinelog/group_3.261.709928305
    Opening of redo thread 1
    Sun Dec 4 00:56:07 2011
    SMON: enabling cache recovery
    Sun Dec 4 00:56:07 2011
    Arc0: become the "no FAL' ARCH
    Arc0: become the "no SRL" ARCH
    Sun Dec 4 00:56:07 2011
    Arc1: Become the heartbeat ARCH
    Sun Dec 4 00:56:09 2011
    Successfully onlined Undo Tablespace 1.
    Sun Dec 4 00:56:09 2011
    SMON: enabling the recovery of tx
    Sun Dec 4 00:56:09 2011
    Database charset is UTF8
    off replication_dependency_tracking (no replication multimaster async found)
    From QMNC background process
    QMNC started with pid = 35, OS id = 20185
    Sun Dec 4 00:56:15 2011
    Errors in the /opt/app/oracle/admin/xxxxx/udump/xxxxx1_ora_20121.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-12663: Services required by the customer not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS." OLAPIHISTORYRETENTION', line 1
    ORA-06512: at line 15 level
    Sun Dec 4 00:56:15 2011
    Completed: ALTER DATABASE OPEN

    Hi, Eric.

    Sory for these last response time.

    If you are looking for a special patch that is exists or not, you must run below

    ORACLE_HOME and ORACLE_SID and opatch as mention in my previous post, that it is the value

    lsinventory opatch | grep patch_no

    If she reports record than his average you past. If its does not provide that the problem is that you do not have this patch

    Respect of
    HELIOS

Maybe you are looking for