Resolving errors ORA-01652 and ORA-04031

Hi,
My database is 8.1.7
i am frequenty getting this error.
suggestion required.

For ORA-01652, check free space in your datafiles.
For ORA-04031, upgrade to Oracle 8.1.7.4.1 or higher.

Similar Messages

  • 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

  • I have an error ora-04031 on XE 11g

    hello,
    I have an error ora-04031 on XE 11g
    When I restart DB, this error is fixed.
    Can I set any parameter(SHARED_POOL_SIZE) to fixed this error?
    OS:win 2003 server
    ora-00604: error occurred at recursive SQL level 1
    ora-04031: unable to allocate 4064 bytes of shared memory ("shared pool","select t.rowcnt, t.blkcnt, t...","sga heap(1,0)","kglsim heap")

    Hello,
    Can I set any parameter(SHARED_POOL_SIZE) to fixed this error?There actually is a parameter, but in 11g XE it's not effective by default because Automatic Memory Management (AMM) is activated. AMM tries to tune the different memory parameters to achieve best performance for all activities in the database.
    You can disable automatic memory management, but I'd not recommend to do that unless you really know what you do.
    In your case, I'd start to investigate if a perticular query is causing that issue and you might be able to tune it, so it needs less memory. A second step would be to check whether your instance is already using the 1 GB you can have in XE. To find out, run the following query
    select * from v$parameter where name in ('memory_target', 'sga_target','sga_max_size','pga_aggregate_target');The parameters for AMM would be memory_target and memory_max_target where memory_target is the effecitve maximum amount of memory used by XE. If it's not enabled (set to 0), the other three might be effecitve.
    To increase the value for memory_target you can run
    alter system set memory_target=<size>M;where +<size>M+ would be the amount of memory in megabytes. As mentioned before, you can assign a maximum of 1 GB and not more than you've defined in the memory_max_target parameter. To increase that value, you need to run
    alter system set memory_max_target=<size>M scope=spfile;and restart your database before you can alter memory_target to a higher value.
    BTW: For further investigation you don't need to restart the database to reset the shared pool: You can do this by issuing the following command
    alter system flush shared_pool;If this all doesn't help, I'd recommend to dig in deeper into memory management of the Oracle Database. But let's start with first steps first.
    -Udo

  • How to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY

    Hi Expert,
        Please tell me how to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY
    Thanks and Regards

    Google is obviously broken for you: so I've posted what you need to put into your browser.
    https://www.google.co.uk/search?q=ORA-01033

  • ORACLE error ORA-04031: unable to allocate 16 bytes of memory

    Error
    UDI-04031: operation generated ORACLE error 4031
    ORA-04031: unable to allocate 16 bytes of shared memory ("shared pool","SELECT j
    generated during import operation, using documentation about migration from 10g XE to 11g XE.

    Hello,
    you could try to override the automatic memory management and setup your SGA to be larger by setting SGA_TARGET. If that doesn't help yet, you could even try to configure the memory size for the components in SGA manually, but I guess this won't be necessary.
    After your import is done, I'd recommend to use automatic memory management again.
    See the XE 2 Day DBA for details, especially the section on [url http://download.oracle.com/docs/cd/E17781_01/server.112/e18804/memory.htm#ADMQS174]Managing Memory. It's not a complete guide, but a rough introduction, but it'll probably help you understand the memory concepts in the database.
    Keep in mind that you may only assign 1 GB of memory in total when you setup your memory manually.
    -Udo

  • How to resolve error ORA-29491: invalid table for chunking?

    Hello,
    I'm trying to implement DBMS_PARALLEL_EXECUTE to speed up a huge update I need to do. I'm stuck on a problem with the table I'm using to test my procedure. Here's a simple test that produces the same error. As best I can tell, the table I'm declaring here is missing some kind of requirement that lets DBMS_PARALLEL_EXECUTE make use of it, but the docs and searching for the error code haven't turned up any useful discussions. Please help.
    drop table owner.why_cant_i_hold;
    create table owner.why_cant_i_hold (
    things VARCHAR2 (64),
    amount INT,
    CONSTRAINT why_cant_i_pk PRIMARY KEY (things)
    insert into why_cant_i_hold values ('limes', 8);
    insert into why_cant_i_hold values ('lemons', 8);
    insert into why_cant_i_hold values ('watermelons', 5);
    insert into why_cant_i_hold values ('cats', 4);
    insert into why_cant_i_hold values ('teacups',10);
    insert into why_cant_i_hold values ('mugs', 5);
    insert into why_cant_i_hold values ('eggs', 15);
    insert into why_cant_i_hold values ('jobs', 3);
    commit;
    -- got tasks?
    COLUMN task_name FORMAT A10
    SELECT task_name,
    status
    FROM user_parallel_execute_tasks;
    --exec DBMS_PARALLEL_EXECUTE.CREATE_TASK('holding');
    exec DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID('holding', 'ODDEV03', 'why_cant_i_hold', true, 3);
    It seems like a really simple case here. The output is all successful until
    "Error starting at line 25 in command:
    exec DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID('holding', 'owner', 'why_cant_i_hold', true, 3);
    Error report:
    ORA-29491: invalid table for chunking
    ORA-06512: at "SYS.DBMS_PARALLEL_EXECUTE", line 27
    ORA-06512: at "SYS.DBMS_PARALLEL_EXECUTE", line 121
    ORA-06512: at line 1"

    Oh. This was an easy one, table names are never really lower-case. Changing the value in my chunking call fixed the simple test:
    exec DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID('holding', 'ODDEV03', 'WHY_CANT_I_HOLD', true, 3);
    It doesn't help with why my more complicated test case isn't working, but I have details to check before I ask again.
    EDIT: lesson learned... 'invalid table' doesn't mean the database can find the table you are talking about at all. I hope that's a help.
    Edited by: user519442 on Nov 16, 2011 12:33 PM

  • Please resolve error ORA-00245:

    Hi
    what is the solution of foloowing error
    11gr2
    aix
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 06/20/2011 10:23:57
    ORA-00245: control file backup operation failed
    thanks

    you need to configure snapshot controlfile,
    source:
    RAC BACKUP FAILS WITH ORA-00245: CONTROL FILE BACKUP OPERATION FAILED [ID 1268725.1]
    RMAN Snapshot Controlfile Must Reside on Shared Device for RAC database [ID 1263621.1]
    answered by CKPT
    reference:-Re: ORA-00245 on alert_log.
    also refer,
    http://yichen-oracledba.blogspot.com/2011/02/11gr2-rac-backup-fails-with-ora-00245.html

  • ORA-04031: unable to allocate 33568 bytes of shared memory  in Oracle 10g

    Hi,
    I am getting following message frequently while taking export in Oracle 10g database:-
    EXP-00008: ORACLE error 4031 encountered
    ORA-04031: unable to allocate 33568 bytes of shared memory ("shared pool","DBMS_REPCAT_UTL","PL/SQL MPCODE","BAMIMA: Bam Buffer")
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT_UTL"
    ORA-06512: at "SYS.DBMS_REPCAT_EXP", line 87
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_EXP.schema_info_exp
    EXP-00008: ORACLE error 4031 encountered
    ORA-04031: unable to allocate 16416 bytes of shared memory ("shared pool","SELECT SYNNAM, SYNNAM, SYNTA...","kgghtInit","kgghtInit")
    EXP-00000: Export terminated unsuccessfully
    Whats could be the reason?

    There could be a few reasons causing the problem. From literal message it would look like your shared pool size is small and you need to increase. But the root cause of the problem is a little more complicated than that. I suggest you read metalink doc
    Diagnosing and Resolving Error ORA-04031
    Doc ID: Note:146599.1

  • 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

  • Diagnosing ORA-04031 on Oracle9iR2

    Hi
    We're running an Oracle9iR2 (9.2.0.6) database on Red Hat Enterprise Linux 4.0 (IA32). The database is used for development and testing. It's been running ok until recently users started getting the following error when trying to connect to the database:
    ORA-04031: unable to allocate 17168 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","session param values")
    What's changed during the last weeks is that we've installed Oracle10gR2 and the Oracle Calendar server on the machine, and added a about 10-20 new user accounts.
    The server was originally running in dedicated server mode until i noticed there were 115 Oracle processes running on the server at one moment. The database typically has large number of connections which are idle most of the time. I changed it to shared server mode in order to avoid the overhead of having lots of server processes which are doing nothing most of the time.
    I also increased the shared_pool_size and large_pool_size on the server but i'm still seeing ORA-04031 errors in trace files. How do i determine whether the cause is shared or large pool? How do i determine the right sizes for these pools? The traces include heap dumps for large pool.
    The SQL query appearing in the trace files cursor name section is just one type of SQL query in most of the cases. How can i debug shared memory usage for a particular SQL query so that i can try and modify it to a more memory economic direction?
    br. aspa

    Hi,
    If you have access to metalink, I advise you to read 146599.1 Diagnosing and Resolving Error ORA-04031.
    The SQL query appearing in the trace files cursor name section is just one type of SQL
    query in most of the cases. How can i debug shared memory usage for a particular SQL
    query so that i can try and modify it to a more memory economic direction?The following SQL can show you statements with literal values or candidates to include bind variables:
    SELECT substr(sql_text,1,40) "SQL",
    count(*) ,
    sum(executions) "TotExecs"
    FROM v$sqlarea
    WHERE executions < 5
    GROUP BY substr(sql_text,1,40)
    HAVING count(*) > 30
    ORDER BY 2;Note: The number "30" in the having section of the statement can be adjusted as needed to get more detailed information.
    There is a fixed table called x$ksmlru that tracks allocations in the shared pool that cause other objects in the shared pool to be aged out. This fixed table can be used to identify what is causing the large allocation.
    SELECT * FROM X$KSMLRU WHERE ksmlrsiz > 0;Note : This view can only be queried by connected as the SYS.
    How have you RAM ?
    Since your last install, perhaps your RAM is not sufficient any more ?
    Check your memory occupation.
    Nicolas.
    How do i determine whether the cause is shared or large pool? If there is no free memory into large pool left when a request is made then an ORA-4031 will be signalled similar to this : ORA-04031: unable to allocate XXXX bytes of shared memory
    ("large pool","unknown object","session heap","frame")
    Message was edited by:
    N. Gasparotto

  • Increase Shared Pool for erorr # ORA-04031

    hi,
    what do i need to look at before i increase the shared pool of our database?
    there is just the one database instance on the machine.
    i am concerned about the repurcussions on the server.
    i hope the information below is of help.
    db version: 10.2.0.1.0
    os: Red Hat Linux 3
    SQL> select name, value from v$parameter where name like '%pool%';
    name value
    shared_pool_size 150994944
    large_pool_size 33554432
    java_pool_size 50331648
    streams_pool_size 0
    shared_pool_reserved_size 10066329
    buffer_pool_keep
    buffer_pool_recycle
    global_context_pool_size
    olap_page_pool_size 0
    thanks,
    santosh sewlal

    Hi Santosh,
    This is what i faced last two days back! Now i am monitoring the Issue! If you got any solutions please let me know how to avoid this!
    ORA-04031 error can be due to either an inadequeate sizing of the SHARED POOL size or due to heavy
    fragmentation leading the database to not finding large enough chuncks of memory.
    You can monitor this with the two events...
    alter system set events '4031 trace name errorstack level 3';
    alter system set events '4031 trace name heapdump level 3';
    Fragmentataion is one of the causes of ora 4031
    Please refer these.
    1.Article-ID: Note 146599.1
    Title: Diagnosing and Resolving Error ORA-04031
    2.Article-ID: Note 62143.1
    Title: Understanding and Tuning the Shared Pool
    3.Article-ID: Note 61623.1
    This is paticular for Oracle 9i Rel 2, Hope the same for Oracle 10 G
    Regards
    Ravi

  • ORA-04031 . how to remove this error.

    Hi Guys,
    when i try to run one of my query based on a view, i get the following error:
    ORA-04031: unable to allocate 4096 bytes of shared memory ("large pool","unknown object","sort
    subheap","sort key")
    I have no idea if this error is related to memory or what. Pliz help how to resolve this error and run my query.
    Regards,
    Imran Baig

    [oracle@demo oracle]$ oerr ora 4031
    04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
    // *Cause:  More shared memory is needed than was allocated in the shared
    //          pool.
    // *Action: If the shared pool is out of memory, either use the
    //          dbms_shared_pool package to pin large packages,
    //          reduce your use of shared memory, or increase the amount of
    //          available shared memory by increasing the value of the
    //          INIT.ORA parameters "shared_pool_reserved_size" and
    //          "shared_pool_size".
    //          If the large pool is out of memory, increase the INIT.ORA
    //          parameter "large_pool_size".
    [oracle@demo oracle]$

  • SAP BW with ORA-04031 Errors

    Hello All,
    Context:
    We have a financial closing system working in the BW 3.5 and Oracle 9.2.0.7.0.
    We are working with more than 100 millions records in 3 days.
    In general, the system uses the standard data marts and BPS processes (copy, distribution, etc).
    Error:
    We had a lot of ORA-04031 errors for all execution (ABAP Programs, Data Loads, BPS Executions), it stopped the environment.
    We did the "stop/start" the server to solved the problem.
    The basis team increase the parameter "shared_pool_size" = 3000M - We saw the SAP Note (690241) and which is more than enough.
    We have fear about it, we think it is posible to occurs again.
    This is a big impact for the business.
    Have you got this error in the past?
    Could you please help us.
    Thanks a lot.
    Daniel Souza
    SAP BW, SEM and Portal Consultant.
    São Paulo - Brazil
    +55 11 99092151

    Hi Chandran,
    We saw this note.
    The basis team have been changed the KGHDSIDXCOUNT parameter ( 4 to 1).
    I am not founding more causes for this problem in the note.
    Is it posible to have problems if the DB_CACHE_SIZE parameter is very large? example 18000M?
    The basis team reduces the value for 1700M, in the last shutdown.
    How can I flush the memory automatically?
    The basis team reported this error for us. "It is not posible to flush the memory, it is necessary to shutdown the server".
    Is it posible for the oracle 9i manage the memory area (shared pool) automatically? Is it recommended? Have you got this experience?
    We have seen two notes about it:
    997889 --> "Increase the memory SGA the ocurrence of error ORA-04031 but it does not prevent it."
    617416 --> "The following areas of the SGA can be changed dynamically with Oracle 9.2 if the SGA is configured dynamically: Buffer Cache, Shared Pool, Large Pool."
    Thanks a lot.
    Best regards,
    Daniel Souza
    São Paulo - Brazil

  • ORA-04031 unable to allocate 4080 bytes of shared memory

    Hi Everyone,
    The error ORA-04031 has been consistently occuring in our production landscape.
    We have Applied Oracle patches in BI7.0 (2004s - Oracle 10.2.0.2) system as per SAP's suggestions.  (A set of 35 patches as per note 871096)
    (Patches List - 5369855,5253307,6340979,5618049,7133360,5895190,6826661,4704890,6005996,5188321,6447320,3748430,5442919,4952782,5458753,5941030,5345999,6153847,5530958,4883635,5636728,4668719,5635254,5063279,7237154,5103126,4638550,4770693,4864648,6046043,7608184,6729801,5363584,6771608,6435823)
    Applying oracle patches has not resolved this issue.  The error is reoccuring.  Now as per notes 1171650 and 830576 we have tuned in certain parameters.
    We also checked the Notes 869006 and 1120481 but nothing much is helpful. 
    A Go-Live is scheduled this week.  Could you please suggest what further actions need to be taken to identify the issue and resolve it.
    Thanks in advance.
    Best Regards
    Bhupesh

    Hi Stefan / Jens,
    Thanks for the help so far.
    Running the SQL statement produced more than 21000 rows.  We could get an idea as to which statement is using more memory.
    Top 5 statements are as below
    SQL> select * from (SELECT SQL_text, SHARABLE_MEM, PERSISTENT_MEM, RUNTIME_MEM FROM V$SQLAREA ORDER BY SHARABLE_MEM desc) where rownum <=5;
    SQL_TEXT
    SHARABLE_MEM PERSISTENT_MEM RUNTIME_MEM
      select a.segment_type,         round(a.mb,2) size_mb,         round(decode(seg_num,0,0,a.mb/a.seg_num),2) size_avg_mb,         a.seg_num,         a.ext_num,              nvl(b.more100ext,0) more100ext,         decode(lower(a.segment_type),'table',c.com_tab,                                      'index',d.com_ind,                                         'table partition',e.com_tpar,                                    'index partition',f.com_ipar,                         0) compressed,          decode(lower(a.segment_type),'table',g.log_tab,                                      'index',h.log_ind,                                'table partition',i.log_tpar,                                     'index partition',j.log_ipar,                                    'lobsegment',k.log_lob,                                 'lobindex',k.log_lob,                                     0) nologging  from (select segment_type,               nvl(count(*),0) seg_num,                    sum(nvl(bytes,0))/10
         1257431         441584      436528
      select a.username user_name,         a.user_id user_id,         round(nvl(b.mb,0),2) size_mb,         nvl(b.seg,0) segments,         nvl(c.tab,0) tables,     nvl(d.ind,0) indexes,          nvl(b.ext,0) extents,         a.default_tablespace default_tablespace,         a.temporary_tablespace temporary_tablespace,      to_char(a.created, 'dd.mm.yyyy') created,         to_char(a.created, 'hh:mm:ss') created,         a.account_status account_status,         a.profile profile  from    dba_users a,    (select owner, count() seg, sum(nvl(bytes,0))/1024/1024 mb,         sum(nvl(extents,0)) ext     from dba_segments group by owner) b, (select owner, count() tab from dba_segments     where segment_type='TABLE' group by owner) c,    (select owner, count(*) ind from dba_segments     where segment_type='INDEX' group by owner) d  where a.username=b.owner() and     a.username=c.owner() and        a.username=d.owner(+)
          578473         200064      196176
    SELECT count(*) over () as total_count,        sd_xe_ash_nm.event_name,        sd_xe_ash_nm.event_id,        sd_xe_ash_nm.parameter1 as p1text,        (CASE WHEN (sd_xe_ash_nm.parameter1 is NULL                 OR                    sd_xe_ash_nm.parameter1 = '0')              THEN 0              ELSE 1         END) as p1valid,     sd_xe_ash_nm.parameter2 as p2text,        (CASE WHEN (sd_xe_ash_nm.parameter2 is NULL                    OR                    sd_xe_ash_nm.parameter2 = '0')           THEN 0              ELSE 1         END) as p2valid,        sd_xe_ash_nm.parameter3 as p3text,        (CASE WHEN (sd_xe_ash_nm.parameter3 is NULL                         OR                    sd_xe_ash_nm.parameter3 = '0')              THEN 0              ELSE 1         END) as p3valid,        sd_xe_ash_nm.keh_evt_id,        nvl(xc.class#, 0) as class_num,             sd_xe_ash_nm.wait_class_id,        nvl(xc.keh_id, 0) as keh_ecl_id,    sd_xe_ash_nm.ash_cnt,         sd_xe_ash_nm.tot_wts_diff,
          453779         138168      132136
      select    a.name db_name,    round((nvl(b.data_KB,0)nvl(c.temp_KB,0))/1024/1024,2) size_gb,    round((nvl(b.data_KB,0)-nvl(d.data_free,0)             nvl(e.temp_KB_used,0))/1024/1024,2) used_gb,         round((nvl(d.data_free,0)nvl(c.temp_KB,0)-     nvl(e.temp_KB_used,0))/1024/1024,2) free_gb,    to_char(((nvl(b.data_KB,0)-nvl(d.data_free,0)           nvl(e.temp_KB_used,0))/(nvl(b.data_KB,0)+              nvl(c.temp_KB,0)))100, '999') percent_used,    to_char(((nvl(d.data_free,0)nvl(c.temp_KB,0)-           nvl(e.temp_KB_used,0))/(nvl(b.data_KB,0)              nvl(c.temp_KB,0)))100, '999') percent_free,    f.num_seg,    g.num_ts,    h.num_us, to_char((nvl(b.data_KB,0)/(nvl(b.data_KB,0)+             nvl(c.temp_KB,0)))100,'999') percent_data,    to_char((nvl(c.temp_KB,0)/(nvl(b.data_KB,0)+          nvl(c.temp_KB,0)))100,'999') percent_temp,    round(to_char((f.tab_kb/(nvl(b.data_KB,0)+                    nvl(c.temp_KB,0)))*100,'999'),0) percent_tab,    round(to_char((f.
          449213         154968      151184
      select ts,         round(size_mb,2) size_mb,         round(free_mb,2) free_mb,         round(decode(size_mb,0,'',(size_mb-           free_mb)100/size_mb),0) per_used,      autoextensible,         round(total_size_mb,2) tot_size_mb,         round(total_free_mb,2) tot_free_mb,         round(decode(total_size_mb,0,'',(total_size_mb-        total_free_mb)100/total_size_mb),0) per_tot_used,         files,         segments,         extents,         status,         contents  from    (select a.tablespace_name ts,         nvl(c.mb,0)nvl(e.mb,0) size_mb,            decode(lower(a.contents),'temporary',              nvl(e.mb,0)-nvl(f.used_mb,0),nvl(d.free_mb,0))           free_mb,            nvl(c.files,0)nvl(e.files,0) files,            nvl(b.seg,0) segments,            nvl(b.ext,0) extents,         decode(lower(a.contents),'temporary',         decode(sign(nvl(e.tot_mb,0)-nvl(e.mb,0)),1,'YES','NO'),         decode(sign(nvl(c.tot_mb,0)-nvl(c.mb,0)),1,'YES','NO'))
          429595         139184      136072
    SQL>
    Please suggest how to go ahead.
    Thanks & Regards
    Bhupesh

  • ORA-04031: unable to allocate 128 bytes of shared memory

    Hi,
    experts i need your advice here,
    in my application we have on so called Master view which has 550 columns, this view is left outer join with 60 other views, something like
    select c1
    from   master_view
             left outer join v1 on --
             left outer join v2 on --
             left outer join v60 the compilation of the master view takes around 140 secs, but when i give grants to other users, or i re compile again, it shows me the error
    ORA-04031: unable to allocate 128 bytes of shared memory plz assist me how i should resolve this issue,
    Regards
    nic

    Hi billy,
    your idea worked big big time,
    i encaspulated all the outer joins views in small small views and finally build mv on each views,
    the master view is plain equijoin, and has only 5 new mvs in its join condition,
    the performance is increased tremendously,
    thanks,
    some times i wonder y i dont get such ides ;-);
    all and all i can say,
    good judgement comes from good experience, but good experience comes from bad judgement...
    Regards
    nic

Maybe you are looking for

  • Multiple iTunes Accounts on One Computer

    I just got an iPod Nano. My husband has an iPod Mini. He's been using iTunes fine for months with his Apple ID. I successfully set us up to each replicate just our playlists so we can both have our iPods in iTunes. However, I can't log in to iTunes.

  • How can I download podcasts from new PC to my iPhone 4s?

    The phone had been using an iMac iTunes. I've now gone to a PC. (Forced to a PC because FCPX won't support my new video camera.) On new itunes, I registered new computer, backed up iphone, synced iphone (I think) and downloaded purchased music to new

  • Mail Provider changed; Error in CC

    Hi everybody, we changed our mail provider and do know habe ms exchange server. The account number in Outlook is XXXXX.YYYYY.de I tried to change the URL value in Mail sender adapter to smtp://XXXXX.YYYYY.de But the CC does not work. Any ideas? Thank

  • Thunderbolt network access Windows network

    First, let me admit that I am brand new to the Mac.  I have the new Retina Macbook Pro and like it, but am having real network connectivity problems. First, when connected through wireless, it is unreliable in resolving Windows host names.  For examp

  • PROBLEM: Error sync photos Itunes 9.2

    *iOS 4 + iTunes 9.2* error occurs when you sync *photos from iPhoto.* on iOS 3 was normal! What should I do? Screenshot: http://www.imagepost.ru/images/154/grK1SmaVVKysWAxGNXdpfXS9_2010_06_16_nf13.40.02.png