Ora 4031 error

Hi all,
I have Oracle 10g and windows 2003 enterprise 32 bit edition.
Whenever i'm trying to start the database i'm getting the following errors
ORA 00604
ORA 04031- Unalbe to allocate 4000 bytes of shared memory("shared pool", "select /* +rule */ bucket_cn..." "typecheck heap", "seg: kggfaallocseg")
Please help
harsha

Hi, i'm pasting the part where the error is being showed in the alert log file
Alert Log
Thread 1 advanced to log sequence 17
Maximum redo generation record size = 120832 bytes
Maximum redo generation change vector size = 116476 bytes
Private_strands 4 at log switch
Thread 1 opened at log sequence 17
Current log# 1 seq# 17 mem# 0: D:\ORACLE\PRODUCT\10.1.0\ORADATA\DCLEANP\REDO01.LOG
Successful open of redo thread 1
Thu Aug 12 17:49:30 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Thu Aug 12 17:49:30 2010
SMON: enabling cache recovery
Thu Aug 12 17:49:30 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\udump\dcleanp_ora_940.trc:
ORA-00704: bootstrap process failure
ORA-04031: unable to allocate 4224 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","library cache")
Thu Aug 12 17:49:30 2010
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Thu Aug 12 17:49:31 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_dbw0_3736.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:31 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_reco_3756.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:32 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_smon_3752.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:32 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_ckpt_3748.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:32 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_lgwr_3744.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:32 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_mman_3732.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:32 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_dbw1_3740.trc:
ORA-00704: bootstrap process failure
Thu Aug 12 17:49:32 2010
Errors in file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_pmon_3728.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 940
ORA-1092 signalled during: alter database open...
Trace files. All the trace files have almost the same endings
Dump file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_smon_3752.trc
Thu Aug 12 17:49:32 2010
ORACLE V10.1.0.2.0 - Production vsnsta=0
vsnsql=13 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 1
CPU : 16 - type 586, 4 Physical Cores
Process Affinity: 0x00000000
Memory (A/P) : PH:2744M/3324M, PG:4686M/5220M, VA:1710M/2047M
Instance name: dcleanp
Redo thread mounted by this instance: 1
Oracle process number: 8
Windows thread id: 3752, image: ORACLE.EXE (SMON)
*** SERVICE NAME:() 2010-08-12 17:49:32.062
*** SESSION ID:(164.1) 2010-08-12 17:49:32.062
error 704 detected in background process
ORA-00704: bootstrap process failure
Dump file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_dbw1_3740.trc
Thu Aug 12 17:49:32 2010
ORACLE V10.1.0.2.0 - Production vsnsta=0
vsnsql=13 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 1
CPU : 16 - type 586, 4 Physical Cores
Process Affinity: 0x00000000
Memory (A/P) : PH:2745M/3324M, PG:4693M/5220M, VA:1719M/2047M
Instance name: dcleanp
Redo thread mounted by this instance: 1
Oracle process number: 5
Windows thread id: 3740, image: ORACLE.EXE (DBW1)
*** 2010-08-12 17:49:32.468
*** SERVICE NAME:() 2010-08-12 17:49:32.468
*** SESSION ID:(167.1) 2010-08-12 17:49:32.468
error 704 detected in background process
ORA-00704: bootstrap process failure
Dump file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_lgwr_3744.trc
Thu Aug 12 17:49:32 2010
ORACLE V10.1.0.2.0 - Production vsnsta=0
vsnsql=13 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 1
CPU : 16 - type 586, 4 Physical Cores
Process Affinity: 0x00000000
Memory (A/P) : PH:2744M/3324M, PG:4688M/5220M, VA:1713M/2047M
Instance name: dcleanp
Redo thread mounted by this instance: 1
Oracle process number: 6
Windows thread id: 3744, image: ORACLE.EXE (LGWR)
*** SERVICE NAME:() 2010-08-12 17:49:32.281
*** SESSION ID:(166.1) 2010-08-12 17:49:32.281
error 704 detected in background process
ORA-00704: bootstrap process failure
Dump file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_mman_3732.trc
Thu Aug 12 17:49:32 2010
ORACLE V10.1.0.2.0 - Production vsnsta=0
vsnsql=13 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 1
CPU : 16 - type 586, 4 Physical Cores
Process Affinity: 0x00000000
Memory (A/P) : PH:2745M/3324M, PG:4693M/5220M, VA:1719M/2047M
Instance name: dcleanp
Redo thread mounted by this instance: 1
Oracle process number: 3
Windows thread id: 3732, image: ORACLE.EXE (MMAN)
*** SERVICE NAME:() 2010-08-12 17:49:32.343
*** SESSION ID:(169.1) 2010-08-12 17:49:32.343
error 704 detected in background process
ORA-00704: bootstrap process failure
Dump file d:\oracle\product\10.1.0\admin\dcleanp\bdump\dcleanp_dbw0_3736.trc
Thu Aug 12 17:49:31 2010
ORACLE V10.1.0.2.0 - Production vsnsta=0
vsnsql=13 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 1
CPU : 16 - type 586, 4 Physical Cores
Process Affinity: 0x00000000
Memory (A/P) : PH:2736M/3324M, PG:4670M/5220M, VA:1681M/2047M
Instance name: dcleanp
Redo thread mounted by this instance: 1
Oracle process number: 4
Windows thread id: 3736, image: ORACLE.EXE (DBW0)
*** 2010-08-12 17:49:31.296
*** SERVICE NAME:() 2010-08-12 17:49:31.296
*** SESSION ID:(168.1) 2010-08-12 17:49:31.296
error 704 detected in background process
ORA-00704: bootstrap process failure

