ORA-04031 while creating index

Hi,
I am creating a schema using IMP utility.
The import log is showing error (during index creation)
ORA-04031: unable to allocate 2064 bytes of shared memory ("shared pool","unknown object","sga heap","multiblock rea")
This is a Oracle 8 (8.1.7.4.0) database. Exports were taken from Oracle 7 and are being imported into Oracle 8.
Please guide me. I have never worked in such older versions. Below are some details
SQL> select * from v$sgastat;
POOL NAME BYTES
fixed_sga 73888
db_block_buffers 4505600
log_buffer 66560
shared pool free memory 2120444
shared pool miscellaneous 494960
shared pool PLS non-lib hp 2096
shared pool KGFF heap 61212
shared pool KGK heap 4248
shared pool KQLS heap 425692
shared pool trigger inform 120
shared pool Checkpoint queue 28944
POOL NAME BYTES
shared pool latch nowait fails or sle 37632
shared pool kcb where/why stats array 29376
shared pool message pool freequeue 124552
shared pool sessions 366520
shared pool transactions 166804
shared pool State objects 188224
shared pool branches 45120
shared pool simulator trace entries 80000
shared pool enqueue_resources 34200
shared pool long op statistics array 74800
shared pool PL/SQL DIANA 525652
POOL NAME BYTES
shared pool db_files 36272
shared pool ktlbk state objects 80036
shared pool dictionary cache 711268
shared pool table columns 17148
shared pool java static objs 30560
shared pool PL/SQL MPCODE 90204
shared pool fixed allocation callback 1920
shared pool library cache 1128364
shared pool db_handles 75000
shared pool sql area 2040852
shared pool db_block_buffers 74800
POOL NAME BYTES
shared pool processes 119400
shared pool SYSTEM PARAMETERS 63604
shared pool transaction_branches 33856
shared pool event statistics per sess 590240
java pool free memory 20000768
Please guide.
Regards,
SID

Hi SID;
Please see below notes:
Diagnosing and Resolving Error ORA-04031 on the Shared Pool or Other Memory Pools [Video] [ID 146599.1]
OERR: ORA 4031 "unable to allocate %s bytes of shared memory ("%s","%s","%s")" [ID 4031.1]
Regard
Helios

Similar Messages

  • ORA-01591 and ORA-00054 while creating index

    Hi guys,
    there is a situation that I didnt understand.
    I have table and want to create an index on it but when I try to create an index I got one of
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    or
    ORA-01591: lock held by in-doubt distributed transaction 11.13.689049 errors.
    as I know there is and .net application which has connection pooling and while this web services were active, I can not create index.
    first thing that i did is querying V$LOCK table and i saw some TM locks from time to time and sometimes nothing. when there wasn't any locks on the table I try to create index, system wait for a while (1 minutes approximately) then I got "ORA-01591: lock held by in-doubt distributed ..." error again. (even "Application" wait event occured. in enterprise manager I saw a few red sql command which is waiting for my create index command)
    after a quick search, I use PENDING_TRANS$ and PENDING_SESSIONS$ tables to force rollback to the transaction which is indicated on ORA-01591 error but just after I rollback that transaction, a new one come up every time.
    today I use something else. First I locked table manually in EXCLUSIVE mode (and success it). then I try to create index again, command worked for a while and I got ORA-01591 error again.
    any idea why is this happining and how can i create my index ?

    sybrand_b,
    when i run
    Lock Table MyTable in exclusive mode;command, it succeeded. I can lock the table if you mean that or if you are saying even if that command runs very well, because of in doubt transaction, oracle will take the lock back, that could be. but as i said lock table command succeeded.
    and there is an another situation here, there is no any other database ? I mean, how could an in doubt transaction happen. there are dblinks but they do not even query that table.
    there is just something that i dont know. as i said in my first message, a .net application is running on an aplication server, as far as i know there connection pooling etc on that server. is this can cause that kind of in doubt transaction ?
    PS: every time in ora-01591 error, I got the same transaction id and that transaction id is not in dba_2pc_pending or pending_session$ etc. that might help.
    Edited by: Mustafa KALAYCI on 17.Şub.2012 13:48

  • Err while creating Index - ORA-29855: ,ORA-20000

    Got err while creating index. We moved the Table to new tablespace and drop the index. While creating index got this err. Col1 is clob datatype.
    SQL> CREATE INDEX kc_ctx_RAWTEXT ON RAWTEXT
    2 (col1)
    3 INDEXTYPE IS CTXSYS.CONTEXT
    4 PARALLEL ;
    CREATE INDEX KC_CTX_RAWTEXT ON RAWTEXT
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drvddl.ParallelIndexPopulate
    ORA-12801: error signaled in parallel query server P020
    ORA-20000: Oracle Text error:
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRVPARX", line 36
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364

    remove parallel clause and try again

  • Getting error while creating index in RAC environment in 11g

    Hi All,
    I am new to RAC concept while creating index getting below error
    Error: AX_DISABLE_HIST - SQL Error. Error Position: 0
    Return: 12801 - ORA-12801: error signaled in parallel query server P146, instance
    ORA-12853: insufficient memory for PX buffers: current 425904K,
    max needed 11105280K ORA-04031: unable to allocate 32792 bytes of shared memory ("shared pool","unknow
    CREATE UNIQUE iNDEX PS_AX_DISABLE_HIST ON PS_AX_DISABLE_HIST (EMPLID) TABLESPACE PSINDEX STORAGE
    (INITIAL 40000 NEXT 65536 MAXEXTENTS UNLIMITED PCTINCREASE 0) PCTFREE 10 PARALLEL NOLOGGING
    am not able to understanding is this issue is related to index or sga memory. can any once help me on this.
    Thanks in advance
    Prabhakar
    Edited by: 889571 on May 16, 2013 7:41 AM

    Hi,
    Please read the below link for ORA-04031 (Insufficient Memory).
    http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/
    Thanks

  • Don't have primary Key in Target table getting errror while creating index

    Hi All,
    I don't have primary key column in target table, while exicuting mapping I got a error while creating INDEX.
    Could you please help how to slove this

    Hi,
    That is a process definition issue.
    If you don't have a PK then:
    1) or you don't execute updates
    2)or you have an alternate Key to update it.
    Case 1) just change the KM to IKM Control Append
    Case 2) at interface, go to each column what is Alternate Key and check it as key (click at column and check the box Key at bottom of propriety window).
    Does it work to you?

  • Error while creating index on  ep 6.0 9 sr1   (trex 6.1).

    Hell o all,
        I am getting following error while creating index on  ep 6.0 9 sr1   (trex 6.1).
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    can any on ehelp.
    thanks and regards
    Rajendra

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

  • Error while creating index

    hi all,
    i got this error while creating index in portal.
    <b>Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)</b>
    it a little urgent any will be appreciated.
    thanks in advance
    Ranga

    Hi Ranga,
    Please follow http://help.sap.com/saphelp_nw04s/helpdata/en/c7/e0d13f7fb44c21e10000000a1550b0/frameset.htm
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Getting Error ORA-00604 While Creating View from front Ent

    Hello All,
    I am getting ORA-00604 while creating view from the front end. And some time I get Maximum cursor open, It is ok amy be I am opening cursors in while loop. While ORA-00604 is giving lots of truble to me. In help it said to contact Oracle service, I dont know how to do that. Help me.

    Please post your view definition including the complete error_message and also the relevant parts of your code with the while loop.

  • Proxy error while creating index

    hi all
            i've configured Trex name server in j2ee visual admin,and ialso configure the prosy server in the following path
    System Administration  ® System Configuration  ® Service Configuration ® Applications (Content Catalog) ® com.sap.portal.ivs.httpservice  ® Services  ® Proxy
    by giving host name
    but while creating index the following error occured
    Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fadministrator!2fsuper_admin!2fsuper_admin_role!2fcom.sap.portal.system_administration!2fcom.sap.portal.system_configuration!2fcom.sap.km.AdminConfig!2fcom.sap.km.AdminSystemIndexes!2fcom.sap.km.IndexAdmin. Reason: Error reading from remote server -
    Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
    and in SysAdmin/SysComfig/Km/Trex Monitor the following error is displaying  
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy.
    Reason: Error reading from remote server
    Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
    can any one give me the appropriate solution for the above,its very urgent.
    awaiting for replies
    Regards
    Gnana
    Note:also tell me how to rate for replies coz through this forums i solved many problems

    Hi Gnana,
    as there seem to be no replies here and I do not have one either, please submit a support message to SAP and be prepared to grant system access.
    Regards,
    Karsten

  • Do we need any precautions while creating index in MV rather than tables?

    Do we need any precautions while creating index in MV rather than tables?
    Could you please someone tell me is there we need specifically follows while creation on MVs

    MV is a seprate object. You might need to create an indexes on MViews based on how you are accessing that MV. You need to take a same preacutions what you take to create an index on the table,
    I do not know what you mean by your 2nd questions. Read this for better understanding
    http://docs.oracle.com/cd/B28359_01/server.111/b28326/repmview.htm

  • ORA-29855 while creating spatial index

    Hello, I am having trouble creating a spatial index.
    When I execute the following:
    create index la2003geoidx on polygons("GEOMETRY1")
    indextype is mdsys.spatial_index;
    I get the error
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    I've seen a few topics in this forum that mention this error, but in my case that is the ONLY error message.

    whew. had trouble with the login.
    Hi Daniel,
    we are using 8.1.6 with the latest patches available. We have been using a spatial database for some time, but have never gotten the indexing to work. We always got wierd stuff, but now it's just the one error message.
    We are using Geomedia Pro 4 to access the data on the client end, if that makes a difference

  • ORA-12805: parallel query server died unexpectedly while create index?

    Hi,
    I create a index like below, getting erro like ORA-12805: parallel query server died unexpectedly ,
    any idea?
    db version: 9.2.0.6
    platform: sun 9
    CREATE INDEX "HSTRY"."F_PRMM_LDGR_TG_MNTHLY_IDX1" ON "F_PRMM_LDGR_TG_MNTHLY" ("CDD_TRNSCTN_SBHDR_UID" , "CNTRCT_LYR_PRTCPNT_UID" , "CDD_FNNCL_ELMNT_TYPE_CD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 TABLESPACE "RPT_FCPTB" NOLOGGING PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT) LOCAL(PARTITION "BKNG_PRD_PRE_200904" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200904" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200905" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200906" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200907" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200908" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200909" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200910" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200911" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_200912" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_201001" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_201002" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_201003" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING, PARTITION "BKNG_PRD_DEFAULT" PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "RPT_FCPTB" NOLOGGING ) ;
    Thanks
    Jerry
    Edited by: jerrygreat on Jun 25, 2009 8:03 AM
    Edited by: jerrygreat on Jun 25, 2009 8:19 AM

    The alert.log is like below, seems no enough temp tablespace?? thx
    Errors in file /qia1/tech/oracle/admin/hrdr/bdump/hrdr_p000_7052.trc:
    ORA-01114: IO error writing block to file 208 (block # 59005)
    ORA-27063: skgfospo: number of bytes read/written is incorrect
    Additional information: 75776
    Additional information: 245760
    ORA-01114: IO error writing block to file 208 (block # 59005)
    ORA-27063: skgfospo: number of bytes read/written is incorrect
    Additional information: 75776
    Additional information: 245760
    ORA-01114: IO error writing block to file 208 (block # 59005)
    ORA-27063: skgfospo: number of bytes read/written is incorrect
    Additional information: 75776
    Additional information: 245760

  • Error: ORA-02298 while creating a new app at DRM 11.1.2.3.300

    Hi All,
            There's something weird happening when I try to create a new DRM app at DRM Management Console. After provide all information about database connection and admin long on i am getting the following error during the repository creation :
    Creating Repository ...  Done.
    Creating Tables ...  Done.
    Creating Views ...  Done.
    Creating Stored Procedures ...  Done.
    Creating Indexes ...  Done.
    Creating Primary Keys ...  Done.
    Initializing schema with predefined data ...
    Database creation failed with this error: ORA-02298: cannot validate (EPM_DRM_DB.FK_CATUSER02) - parent keys not found
         It is a fresh install and I don't know why I am having this error.  Did someone had this issue too ? How to solve that ?
    Thanks in advance

    ...To whom it may concern.....
    This issue was related to privileges in database. I've generated the scripts and ran with system user and it worked.
    Case closed.

  • Error ORA-04031 while executing a stored procedure from Pro C++ code

    I am getting the error ORA-04031(Unable to allocate 4096 bytes of shared memory("Shared Pool",.....)) while trying to execute a stored procedure from my pro*C application. This happens only after a few hours since the application has been running. I am closing the cursor after every database call.
    Does anyone know why it is happening and any possible solutions?
    TIA
    Srithaj.

    One thing that can be done is to flush the shared pool before starting the application.
    alter system flush shared pool;
    Another is to increase the shared pool size by setting the parameter shared_pool_size in init_sid.ora file.
    null

  • Configuration error while creating index in KM

    Hi KM Expets,
    I am getting the following error while creating a new index via System Adminstration > System Configuration > Knowledge Management > Index Adminstration.
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
    I guess all the field values filled by me are correct, so not able to get the problem.
    Any suggestions/help ?
    Regards,
    Saurabh

    HI
    check this links:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=551325
    https://forums.sdn.sap.com/thread.jspa?threadID=953575&messageID=5752406#5752406
    Hope this may help you.
    Thanks
    Hussain.

Maybe you are looking for

  • HT3951 how do I get a itune ringtone to be ringtone on my iphone 5?

    I found a ringtone in the iTune store, purchased same, it downloaded as music on my iphone 5, i want to use it as the ringtone for my iphone. How do I get it be a ringtone?

  • Need Tables for structures

    Hi, These are 4 fields are from different structure.We are unable to find tables for these structures. All field and structures are from VA03 transaction in ECC. *Name :Production Order Status    Structure : CAUFVD          FieldSTTXT* *Name:Sales Or

  • Add date (selection criteria) in MB52/MB58

    Hi friends, I must add date selection in selection screen of MB52. I have been creating ZMB52 but I don't know how can I add date field in selection screen. Also i need to add date selection in MB58. Can anybody help me? Thanks, Jawahar.

  • How can I accomplish this in PhotoShop?

    I have a picture of this ring. How can I make it look more like this? Just for experimenting. Silver, and sterling silver are very reflective of the color it is around so it doesn't look professional as much in a picture above because it's harder to

  • Cannot Continue with migration...

    while enanbling  the Advanced GL Account determination, l encountered the following error message ' Cannot continue with migration because SAP business one integration EverSender on named server connected to the company database, close this program a