Similar Messages

  • Explain one query in 256M shared pool and ORA-4031 .

    Hi,
    looks like Oracle 9.2.0.8 got some problems with explaining huge (1000 lines) queries, here
    goes ORA-4031 dump, shared pool is about 256 M but there are no other sessions in that DB only mine .
    I can reproduce that in 1GB shared pool as well .
    *** 2010-09-06 09:43:24.005
    *** SESSION ID:(13.24) 2010-09-06 09:43:23.997
    =================================
    Begin 4031 Diagnostic Information
    =================================
    The following information assists Oracle in diagnosing
    causes of ORA-4031 errors.  This trace may be disabled
    by setting the init.ora parameter _4031_dump_bitvec = 0
    ======================================
    Allocation Request Summary Information
    ======================================
    Current information setting:  00654fff
      Dump Interval=300 seconds  SGA Heap Dump Interval=3600 seconds
      Last Dump Time=09/06/2010 09:43:22
    Allocation request for: qknAllocate : qkn
    Heap: 70000002aa6f4e8, size: 640
    HEAP DUMP heap name="sga heap"  desc=700000000000058
    extent sz=0xfe0 alt=200 het=32767 rec=9 flg=-126 opc=0
    parent=0 owner=0 nex=0 xsz=0x0
    HEAP DUMP heap name="sql area"  desc=70000002aa6f4e8
    extent sz=0x1040 alt=32767 het=32 rec=0 flg=2 opc=2
    parent=700000000000058 owner=0 nex=0 xsz=0x1
    Subheap has 102506016 bytes of memory allocated
    ====================
    Process State Object
    ====================
    SO: 7000000222fe540, type: 2, owner: 0, flag: INIT/-/-/0x00
      (process) Oracle pid=12, calls cur/top: 700000021736ba0/700000021736ba0, flag: (0) -
                int error: 0, call error: 0, sess error: 0, txn error 0
      (post info) last post received: 199 0 4
                  last post received-location: kslpsr
                  last process to post me: 7000000222fca88 1 6
                  last post sent: 0 0 16
                  last post sent-location: ksasnd
                  last process posted by me: 7000000222fca88 1 6
      (latch info) wait_event=0 bits=0
        Process Group: DEFAULT, pseudo proc: 7000000212e7290
        O/S info: user: oracle, term: UNKNOWN, ospid: 6766752
        OSD pid info: Unix process pid: 6766752, image: oracle@prod3 (TNS V1-V3)
    =========================
    User Session State Object
    =========================
    SO: 7000000226ee540, type: 4, owner: 7000000222fe540, flag: INIT/-/-/0x00
      (session) trans: 0, creator: 7000000222fe540, flag: (100045) USR/- BSY/-/-/-/-/-
                DID: 0001-000C-00000002, short-term DID: 0000-0000-00000000
                txn branch: 0
                oct: 50, prv: 0, sql: 70000002aa7fbf8, psql: 0, user: 2622/INSTALL
                 program: sqlplus.exe
      application name: SQL*Plus, hash value=3669949024
      last wait for 'db file sequential read' blocking sess=0x0 seq=93 wait_time=11432
              file#=1, block#=106e8, blocks=1
      temporary object counter: 0
    =========================
    Current Parent KGL Object
    =========================
      LIBRARY OBJECT HANDLE: handle=70000002aa7fbf8
      name=
    explain plan for
    select *
    from salda
    where saldo <> 0
      and konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
                       '394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
      hash=ff099bfd timestamp=09-06-2010 09:41:45
      namespace=CRSR flags=RON/KGHP/TIM/PN0/[10010000]
      kkkk-dddd-llll=0000-0001-0001 lock=N pin=X latch#=7
      lwt=70000002aa7fc28[70000002aa7fc28,70000002aa7fc28] ltm=70000002aa7fc38[70000002aa7fc38,70000002aa7fc38]
      pwt=70000002aa7fc58[70000002aa7fc58,70000002aa7fc58] ptm=70000002aa7fce8[70000002aa7fce8,70000002aa7fce8]
      ref=70000002aa7fc08[70000002aa7fc08, 70000002aa7fc08] lnd=70000002aa7fd00[70000002aa7fd00,70000002aa7fd00]
        LIBRARY OBJECT: object=70000002aa6fc98
        type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
        CHILDREN: size=16
        child#    table reference   handle
             0 70000002aa6ff08 70000002aa6fbc0 70000002aa6f7a0
    ==================
    Current KGL Object
    ==================
      LIBRARY OBJECT HANDLE: handle=70000002aa6f7a0
      namespace=CRSR flags=RON/KGHP/PN0/[10010000]
      kkkk-dddd-llll=0000-0000-0000 lock=N pin=X latch#=7
      lwt=70000002aa6f7d0[70000002aa6f7d0,70000002aa6f7d0] ltm=70000002aa6f7e0[70000002aa6f7e0,70000002aa6f7e0]
      pwt=70000002aa6f800[70000002aa6f800,70000002aa6f800] ptm=70000002aa6f890[70000002aa6f890,70000002aa6f890]
      ref=70000002aa6f7b0[70000002aa6fbc0, 70000002aa6fbc0] lnd=70000002aa6f8a8[70000002aa6f8a8,70000002aa6f8a8]
        LIBRARY OBJECT: object=70000002aa6f3b8
        type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    ===========================
    Current Instatiation Object
    ===========================
    INSTANTIATION OBJECT: object=1102fa2e0
    type="cursor"[2] lock=70000002865ffe0 handle=70000002aa7fbf8 body=0 level=0
    flags=FST[60] executions=0
    cursor name:
    explain plan for
    select *
    from salda
    where saldo <> 0
      and nr_konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
                       '394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
                       '414','432','450','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469',
                       '470','471','472','473','474','475','476','477','478','479','480','481')
      and (
    (umowa = lpad('2169725150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2170639147',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2170815147',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2170991138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2173034150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2173821138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2174491138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2176065138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2177180150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2178183150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2178609150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2180241147',10) and nr_klasy = lpad('27',3)) or
    (umowa = lpad('2180252147',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2180377148',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2180787148',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2181011148',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2183314150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2187754150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2189036150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2189362150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2189685150',10) and nr_klasy = lpad('27',3)) or
    (umowa = lpad('2191061124',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2194768150',10) and nr_klasy = lpad('27',3)) or
    (umowa = lpad('2195063150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2195568150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2196774143',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2196872143',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2196964143',10) and nr_klasy = lpad('7',3)) or
    .... a lot off similar lines
    child pin: 0, child lock: 70000002865fb18, parent lock: 70000002865ffe0
    xscflg: 4004, parent handle: 70000002aa7fbf8, xscfl2: 0
    ----- Call Stack Trace -----
    calling              call     entry                argument values in hex
    location             type     point                (? means dubious value)
    ksm_4031_dump+065c   bl       ksedst               110006450 ?
    ksmasg+0084          bl       ksm_4031_dump        FFFFFFFFFFF5F60 ? 10299AAF8 ?
                                                       000000000 ? 70000002A9007F8 ?
                                                       000000000 ? 000000000 ?
    kghnospc+0178        bl       _ptrgl
    kghalp+00f0          bl       kghnospc             FFFFFFFFFFF6150 ?
                                                       422222247FFFFFFC ?
                                                       100107620 ? 080000000 ?
                                                       000000000 ?
    kksalc+0048          bl       kghalp               100107620 ? 000000000 ?
                                                       FFFFFFFFFFF62C0 ? 000000000 ?
                                                       000000080 ? 000000003 ?
    qknAllocate+0040     bl       kksalc               70000002AC2E1C0 ?
                                                       70000002C873DD8 ?
                                                       70000002AC2E1C0 ?
    qknltAllocate+00d0   bl       qknAllocate          FFFFFFFFFFF65C0 ?
                                                       7000000345292A0 ? 000000000 ?
                                                       000000003 ?
    qkatab+0ec8          bl       qknltAllocate        000000000 ? 000000000 ?
                                                       000000000 ? 000000000 ?
                                                       000000000 ? 000000000 ?
                                                       000000000 ? 000000000 ?
                                                       70000002C874170 ?
    qkajoi+0b30          bl       qkatab               000000000 ? 110378F00 ?
                                                       000000000 ? 000000042 ?
                                                       100002100050000 ? 110378530 ?
    qkaqkn+08d0          bl       qkajoi               000000000 ? 000000000 ?
                                                       000000000 ? 000000000 ?
                                                       000000000 ? 000000000 ?
                                                       000000000 ? 000000000 ?
    qkadrv+07a0          bl       qkaqkn               000000000 ? 10299B690 ?
    ===============================
    Memory Utilization of Subpool 1
    ===============================
         Allocation Name          Size
    "free memory              "   148632616
    "miscellaneous            "     3998104
    "qmps connections         "     1454200
    "errors                   "           0
    "txncallback              "      246640
    "PL/SQL MPCODE            "      506520
    "enqueue                  "     6054632
    "KSXR pending messages que"      853952
    "KQR L PO                 "      221192
    "parameters               "        1064
    "Checkpoint queue         "     1026560
    "1M buffer                "      528384
    "db_block_hash_buckets    "      589824
    "fixed allocation callback"        1112
    "sim trace entries        "      196608
    "KGLS heap                "      374728
    "KGK heap                 "         552
    "channel handle           "      780672
    "MTTR advisory            "       34088
    "DML lock                 "     1022032
    "trigger source           "        2288
    "trigger defini           "         280
    "dictionary cache         "     2137216
    "table definiti           "         456
    "KQR X PO                 "       28352
    "transaction              "     2747760
    "constraints              "      824960
    "library cache            "     2030512
    "message pool freequeue   "      213264
    "sql area                 "     1546168
    "sessions                 "     4467008
    "replication session stats"     1004720
    "event statistics per sess"    18791304
    "KQR S SO                 "        5632
    "sim memory hea           "      157768
    "PL/SQL DIANA             "       80104
    "KQR M PO                 "      141320
    "messages                 "      624000
    ===============================
    Memory Utilization of Subpool 2
    ===============================
         Allocation Name          Size
    "free memory              "     6285488
    "miscellaneous            "     8927008
    "log_buffer               "     1056800
    "FileOpenBlock            "    16270720
    "sim memory hea           "      162008
    "KQR S SO                 "        9472
    "transaction              "     3297312
    "PL/SQL DIANA             "           0
    "KGLS heap                "       47776
    "table definiti           "           0
    "db_handles               "     3480000
    "KQR L PO                 "      213056
    "Temporary Tables State Ob"      775488
    "trigger inform           "           0
    "message pool freequeue   "      558720
    "trigger defini           "           0
    "fixed allocation callback"        1168
    "branch                   "     1180120
    "ktlbk state objects      "     1948360
    "PLS non-lib hp           "        2088
    "KGK heap                 "        6448
    "KQR M SO                 "        1024
    "dictionary cache         "     2137216
    "parameters               "           0
    "Checkpoint queue         "     1026560
    "trigger source           "           0
    "enqueue resources        "      768192
    "library cache            "     1798152
    "KSXR receive buffers     "     1034000
    "sql area                 "   105380864
    "processes                "     4104000
    "sessions                 "     4469712
    "joxs heap init           "        4240
    "errors                   "           0
    "event statistics per sess"    18779936
    "PL/SQL MPCODE            "           0
    "KQR M PO                 "      173592
    "UNDO INFO SEGMENTED ARRAY"      649856
    LIBRARY CACHE STATISTICS:
    namespace           gets hit ratio      pins hit ratio    reloads   invalids
    CRSR                3184     0.874     12550     0.950         97         11
    TABL/PRCD/TYPE      1917     0.871      2293     0.811          0          0
    BODY/TYBD             52     0.788        52     0.788          0          0
    TRGR                  33     0.939        33     0.939          0          0
    INDX                  74     0.514        43     0.140          0          0
    CLST                 353     0.977       489     0.980          0          0
    OBJE                   0     0.000         0     0.000          0          0
    PIPE                   0     0.000         0     0.000          0          0
    LOB                    0     0.000         0     0.000          0          0
    DIR                    0     0.000         0     0.000          0          0
    QUEU                   0     0.000         0     0.000          0          0
    OBJG                   0     0.000         0     0.000          0          0
    PROP                   0     0.000         0     0.000          0          0
    JVSC                   0     0.000         0     0.000          0          0
    JVRE                   0     0.000         0     0.000          0          0
    ROBJ                   0     0.000         0     0.000          0          0
    REIP                   0     0.000         0     0.000          0          0
    CPOB                   0     0.000         0     0.000          0          0
    EVNT                   8     0.750        91     0.978          0          0
    SUMM                   0     0.000         0     0.000          0          0
    DIMN                   0     0.000         0     0.000          0          0
    CTX                    0     0.000         0     0.000          0          0
    OUTL                   0     0.000         0     0.000          0          0
    RULS                   0     0.000         0     0.000          0          0
    RMGR                   0     0.000         0     0.000          0          0
    IFSD                   0     0.000         0     0.000          0          0
    PPLN                   0     0.000         0     0.000          0          0
    PCLS                   0     0.000         0     0.000          0          0
    SUBS                   0     0.000         0     0.000          0          0
    LOCS                   0     0.000         0     0.000          0          0
    RMOB                   0     0.000         0     0.000          0          0
    RSMD                   0     0.000         0     0.000          0          0
    JVSD                   0     0.000         0     0.000          0          0
    ENPR                   0     0.000         0     0.000          0          0
    RELC                   0     0.000         0     0.000          0          0
    STREAM                 0     0.000         0     0.000          0          0
    APPLY                  0     0.000         0     0.000          0          0
    APPLY SOURCE           0     0.000         0     0.000          0          0
    APPLY DESTN            0     0.000         0     0.000          0          0
    TEST                   0     0.000         0     0.000          0          0
    CUMULATIVE          5621     0.874     15551     0.928         97         11
    Permanent space allocted for Load Locks
    LATCH:0  TOTAL SPACE: 4248
    FREELIST CHUNK COUNT:59  OBJECT SIZE:72
    Permanent space allocted for KGL pins
    LATCH:0  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:13  OBJECT SIZE:128
    LATCH:1  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:15  OBJECT SIZE:128
    LATCH:2  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:18  OBJECT SIZE:128
    LATCH:3  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:19  OBJECT SIZE:128
    LATCH:4  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:21  OBJECT SIZE:128
    LATCH:5  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:27  OBJECT SIZE:128
    LATCH:6  TOTAL SPACE: 4224
    FREELIST CHUNK COUNT:16  OBJECT SIZE:128
    Permanent space allocted for KGL locks
    LATCH:0  TOTAL SPACE: 4216
    FREELIST CHUNK COUNT:11  OBJECT SIZE:136
    LATCH:1  TOTAL SPACE: 4216
    FREELIST CHUNK COUNT:13  OBJECT SIZE:136
    LATCH:2  TOTAL SPACE: 4216
    FREELIST CHUNK COUNT:16  OBJECT SIZE:136
    ...<snipped>...any ideas ?

    GregG wrote:
    Thanks,
    but I'm interested in what is the particular problem. Looks like sql area is short on free chunks .I can't say if it is an oracle bug so feel free to ignore my post.
    select *
    from salda
    where saldo  0
      and nr_konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
                       '394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
                       '414','432','450','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469',
                       '470','471','472','473','474','475','476','477','478','479','480','481')
      and (
    (umowa = lpad('2169725150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2170639147',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2170815147',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2170991138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2173034150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2173821138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2174491138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2176065138',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2177180150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2178183150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2178609150',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2180241147',10) and nr_klasy = lpad('27',3)) or
    (umowa = lpad('2180252147',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2180377148',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2180787148',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2181011148',10) and nr_klasy = lpad('13',3)) or
    (umowa = lpad('2183314150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2187754150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2189036150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2189362150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2189685150',10) and nr_klasy = lpad('27',3)) or
    (umowa = lpad('2191061124',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2194768150',10) and nr_klasy = lpad('27',3)) or
    (umowa = lpad('2195063150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2195568150',10) and nr_klasy = lpad('9',3)) or
    (umowa = lpad('2196774143',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2196872143',10) and nr_klasy = lpad('7',3)) or
    (umowa = lpad('2196964143',10) and nr_klasy = lpad('7',3)) or
    .... a lot off similar linesThis looks like an ideal candidate for using a Global Temporary table (if you can).
    So if you can insert all combination of valid values for "umowa" and "nr_klasy" columns in a GTT,
    you can simplify your query as
    select *
    from salda
    where saldo  0
      and nr_konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
                       '394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
                       '414','432','450','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469',
                       '470','471','472','473','474','475','476','477','478','479','480','481')
    and (umowa, nr_klasy) in (select lpad(col1,10), lpad(col2,3) from gtt_temp)

  • ORA-604 and ORA-4031 during installation of SAP

    Hi,
    I tried to install Oracle 10.2.0.2 on Windows 2003 with SAP R3E 47X2.
    However, during the installation on the Database Load phases it pops up a ORA-604 and ORA-4031 error log. It was unable to completed the Database Load phase showed as R3 load jobs: running 1, waiting 0.
      I tried to set the share pool in init.ora as shared_pool_size = 40000000. It still show up as shared memory issue.
    The log shows as,
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: START OF LOG: 20081201110818
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#12 $ SAP
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: version R6.40/V1.4 [UNICODE]
    Compiled Dec 15 2005 22:22:21
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe -dbcodepage 4103 -i C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\UC\DB/SAPSSEXC.cmd -l C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\UC\DB/SAPSSEXC.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    DbSl Trace: Failed to register client info: orc=604
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-604 occurred when executing SQL statement (parse error offset=15)
    (DB) ERROR: DDL statement failed
    (TRUNCATE TABLE "DYNPSOURCE")
    DbSlExecute: rc = 99
      (SQL error 604)
      error message returned by DbSl:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","select user#,type# from user...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201110858
    Could anyone help me about it?
    Thanks.

    hi Nikhuj,
    I reset the installation and however endup the installation still have an error. Please help me to check with the following:
    SQL> connect system
    Enter password:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared
    pool","select ts#,file#,block#,nvl(...","Typecheck","kgghtInit")
    SQL> show parameters shared_pool;
    NAME                   TYPE     VALUE
    shared_pool_reserved_size   big integer 12881756
    shared_pool_size         big integer 124M
    SQL> alter system set shared_pool_size=40000000;
    alter system set shared_pool_size=40000000
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04034: unable to shrink pool to specified size
    As I had changed the parameter in initsmpl.ora shared pool from 10000000 to 40000000. The log as below was showing that:
    SAPAPPL1.log:
    Error accessing package DBMS_APPLICATION_INFO
    Connected.
    (IMP) INFO: import of LXE_PPX__1 completed (1 rows) #20081201200124
    (DB) INFO: LXE_PPX__1~0 created #20081201200124
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-604 occurred when executing SQL statement (parse error offset=34)
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "LXE_PPX__1~CNT" ON "LXE_PPX__1" ( "T_LANG" , "S_LANG" ,
    "DOMATYP" , "DOMANAM" , "USAGECNT"  ) TABLESPACE PSAPIDE STORAGE (INITIAL 0 NEXT
    0000010240K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 604)
      error message returned by DbSl:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","CREATE
    UNIQUE INDEX "PA0399~...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201200129
    SAPAPPL2.log:
    (DB) INFO: TCN2T~0 created #20081201200843
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-604 occurred when executing SQL statement (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "TCN41" ( "MANDT" VARCHAR2(9) DEFAULT '000' NOT NULL , "PLNAW"
    VARCHAR2(3) DEFAULT ' ' NOT NULL , "PROFIDNETZ" VARCHAR2(21) DEFAULT ' ' NOT NULL
    , "FLG_ERF_H" VARCHAR2(3) DEFAULT ' ' NOT NULL , "ESOKZ" VARCHAR2(3) DEFAULT ' '
    NOT NULL , "EKORG" VARCHAR2(12) DEFAULT ' ' NOT NULL , "KSTAR_FRMD" VARCHAR2(30)
    DEFAULT ' ' NOT NULL , "STEUS_WORK" VARCHAR2(12) DEFAULT ' ' NOT NULL ,
    "STEUS_FRMD" VARCHAR2(12) DEFAULT ' ' NOT NULL , "STEUS_PRIM" VARCHAR2(12)
    DEFAULT ' ' NOT NULL , "KSTAR_COST" VARCHAR2(30) DEFAULT ' ' NOT NULL ,
    "KSTAR_SERV" VARCHAR2(30) DEFAULT ' ' NOT NULL , "STEUS_SERV" VARCHAR2(12)
    DEFAULT ' ' NOT NULL , "DAUNE" VARCHAR2(9) DEFAULT ' ' NOT NULL , "ARBEH"
    VARCHAR2(9) DEFAULT ' ' NOT NULL , "WAERS" VARCHAR2(15) DEFAULT ' ' NOT NULL ,
    "SLWID" VARCHAR2(21) DEFAULT ' ' NOT NULL , "LVARI" VARCHAR2(6) DEFAULT ' ' NOT
    NULL , "INDET" VARCHAR2(3) DEFAULT ' ' NOT NULL , "BUKRS" VARCHAR2(12) DEFAULT '
    ' NOT NULL , "AOB_KEY" VARCHAR2(3) DEFAULT ' ' NOT NULL , "VORNR_DEL" VARCHAR2
    (12) DEFAULT ' ' NOT NULL , "TERKZ" VARCHAR2(3) DEFAULT ' ' NOT NULL , "AUART"
    VARCHAR2(12) DEFAULT ' ' NOT NULL , "WERKS" VARCHAR2(12) DEFAULT ' ' NOT NULL ,
    "DISPO" VARCHAR2(9) DEFAULT ' ' NOT NULL , "RSCHL_OFER" VARCHAR2(18) DEFAULT ' '
    NOT NULL , "RSCHL_OFRD" VARCHAR2(18) DEFAULT ' ' NOT NULL , "RSCHL_UFER"
    VARCHAR2(18) DEFAULT ' ' NOT NULL , "RSCHL_UFRD" VARCHAR2(18) DEFAULT ' ' NOT
    NULL , "RSCHL_OCST" VARCHAR2(18) DEFAULT ' ' NOT NULL , "RSCHL_UCST" VARCHAR2(18)
    DEFAULT ' ' NOT NULL , "GR_PRF_GR" VARCHAR2(12) DEFAULT ' ' NOT NULL ,
    "GR_PRF_NAM" VARCHAR2(36) DEFAULT ' ' NOT NULL , "FHORI" VARCHAR2(9) DEFAULT ' '
    NOT NULL , "NETSTUFE" VARCHAR2(6) DEFAULT '00' NOT NULL , "VAGRP" VARCHAR2(9)
    DEFAULT ' ' NOT NULL , "MSGTY" VARCHAR2(3) DEFAULT ' ' NOT NULL , "AOB_DARST"
    VARCHAR2(3) DEFAULT ' ' NOT NULL , "VRG_DARST" VARCHAR2(3) DEFAULT ' ' NOT NULL ,
    "NO_DISP" VARCHAR2(3) DEFAULT ' ' NOT NULL , "COLKZ_ELEM" VARCHAR2(33) DEFAULT '
    ' NOT NULL , "COLKZ_TEIL" VARCHAR2(33) DEFAULT ' ' NOT NULL , "COLKZ_MLST"
    VARCHAR2(33) DEFAULT ' ' NOT NULL , "COLKZ_DOKU" VARCHAR2(33) DEFAULT ' ' NOT
    NULL , "COLKZ_MAT" VARCHAR2(33) DEFAULT ' ' NOT NULL , "VSPRF" VARCHAR2(21)
    DEFAULT ' ' NOT NULL , "CLASF" VARCHAR2(3) DEFAULT ' ' NOT NULL , "PROFILE_ID"
    VARCHAR2(30) DEFAULT ' ' NOT NULL , "BALK_PROF" VARCHAR2(36) DEFAULT ' ' NOT NULL
    , "KBED" VARCHAR2(3) DEFAULT ' ' NOT NULL , "KKALKR" VARCHAR2(3) DEFAULT ' ' NOT
    NULL , "LSTVAR" VARCHAR2(36) DEFAULT ' ' NOT NULL , "MATKL" VARCHAR2(27) DEFAULT
    ' ' NOT NULL , "MATEXIT" VARCHAR2(3) DEFAULT ' ' NOT NULL , "EKGRP" VARCHAR2(9)
    DEFAULT ' ' NOT NULL , "MATKL_FRMD" VARCHAR2(27) DEFAULT ' ' NOT NULL ,
    "EKGRP_FRMD" VARCHAR2(9) DEFAULT ' ' NOT NULL , "POSNR_MAT" VARCHAR2(12) DEFAULT
    '0000' NOT NULL , "SCHED_END" VARCHAR2(3) DEFAULT ' ' NOT NULL , "SCEND_ACT"
    VARCHAR2(3) DEFAULT ' ' NOT NULL , "NT_SEARCH1" VARCHAR2(6) DEFAULT ' ' NOT NULL
    , "NT_SEARCH2" VARCHAR2(6) DEFAULT ' ' NOT NULL , "NT_SEARCH3" VARCHAR2(6)
    DEFAULT ' ' NOT NULL , "MFLIC" VARCHAR2(9) DEFAULT ' ' NOT NULL , "MEINH_FRMD"
    VARCHAR2(9) DEFAULT ' ' NOT NULL , "MEINH_SERV" VARCHAR2(9) DEFAULT ' ' NOT NULL
    , "KSTAR_MATVORPL" VARCHAR2(30) DEFAULT ' ' NOT NULL , "KZERB" VARCHAR2(3)
    DEFAULT ' ' NOT NULL , "VALID" VARCHAR2(21) DEFAULT ' ' NOT NULL , "VALID_VG"
    VARCHAR2(21) DEFAULT ' ' NOT NULL , "SUBST" VARCHAR2(21) DEFAULT ' ' NOT NULL ,
    "SUBST_VG" VARCHAR2(21) DEFAULT ' ' NOT NULL , "FPART" VARCHAR2(6) DEFAULT ' '
    NOT NULL  ) TABLESPACE PSAPIDE STORAGE (INITIAL 65536 NEXT 0000000040K MINEXTENTS
    0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 604)
      error message returned by DbSl:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 4040 bytes of shared memory ("shared pool","select
    i.obj#,i.ts#,i.file#,...","Typecheck","seg:kggfaAllocSeg")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201200843
    SAPAPPL0.log:
    (DB) INFO: PA0398~0 created #20081201200124
    (DB) INFO: PA0399 created #20081201200124
    (IMP) INFO: import of PA0399 completed (12 rows) #20081201200124
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-4031 occurred when executing SQL statement (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "PA0399~0" ON "PA0399" ( "MANDT", "PERNR", "SUBTY",
    "OBJPS", "SPRPS", "ENDDA", "BEGDA", "SEQNR" ) TABLESPACE PSAPIDE STORAGE (INITIAL
    0 NEXT 0000000080K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 4031)
      error message returned by DbSl:
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","CREATE
    UNIQUE INDEX "PA0399~...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201200129

  • Oracle Support ORA-4031 Troubleshooting Tool problem - FILE VALIDATION FAIL

    Hi,
    Having problem while trying to use ORA-4031 Troubleshooting Tool on the Oracle Support site.
    I believe I upload all files correctly: db alert log, 4031 trace file and AWR report (HTML), answered YES to the question.
    But, get this error:
    "FILE VALIDATION FAILED: Fatal Error: missing 4031 information in the trace file. ..."
    However, the trace file has 4031 error information:
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-12-20 08:27:06.548
    *** SESSION ID:(546.1) 2011-12-20 08:27:06.548
    *** 2011-12-20 08:27:06.548
    AUTO SGA: Dumping stacks and disabling background sga tuning on error 604, simerr=0
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","select shared_pool_size_for_...","Typecheck","kgghteInit")
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedst+001c bl ksedst1 000000000 ? 646F33002040000 ?
    kmgsb_tune+0ce0 bl 03F5A418
    ksbcti+03d8 bl _ptrgl              
    ksbabs+025c bl ksbcti FFFFFFFFFFFD068 ? 000000006 ?
    70000004D63CBA0 ?
    kebm_mmon_main+02e4 bl 01FC6DA4
    ksbrdp+0408 bl _ptrgl              
    opirip+03fc bl 03F59B14
    opidrv+0448 bl opirip 110278B10 ? 41027B9D0 ?
    FFFFFFFFFFFF340 ?
    sou2o+0090 bl opidrv 3202AB38FC ? 440656000 ?
    FFFFFFFFFFFF340 ?
    opimai_real+0150 bl 01FC4EB4
    main+0098 bl opimai_real 000000000 ? 000000000 ?
    __start+0098 bl main 000000000 ? 000000000 ?
    --------------------- Binary Stack Dump ---------------------
    ========== FRAME [1] (ksedst+001c -> ksedst1) ==========
    Dump of memory from 0x0FFFFFFFFFFFBB70 to 0x0FFFFFFFFFFFBBE0
    FFFFFFFFFFFBB70 0FFFFFFF FFFFBBE0 42842228 00000000 [........B."(....]
    FFFFFFFFFFFBB80 00000001 000D9DE0 00000000 00000000 [................]
    FFFFFFFFFFFBB90 00000000 00000000 00000001 102242E8 [............."B.]
    FFFFFFFFFFFBBA0 00000000 00000000 0646F330 02040000 [.........F.0....]
    FFFFFFFFFFFBBB0 00000001 10000B00 00000001 05294C08 [.............)L.]
    FFFFFFFFFFFBBC0 00000000 0000025C 00000000 0000025C [.......\.......\]
    FFFFFFFFFFFBBD0 00000001 101902C0 0FFFFFFF FFFFBBE0 [................]
    ========== FRAME [2] (kmgsb_tune+0ce0 -> 03F5A418) ==========
    Dump of memory from 0x0FFFFFFFFFFFBBE0 to 0x0FFFFFFFFFFFBFE0
    FFFFFFFFFFFBBE0 0FFFFFFF FFFFCE60 00000000 00000000 [.......`........]
    FFFFFFFFFFFBBF0 00000001 04356164 00000000 00000000 [.....5ad........]
    (.... etc.)
    What am I doing wrong ?
    Oracle 10.2.0.3 (compatible=9.2.0) on AIX.
    Thanks.

    user12053739 wrote:
    My question here is not abuot ORA-4031 error and how to troubleshoot it, but about the error (FILE VALIDATION FAILED) that I receive in ORA-4031 Trobleshooting Tool on the Oracle Support web site. We do manuall analyses and troubleshooting as well, but would be nice if the tool works as well.Have you followed all the steps in (How to use the ORA-4031 Troubleshooting Tool on MOS [ID 1381442.1])? If yes, then I believe you need to log a SR for this issue as none of us maintain this tool, and you need someone from Oracle (development team who maintain it internally) to verify why you are getting that error when uploading the files.
    Thanks,
    Hussein

  • Ora-4031&ora-1280 error-Shared Memory Problem

    Sir ,
    I am using oracle Streams for Data Replication
    I am facing the problem while confifurung cApture Process..It is giving error-ora-4031
    description
    Ora-4031-Unable to allocate <n> bytes of shared memory ( "Shared Pool","Unknown Object ","Streams Pool","Internal low LCR")
    Ora-1280 : Ligminer Fatal error
    I followed the steps given below
         # Instance Setup
              setup is like
                   Database Mode = archive
                   Share_pool_size=52m &
                   share_pool_reseved_size= 5m (10% of share pool Area)
                   processes=500
                   parallel_max_servers=35
                   parallel_min_servers=1
                   job_que_processes=1
                   aq_tm_processe=1
                   global_name=true
                   Archive log mode =true
                   log_archive_dest_1 :='location =E:\oracle\archive1 reopen=30"
                   log_archive_dest_2 :='location =E:\oracle\archive2 reopen=30"
         # Stream Administrator Setup
         # LogMinor Tablespace Setup
         # Supplemental Logging
         # Configure Propagation Process
         # Configure Capture Process
         # Configure Instantiation SCN
         # Configure Apply Process
         # Start Apply Process
         # Start Capture Process
    Please give me as solution to overcome this problem

    I suspect you are running 10.1 or earlier version of the data base? If that is the case, logminer has a memory leak that runs the SGA out of memory over time.
    Look in metalink for logminer memory leak bugs. This forum has the exact bug if you search for it. It is patched in release 10.2.0.2.0. I just loaded that release and have other issues to fix before the bug appears again or not.
    Hope this helps,
    J.

  • ORA-4031 [512024] [large pool] [unknown object] [large pool] [PX msg pool]

    Hello Friends,
    I am frequently getting error in alert.log file.
    ORA-4031 [512024] [large pool] [unknown object] [large pool] [PX msg pool]
    Database version: 11gR2
    OS : Solaris 10
    SGA Size 4gb
    SGA Target 4112mb
    I am unable to identify the cause for above error.
    Some time database become hang.
    I can also see many wait events "latch: parallel query alloc buffer"
    Please guide me what could be the cause of this problem

    Hi
    Please check below which could be helpful for your issue:
    Master Note for Diagnosing ORA-4031 [ID 1088239.1]
    https://support.oracle.com/CSP/ui/flash.html#tab=Dashboard%28page=GRHome&id=gkzpuq90%28domainId=ORA4031%29%29
    Regard
    Helios

  • Ora-4031 after reducing the max sga

    Oracle 10g R2 and Baan 5c on AIX 5.3 L (p550, 3792M , 4 lcpu)
    After I reduced the max_sga_size (so to avoid the paging), now I see more ora-4031 (out of shared memory loading library cache object) warnings in the udump trc file, not in alert file. In addition, they appeared in the log.ora.sql of Baan as an error message, so the query requests were hung or stopped.
    Reading from other posts and metalink note: 146599.1, it indicated that the system has extensive fragmentation problem. (REQUEST_FAILURES is > 0 and LAST_FAILURE_SIZE is > SHARED_POOL_RESERVED_MIN_ALLOC. )
    So I used the tips form AskTom to find the query scripts that may have bind variable problem and I did found some, most of them in 2~4 multiples. However, not all of them gave ora-4031 warning/error, actually only very few.
    So what should I do for the best practice of the performance? Correct the problems with the bind variable of all queries or
    increase the max SGA again.
    All the queries were produced by the Baan´s processes or modules.

    I got hit this thread while searching some other subjects.
    (This is kind of old... but answered for a long time)
    I think this is somewhat interesting problem.
    Here is one query showing in the query of mulitple copies in system by using asktom technique. The system return 3 copies.
    SELECT /*+ FIRST_ROWS INDEX(A TTSSOC@$IDX@) */ A.T$CLST FROM >BAANDB.TTSSOC@ A WHERE (A.T$CLST = :@ OR A.T$CLST = :@) AND A.T$ORNO = :@I think there is a chance that you're hitting bind mismatch problem.
    Is [email protected]$CLST(What an annoying names~) column is VARCHAR2 type? If yes, following thread will be helpful.
    Re: Is there any way to avoid hard parsing caused by "BIND_MISMATCH" in 10g

  • ORA-04031 error in 8i

    Hi Sir,
    I am installing oracle 8.1.5 on a windows 2003 server R2 SP2
    machine, its having 4GB of RAM.
    I have choosen to install the preconfigured starter DB, when DBCA is creating
    the DB is throws the following error message...
    ORA-04031 unable to allocate 102724472 bytes of shared memory
    ("shared pool","unknown object","sga heap","db_block_buffers")
    Then Ignore or abort comes.
    Please give me any solution.
    Edited by: Wason Naveen on Nov 7, 2009 4:15 AM

    Hello,
    In general ORA-4031 is an error due to a lack of memory (shared_pool).
    So you should check for the parameter SHARED_POOL_SIZE and increase it (for instance to 200 Mo).
    Else, about the release, I'm surprised that you use Oracle 8.1.5. It's an old release and I'm not sure it's
    certified on Windows 2003.
    Best regards,
    Jean-Valentin

  • ORA-4031 Solaris

    Hi,
    I'm having problems with the following error message: ORA-4031: unable to allocate 72 bytes of shared memory ("large pool", "unknown object", "session heap", "trigger condition node"). It always appears the SECOND time I REMOTELY log in to a database. Local connections never experience this problem. The database which is running under Oracle 9.2.0.1 was created by a point in time recovery from an Oracle 9.2.0.8 database. The OS is Solaris 9.
    Any ideas?

    The error says an allocation FROM large pool FOR session heap has failed. This indicates that you're using shared servers for your remote sessions (and local sessions are using dedicated) and the shared server sessions run out of space in large pool.
    So you can query v$sgastat to see how much memory there's free in large pool when you get this error.
    The solution would be either to increase large pool size (with large_pool_size parameter on 9i) or stop using shared servers if you don't have too many connections to database...
    Tanel Poder
    http://blog.tanelpoder.com

  • Ora-00604 error and ora 01000 error while report generation.

    hi all,
    I am trying to generate the multiple reports of same template through a program.
    While this job is running, i get the following error at the BIP console and the reports don't get generated.
    [101711_044115578][][EXCEPTION] java.sql.SQLException: ORA-00604: error occurred
    at recursive SQL level 1
    ORA-01000: maximum open cursors exceeded
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01000: maximum open cursors exceeded
    ORA-01000: maximum open cursors exceeded
    Kindly help.
    Thanks.

    Lots of resources with a simple search to see what this is about, for example:
    http://www.orafaq.com/wiki/ORA-01000
    ORA-01000:     maximum open cursors exceeded
    Cause:     A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursors per user.
    Action:     Modify the program to use fewer cursors. If this error occurs often, shut down Oracle, increase the value of OPEN_CURSORS, and then restart Oracle.
    open_cursors parameter
    http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/initparams160.htm#REFRN10137
    Oracle support note:
    OERR: ORA-1000 maximum open cursors exceeded (Doc ID 18591.1)

  • Ora-00604,ora-01422 error while dropping the table

    Hi gurus,
    I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
    ORA-00604 : error occurred at recursive sql level 1.
    ORA-01422: exact fetch returns more than requested number of rows.
    Need urgent help.
    Thanks in advance

    Is there an AFTER EVENT trigger defined on this database? Can you check that?
    Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly).

  • Ora 600 error  Arguments [25012] [11]

    hi,
    i've an ORA-00600: error Arguments [25012], [2], [11], [], [], [], [], [] by DELETE FROM table WHERE filed = :b1
    ther are only 8 file in database. (not 11)
    Can anybody help, or give me an information about Bug number: 742709
    OS NT 4 / SP6 ORACLE RDBMS Version: 8.0.5.2.1.
    Thank in advice
    JFA

    Trace File Contents:
    ============================================================================================
    [oracle@oem trace]$ more /d01/app/guest/diag/rdbms/db11g/db11g/incident/incdir_191809/db11g_smon_4198_i191809.trc
    Dump file /d01/app/guest/diag/rdbms/db11g/db11g/incident/incdir_191809/db11g_smon_4198_i191809.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /d01/app/guest/product/11.2.0/dbhome_1
    System name: Linux
    Node name: oem.tap.com
    Release: 2.6.18-164.el5xen
    Version: #1 SMP Thu Sep 3 02:41:56 EDT 2009
    Machine: i686
    Instance name: db11g
    Redo thread mounted by this instance: 1
    Oracle process number: 13
    Unix process pid: 4198, image: [email protected] (SMON)
    *** 2010-10-15 12:05:24.395
    *** SESSION ID:(16.1) 2010-10-15 12:05:24.395
    *** CLIENT ID:() 2010-10-15 12:05:24.395
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-10-15 12:05:24.395
    *** MODULE NAME:() 2010-10-15 12:05:24.395
    *** ACTION NAME:() 2010-10-15 12:05:24.395
    Dump continued from file: /d01/app/guest/diag/rdbms/db11g/db11g/trace/db11g_smon_4198.trc
    ORA-00600: internal error code, arguments: [13013], [5001], [267], [8444108], [2], [8444108], [17], [], [], [], [], []
    ========= Dump for incident 191809 (ORA 600 [13013]) ========
    *** 2010-10-15 12:05:24.399
    dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
    ----- Current SQL Statement for this session (sql_id=dma0vxbwh325p) -----
    update smon_scn_time set time_mp=:1, time_dp=:2, scn=:3, scn_wrp=:4, scn_bas=:5, num_mappings=:6, tim_scn_map=:7 where scn = (sele
    ct min(scn) from smon_scn_time)
    ==========================================================================================

  • Ora-01008 error with bind variable

    Hi,
    We have a test program which have one bind variable on a column which is varchar2(20), in the test program we've passed a 20 character string to the variable. The program returns error in one of the databases but all others are successful. We've checked the column is same in all of them.
    Exception in thread "main" java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01008: not all variables bound
    Could you please advise how to troubleshoot this issue?
    Regards

    We aren't going to be able to help you if you won't post the database code that is giving the error.
    And now we need the Java code that is constructing the query that you are using.
    Your error is saying there is a second variable that you are not providing a value for.
    And you said
    >
    We have a test program which have one bind variable on a column which is varchar2(20), in the test program we've passed a 20 character string to the variable.
    >
    But you are using a string that is 23 characters long
    "a3g34-b13fd-efaie-f83fk"How does 23 go into 20?

  • Getting error-ORA-24381: error(s) in array DML

    Hi i have written the following code to bulk insert into a database table.
    I am getting an error while returning the result of the bulk insert query into the collection
    I have tried to track it by using sql%bulk_exceptions.error_code.
    But the error code that it is showing is just 1.
    I trapped it using sqlerrm.
    and that is showing-error(s) in array DML
    What do i do?
    DECLARE
       CURSOR temp_rec_tap_cur
       IS
          SELECT *
            FROM temp_records_tap;
       TYPE temp_rec_tab IS TABLE OF temp_rec_tap_cur%ROWTYPE;
       v_test_tab   temp_rec_tab;
       v_rec_num    num_tab;
       v_filename   temp_records_tap.file_name%TYPE;
       v_error_code tap_reject.error_code%type;
       v_rej_value  tap_reject.field_rej%type;                      
       v_errors number;   
    BEGIN
       SELECT file_name
         INTO v_filename
         FROM table1
         WHERE ROWNUM<2;
       OPEN temp_rec_tap_cur;
       LOOP
          BEGIN
             FETCH temp_rec_tap_cur
             BULK COLLECT INTO v_test_tab LIMIT 1000;
             FORALL i IN v_test_tab.FIRST .. v_test_tab.LAST SAVE EXCEPTIONS
                INSERT INTO tapdetail_tapin
                     VALUES v_test_tab (i)
                  RETURNING record_num
                    BULK COLLECT INTO v_rec_num;
          EXCEPTION
             WHEN DUP_VAL_ON_INDEX
             THEN
                NULL;
             WHEN OTHERS
             THEN
             v_errors:=sql%bulk_exceptions.count;
             for i in 1..v_errors
             loop
             dbms_output.put_line(sql%bulk_exceptions(i).error_code);
             p3_errorlog ('TAPINDETAWARE', SQLERRM, v_filename);     
             end loop;
             END;
                --RAISE;
          EXIT WHEN temp_rec_tap_cur%NOTFOUND;
       END LOOP;
    INSERT INTO table2
    SELECT file_id, file_name, sender_pmn, recipient_pmn, call_date,
                 call_date_only, call_type, call_number, FIRST_RECORD,
                 service_type, service_code, home_bid, serve_bid,
                 chargeable_subs_type, imsi_min, msisdn_mdn, air_charges,
                 air_charges_sdr, air_time, national_call_charges,
                 national_call_charges_sdr, national_call_time,
                 international_call_charges, international_call_charges_sdr,
                 international_call_time, dir_assist_charges,
                 dir_assist_charges_sdr, dir_assist_time, other_charges,
                 other_charges_sdr, other_time, volume_charges,
                 volume_charges_sdr, volume_units, tot_charges, tot_charges_sdr,
                 tot_duration, state_tax, state_tax_sdr, local_tax,
                 local_tax_sdr, state_and_use_tax, state_and_use_tax_sdr, va_tax,
                 va_tax_sdr, other_tax, other_tax_sdr, charge_refund_indicator,
                 advised_charge_currency, advised_charge, advised_charge_sdr,
                 advised_charge_commission, advised_charge_commission_sdr,
                 exchange_rate, mcc, mnc, process_date, chargeable_units,
                 record_num, mscid,null,null,decode(call_type,0,'250',1,'251',5,'255'),null,'Duplicate Call'
                 from temp_records_tap
                 where record_num not in (select column_value from table(v_rec_num)) ;
    EXCEPTION
    WHEN OTHERS THEN
    p3_errorlog ('TAP', SQLERRM, v_filename);  
    END;Edited by: user8731258 on Sep 14, 2010 2:58 AM
    Edited by: user8731258 on Sep 14, 2010 3:01 AM

    What is the type declaration of num_tab and how is record_num defined?
    ORA-24381: error(s) in array DML
    Cause: One or more rows failed in the DML.indicates that you fail on the insert itself. Are the table definitions the same? Same primary/unique keys?
    Edited by: MBr on 14-Sep-2010 03:16

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

Maybe you are looking for

  • App download error, always error for download ,can't clean temp

    right now, I'm Using Mountain lion as OS At App Store, I was try to download imovie , but it fail to completed the program and install its show error ("small") red word before install botton no matter how i did, just can't completed the program I did

  • RAW-Plugin for CS2 in Windows 7

    Hello, I use Windows7 and CS2. Everything is fine, but I cannot find the right folder for The RAW-Plugin "Camera Raw.8bi" to display Raw-files in Bridge and Photoshop. Has anybody the same problem and found a solution? thanks in advance!

  • Lost Password / Hard Erase???

    Hi Everyone, Maybe someone can help me???  My 11 year old genius forgot his password to his HP Touchpad WebOS about ten minutes after he received it.  I found the instructions on this site to do a hard erase of the device, however, I am a little hesi

  • Somehow music showed up in video area, viedo now only plays choppy audio

    So I turned on my Ipod this morning, and noticed that when I accessed the Ipod Video section that the responsivness went way down. It took about 10 seconds to get to the menu inside of Videos, then inside my movies, there are a whole bunch of songs t

  • Is it really compatible iphone3gs ver.4.1 to ios 6.1.3

    i cant use my phone now because i upgrade it to ios 6.1.3 and it shows that it is not compatible.how can i put it back ?