ORA-04030: of process when an attempt to allocate memory

Hello

I did a digital dashboard with 12 application. Each job well, but one last have error.

State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 4030, message: ORA-04030: lack of memory of process when trying to allocate 123404 bytes


Product information
Oracle Business Intelligence product 10.1.3.4.1 Version (Build 090414.1900)
Physical presentation catalog path \\?\D:\oracle\bise1\bidata\web\catalog\bitest\root
Oracle BI Server Data Source AnalyticsWeb
Available paging memory (MB) 12517
Available virtual address space (MB) 3843

My db admin don't see any problem in the database :)
My NQSconfig.ini is standard I did no changes.

What the problem maybe bi server have sufficient resources?

Kind regards
Luko

Hello

SUMMARY links, below

http://www.DBA-Oracle.com/t_ora_04030_out_process_memory.htm

OR

http://ORA-04030.ora-code.com/MSG/75705.html

Thank you
Oldia...

Tags: Business Intelligence

Similar Questions

  • ORA-04030: memory of process

    Hello

    In obiee 10g, sometimes some users get this msg of error for some reports.
    The problem is that it doesn't happen all the time. Sometimes for some reports.

    The error is
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 4030, message: ORA-04030: out of process memory when trying to allocate 57868 byte (hash-joi QERHJ, kllcqas:kllsltba) beaked call OCIStmtExecute: WITH SAWITH0 AS (SQL statement is here)

    Now, they want to know why this error occurs or why only sometimes.
    As now, if the error occurs and then they logg off after some time they log in the report can again started working.

    Any help?

    Thank you

    How to resolve ORA-04030: lack of process in the attempt to allocate memory
    http://www.DBA-Oracle.com/t_ora_04030_out_process_memory.htm
    How to resolve ORA-04030: lack of process in the attempt to allocate memory

  • ORA-04030: memory of process when trying to allocate 123404 bytes

    Hi all
    I was running a script that contains the code as below senerio plsql. It is blocking somewhere so that I am not able to see Journal also.for about 65 thousand records script was working fine but as registrations increase his blocking.

    I'm having senerio as below

    SET OF BUFFER 1000000
    SET SERVEROUTPUT ON
    coil Log_file.log

    declare

    Start

    Start Loop1 - bin folders plus 1

    Start Loop2 - more than 50 registration of each loop1, total of 5 records of bac in loop2.
    Start Loop3 - more than 50 registration of each loop1, total of 5 records of bac in loop3.

    end Loop3;
    end Loop2;

    end Loop1;

    End;

    /
    spool off
    "exit";

    my script was running for some time so I used the collection for insertion in all the loops.but now I get the error message
    "ORA-04030: lack of process in the attempt to allocate 123404 bytes of memory (hash-joi QERHJ, kllcqas:kllsltba).

    kindly help me to correct this issue.kindly give me why this error is coming & how to solve this problem.


    Rgds,
    PC

    PC says:

    kindly help me to correct this issue.kindly give me why this error is coming & how to solve this problem.

    You already asked in assignment {message identifier: = 9267782}. And I told you what your problem is - abuse PGA in memory by incorrect use of the DBMS_OUTPUT.

  • ORA-04030: memory of process when trying to allocate 16328 bytes (sessi koh-kghu, pmuccst: adt/registration)

    Hi all

    We run personalized simultaneous program called 'BS Purge Shipping Exceptions' in ebs 11i. It takes a lot of time and finished with the following error.

    Error 6500 in FDPSTP ORACLE

    Cause: FDPSTP failed due to the ORA-06500: PL/SQL: Storage error

    ORA-04030: memory of process when trying to allocate 16328 bytes (sessi koh-kghu, pmuccst: adt/registration)

    ORA-06512: at the 'APPS '. FND_MSG_PUB", line 45

    ORA-06512: at "A".

    Please help on this issue.

    Thank you

    Jeremy

    Check this Doc ID 1325100.1

  • ORA-04030: memory of process when trying to allocate 28872 bytes (Alloc mountain environment, Failover SCH)

    Hi all

    I'm using Oracle 11 g R2 (11.2.0.3.0) on AIX 6.1

    A third-party application is faced with the ORA-error below:

    ORA-21503: program completed by fatal error

    ORA-04030: memory of process when trying to allocate 28872 bytes (Alloc mountain environment, Failover SCH)


    I use memory_target (AMM automatic memory management) on my database, I assigned 18 GB for my memory_target.

    I am facing this problem on a program that runs every day, but I am facing this problem only on the data for a specific day.

    Could you please help me solve this problem?

    Kind regards

    Keep in mind that we can only respond to data entry and our own experience.

    Since you say that doesn't happen at a given date, it might well be a programming error, the design did not account the amount of data.

    We have no idea about the third-party application or process running.

    But, Yes, however, you must contact application and check or have checked the usual trace file destinations oracle give you whenever something is not completely false in unexpected ways.

    You'll have to debug or buy more memory

  • ORA-04030: memory of process when you try to insert rows 12 million

    Hi all
    I use 11.2.0.2 RAC database and use under function to insert some 12 million lines
    CREATE OR REPLACE FUNCTION DEPLOY_CTL.f_stg_refined_play_stop_tv (NO_DAYS IN NUMBER,
    col_date DATE)

    RETURN NUMBER
    AS

    RTN_SUCCESS CONSTANT NUMBER (1): = 0;
    RTN_FAILURE CONSTANT NUMBER (1): = 1;
    RTN_NON_FATAL NUMBER (1) CONSTANT: = 2;

    CURSOR stg_refined_play_stop_tv_cur IS
    SELECT * from dwh_stg.stg_refined_play_stop_tv
    When trunc (EVENT_DT_TM) = col_date
    order of batch_id;

    TYPE stgrefinedplaystoptvarr IS TABLE OF stg_refined_play_stop_tv_cur % ROWTYPE directory index;

    stgrefinedplaystoptv_rec stgrefinedplaystoptvarr;

    l_batch_id NUMBER: = 0;
    v_ctr NUMBER: = 1;
    NUMBER of v_ctr1: = 1;
    l_temp_batch_id number: = 0;
    l_date DATE;
    l_batch_ctr NUMBER: = 0;
    l_date_no_days DATE;

    BEGIN

    -immediate 'truncate table t_stg_refined_play_stop_tv;
    -immediate execution "alter session set NLS_DATE_FORMAT =" dd/mm/yyyy "';"

    l_date_no_days: = to_date(col_date,'dd/mm/yyyy');


    OPEN stg_refined_play_stop_tv_cur.
    LOOP
    -GET the stg_refined_play_stop_tv_cur COLLECT in BULK IN stgrefinedplaystoptv_rec;
    -OUTPUT
    Get the stg_refined_play_stop_tv_cur COLLECT in BULK IN stgrefinedplaystoptv_rec;
    OUTPUT - WHEN stgrefinedplaystoptv_rec. COUNT = 0;
    WHEN stg_refined_play_stop_tv_cur % NOTFOUND;

    END LOOP;

    CLOSE Stg_refined_play_stop_tv_cur;

    1.no_days j
    loop


    l_batch_ctr: = l_batch_ctr + 1;
    l_date_no_days: = to_date(l_date_no_days,'dd/mm/yyyy') - 1;


    I'm in stgrefinedplaystoptv_rec.first... stgrefinedplaystoptv_rec. Last
    loop

    l_date: = to_date (trunc (l_date_no_days) |) ' ' || TO_CHAR (stgrefinedplaystoptv_rec (i). (EVENT_DT_TM, "hh24:mi:ss"), "hh24:mi:ss dd/mm/yyyy");



    IF l_temp_batch_id! = stgrefinedplaystoptv_rec (i) .batch_id and l_batch_ctr = 1
    then
    l_batch_id: = stgrefinedplaystoptv_rec (i) .batch_id - v_ctr;
    l_temp_batch_id: = stgrefinedplaystoptv_rec (i) .batch_id;
    v_ctr: = v_ctr + 2;

    elsif l_temp_batch_id! = stgrefinedplaystoptv_rec (i) .batch_id and l_batch_ctr > 1
    then
    l_batch_id: = l_batch_id - v_ctr1;
    l_temp_batch_id: = stgrefinedplaystoptv_rec (i) .batch_id;

    on the other
    l_temp_batch_id: = stgrefinedplaystoptv_rec (i) .batch_id;

    end if;

    stgrefinedplaystoptv_rec (i). EVENT_DT_TM: = l_date;
    stgrefinedplaystoptv_rec (i) .batch_id: = l_batch_id;
    stgrefinedplaystoptv_rec (i). DWH_CREATE_DT: = SYSDATE;
    -stgrefinedplaystoptv_rec (i). REFINED_STG_ID: = VERSION_ALL_SEQ.nextval STG;
    Select t_stg_refined_play_stop_tv.nextval from stgrefinedplaystoptv_rec (i). Double REFINED_STG_ID;

    end loop;



    FORALL an IN 1.stgrefinedplaystoptv_rec. COUNTY
    SAVE EXCEPTIONS

    insert into DWH_STG. Stgrefinedplaystoptv_rec (a) STG_REFINED_PLAY_STOP_TV of values;
    commit;




    end loop;

    RETURN RTN_SUCCESS;

    EXCEPTION
    WHILE OTHERS THEN
    DBMS_OUTPUT. PUT_LINE ('SQLCODE' |) SQLCODE. ' '|| SQLERRM);
    RETURN RTN_FAILURE;

    END f_stg_refined_play_stop_tv;
    /


    SQL > declare
    number of l_return;
    Start
    l_return: = f_stg_refined_play_stop_tv (1, to_date ('2011-14-06', ' dd/mm/yyyy'));
    end; 2 3 4 5
    6.
    SQLCODE-4030 ORA-04030: out of process memory when trying to allocate 16328 bytes (call koh-kghu, pmuccst: adt/registration)

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:58.37
    SQL >



    SQL > select component, current_size, min_size, max_size from v$ memory_dynamic_components;

    COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE
    ---------------------------------------------------------------- ------------------- ------------------- -------------------
    Shared pool 1275068416 872415232 1275068416
    large pool 67108864 67108864 67108864
    pool of Java 67108864 67108864 67108864
    rivers of pool 0 0 0
    LMS 14763950080 14763950080 14763950080 target
    Cache buffer by DEFAULT 13220446208 13220446208 13220446208
    KEEP the cache buffers 0 0 0
    RECYCLE the cache buffers 0 0 0
    Cache buffer by DEFAULT 2K 0 0 0
    Cache buffer by DEFAULT 4K 0 0 0
    Cache buffer by DEFAULT 8K 0 0 0

    COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE
    ---------------------------------------------------------------- ------------------- ------------------- -------------------
    Cache buffer by DEFAULT 16K 0 0 0
    Cache buffer by DEFAULT 32K 0 0 0
    Shared Pool IO 0 0 0
    Target 9932111872 9932111872 9932111872 PGA
    Cache buffers ASM 0 0 0

    16 selected lines.

    Elapsed time: 00:00:00.25
    SQL > see the memory settings

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    hi_shared_memory_address integer 0
    whole big memory_max_target 25G
    memory_target large whole 23G
    shared_memory_address integer 0


    I'm on the automatic management of the memory of 11g feature. Please can I know how to solve this problem.

    Thank you very much

    The answers to this question are the same as the last time he was asked:
    Re: ORA-04030: out of process memory when inserting 12 million ranks 11 g

    You should not, regardless of the manual or automatic memory parameters, load up to 12 million lines in one fell swoop in a collection.
    Especially not when you can probably rewrite it is a single INSERT SELECT statement.

  • ORA-04030: memory of large XML file loading process

    Experts: I am trying to load a 2.1 G XML into a table relational object. The xsd xml schema document is already saved successfully. It fails with the following error:
    ORA-04030: out of process memory when trying to allocate 4032 bytes
    (qmxtgCreateBuf,kghsseg: kolaslCreateCtx)
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    I am able to load the document in the NAVIGATION XML BINARY table successfully, but that would not work because I need to create a relational view on top of this table that does not work with storage SECUREFILE XML BINARY.

    Please suggest what can be the solution here?

    Thank you
    Kevin

    The error is correct. You are missing the last quot for the attribute @LOADED

    select  x1.*
       from HUGE_XML T,
          XMLTABLE('/EMPLOYEES'
                PASSING T.xml_col
                COLUMNS CREATED TIMESTAMP  PATH '@CREATED',
                 COLUMNS LOADED TIMESTAMP  PATH '@LOADED
    ) x1
    

    should be

    select  x1.*
       from HUGE_XML T,
          XMLTABLE('/EMPLOYEES'
                PASSING T.xml_col
                COLUMNS CREATED TIMESTAMP  PATH '@CREATED',
                 COLUMNS LOADED TIMESTAMP  PATH '@LOADED'
    ) x1
    

    I invite you to have a read on the white paper: "Oracle XML DB: * choose the best Option of XMLType storage for your use case * (PDF) Jan 2010" here: http://www.oracle.com/technetwork/database-features/xmldb/downloads/index.html
    Advantages and disadvantages of the various options are clearly explained in this white paper.

  • ORA-22805 when you attempt to insert validated xml in a table based on a schema

    Hello

    I can't for the life of understand me why I get the error "Unable to insert NULL object in the tables of objects or nested tables" when you attempt to insert a xml file that I have validated against the schema that I registered with several validators. Here is the schema and file. I tried to use dummy data in empty elements. I tried to to escape apostrophes (& apos ;) that surrounds my regex and the values in the file. In addition, I don't know what could be NULL.

    Schema:


    <? XML version = "1.0" encoding = "utf-8"? >
    < xs: Schema elementFormDefault = "qualified".
    xmlns: XS = "http://www.w3.org/2001/XMLSchema".
    targetNamespace = "http://www.trxi.com/schemas/ImportSchema."
    xmlns = "http://www.trxi.com/schemas/ImportSchema" >

    < xs:simpleType name = "hexValue" >
    < xs:restriction base = "XS: String" >
    [< value="0x'[0-9a-fA-F][0-9a-fA-F pattern]" "/ >"
    < / xs:restriction >
    < / xs:simpleType >

    < xs: element name = "ImportTemplate" >
    < xs: complexType >
    < xs: SEQUENCE >
    < xs: element name = "DefaultDirectory" type = "xs: String" / >
    < xs: element name = "TableName" type = "xs: String" / >
    < xs: element name = "RecordDelimiter" type = "hexValue" / >
    < xs: element name = "Parameters FieldDelimiter" type = "hexValue" / >
    < xs: element name = "ColumnMapping" >
    < xs: complexType >
    < xs: SEQUENCE >
    < xs: element name = "Column" maxOccurs = "unbounded" >
    < xs: complexType >
    < xs: SEQUENCE >
    < xs: element name = "ColumnName" type = "xs: String" / >
    < xs: element name = "Datatype" >
    < xs:simpleType >
    < xs:restriction base = "XS: String" >
    < xs:enumeration value = "VARCHAR2" / >
    < xs:enumeration value = 'NUMBER' / >
    < xs:enumeration value = "DATE" / >
    < / xs:restriction >
    < / xs:simpleType >
    < / xs: element >
    < xs: element name = "DestinationTable" type = "xs: String" / >
    < xs: element name = "DestinationColumn" type = "xs: String" / >
    < / xs: SEQUENCE >
    < / xs: complexType >
    < / xs: element >
    < / xs: SEQUENCE >
    < / xs: complexType >
    < / xs: element >
    < / xs: SEQUENCE >
    < / xs: complexType >
    < / xs: element >
    < / xs: Schema >


    File:

    < ImportTemplate >
    < DefaultDirectory > aq_import < / DefaultDirectory >
    catalog_export < TableName > < / TableName >
    < > 0 x '0A' RecordDelimiter < / RecordDelimiter >
    < > 0 x '09' FieldDelimiter < / settings FieldDelimiter >
    < ColumnMapping >
    < column >
    model_number < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    user_stock_model_number < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    vendor_number < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    specification of < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    vendor_pack < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    selling_unit < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    weight < ColumnName > < / ColumnName >
    < Datatype > NUMBER < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    width of < ColumnName > < / ColumnName >
    < Datatype > NUMBER < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    depth of < ColumnName > < / ColumnName >
    < Datatype > NUMBER < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    deal_net < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    picture_name < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    blank_column < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    vendor_to_stock < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    priced_by < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    category < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    vendor_nickname < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    user_vendor_name < ColumnName > < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < column >
    < ColumnName > configurable < / ColumnName >
    VARCHAR2 < Datatype > < / Datatype >
    < DestinationTable > < / DestinationTable >
    < DestinationColumn > < / DestinationColumn >
    < / column >
    < / ColumnMapping >
    < / ImportTemplate >
  • Error ORA-04030 in Oracle RAC11GR2

    Hello

    I work with oracle 11 g RAC 2.

    I have replace the slider by collecting and using bulk collect to optimize the pl/sql code of the application.

    But ultimately I got this error:

    ORA-06500: PL/SQL: Storage error

    ORA-04030: memory of process when trying to allocate 48 bytes 16328 bytes

    (call from koh-kghu, pmuccst: adt/registration).

    I check the memory

    memory_target = 1.2Go

    memory_max_target = 1.5Go

    SGA_TARGET = 625Mo (I'll put these values to control and use Advisory for sga and pga)

    pga_aggregate_target = 600 MB

    SGA_MAX_SIZE = 1.5Go

    When I check the Advisory sga and pga advice:

    SGA should be 1 GB

    PGA should be (at least) 3.5Go

    I would like to understand if sga_max_size fixed to 1.5Go (the memory_max_target), PGA cannot take this memory?

    Oracle error, do you think it is that I must add memory and fixed SGA and PGA of the values indicated in the notice?

    I thank in advance

    Hello

    the cause of the problem is the deficiency of the memory of the PGA, it takes more than 600 MB according to notice of oracle (we must 3.5Go)

    I keep the cursor for the application to wait to add memory RAM to our server.

    Good day

  • ORA - 04030

    When I compile my stored procedure, its give me error, below

    ORA-04030: memory of process when trying to allocate 320 bytes (kxs-bunch-c, temporary memory)

    How to solve it. ?

    can someone give me explanation step by step to solve this problem?

    I use Oracle 10 g on windows XP with 2 GB of RAM

    I could be wrong, but isn't

    create or replace procedure cap2_assmnt_fun_othsurvey
    (
     p_role_id in cap2_assmnt_status.role_id%type,
     p_report_month in cap2_assmnt_status.report_month%type,
     p_report_year in cap2_assmnt_status.report_year%type,
     p_pkid in cap2_assmnt_status.pkid%type
    )
    is
    insert into cap2_assmnt_fun_othsurvey
    values ( p_role_id,
             p_report_month,
             p_report_year,
             p_pkid,
             (select sum(prc_rtn_oby)
                from cap2_assmnt_fun_othsurvey
               where (role_id,pkid) in (select role_id,pkid
                                          from cap2_assmnt_status
                                         where role_id in (select pkroleid
                                                             from tblrole
                                                            where parentrole = p_role_id
                                                          )
                                           and report_month = p_report_month
                                           and report_year = p_report_year
                                           and status in ('PC','D')
                                        union
                                        select role_id,pkid
                                          from cap2_assmnt_status
                                         where role_id = p_role_id
                                           and pkid = 'E'
                                       )
            ),
            (select sum(prc_rtn_obm)
               from cap2_assmnt_fun_othsurvey
              where (role_id,pkid) in (select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id in (select pkroleid
                                                            from tblrole
                                                           where parentrole = p_role_id
                                                         )
                                          and report_month = p_report_month
                                          and report_year = p_report_year
                                          and status in ('PC','D')
                                       union
                                       select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id = p_role_id
                                          and pkid = 'E'
                                      )
            ),
            (select sum(prc_rtn_obm_bf_corr)
               from cap2_assmnt_fun_othsurvey
              where (role_id,pkid) in (select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id in (select pkroleid
                                                            from tblrole
                                                           where parentrole = p_role_id
                                                         )
                                          and report_month = p_report_month
                                          and report_year = p_report_year
                                          and status in ('PC','D')
                                       union
                                       select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id = p_role_id
                                          and pkid = 'E'
                                      )
            ),
            (select sum(prc_rtn_obm_total_corr)
               from cap2_assmnt_fun_othsurvey
              where (role_id,pkid) in (select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id in (select pkroleid
                                                            from tblrole
                                                           where parentrole = p_role_id
                                                         )
                                          and report_month = p_report_month
                                          and report_year = p_report_year
                                          and status in ('PC','D')
                                       union
                                       select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id = p_role_id
                                          and pkid = 'E'
                                      )
            ),
            (select sum(prc_rtn_xfinoutstroff)
               from cap2_assmnt_fun_othsurvey
              where (role_id,pkid) in (select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id in (select pkroleid
                                                            from tblrole
                                                           where parentrole = p_role_id
                                                         )
                                          and report_month = p_report_month
                                          and report_year = p_report_year
                                          and status in ('PC','D')
                                       union
                                       select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id = p_role_id
                                          and pkid = 'E'
                                      )
            ),
            (select sum(prc_rtn_add_dm)
               from cap2_assmnt_fun_othsurvey
              where (role_id,pkid) in (select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id in (select pkroleid
                                                            from tblrole
                                                          where parentrole = p_role_id
                                                         )
                                          and report_month = p_report_month
                                          and report_year = p_report_year
                                          and status in ('PC','D')
                                       union
                                       select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id = p_role_id
                                          and pkid = 'E'
                                      )
            ),
            (select sum(prc_rtn_disp_bm)
               from cap2_assmnt_fun_othsurvey
              where (role_id,pkid) in (select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id in (select pkroleid
                                                            from tblrole
                                                           where parentrole = p_role_id
                                                         )
                                          and report_month = p_report_month
                                          and report_year = p_report_year
                                          and status in ('PC','D')
                                       union
                                       select role_id,pkid
                                         from cap2_assmnt_status
                                        where role_id = p_role_id
                                          and pkid = 'E'
                                      )
            )
           )
    

    just

    insert into cap2_assmnt_fun_othsurvey
    select p_role_id,
           p_report_month,
           p_report_year,
           p_pkid,
           sum(prc_rtn_oby),
           sum(prc_rtn_obm),
           sum(prc_rtn_obm_bf_corr),
           sum(prc_rtn_obm_total_corr),
           sum(prc_rtn_xfinoutstroff),
           sum(prc_rtn_add_dm),
           sum(prc_rtn_disp_bm)
      from cap2_assmnt_fun_othsurvey
     where (role_id,pkid) in (select role_id,pkid
                                from cap2_assmnt_status
                               where role_id in (select pkroleid
                                                   from tblrole
                                                  where parentrole = p_role_id
                                                )
                                 and report_month = p_report_month
                                 and report_year = p_report_year
                                 and status in ('PC','D')
                              union
                              select role_id,pkid
                                from cap2_assmnt_status
                               where role_id = p_role_id
                                 and pkid = 'E'
                             )
    

    Concerning

    Etbin

  • error ORA-04030 in environment dataguard

    Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
    Name of the system: Linux
    News Release: 2.6.18 - 53.el5
    Version: #1 SMP Wed Oct 10 16:34:19 EDT 2007
    Machine: x86_64

    DATAGUARD ACTIVE WITH THE OBSERVER. error ORA-04030
    Alert log information:
    Thu Sep 02 02:00:00 2010
    Clearing Resource Manager plan via parameter
    Thu Sep 02 10:16:31 2010
    Errors in file /u01/app/oracle/diag/rdbms/agbcdb/agbc/trace/agbc_asmb_4312.trc  (incident=88030):
    ORA-04030: out of process memory when trying to allocate 592 bytes (callheap,kfmditer)
    Incident details in: /u01/app/oracle/diag/rdbms/agbcdb/agbc/incident/incdir_88030/agbc_asmb_4312_i88030.trc
    Thu Sep 02 10:16:36 2010
    Trace dumping is performing id=[cdmp_20100902101636]
    Errors in file /u01/app/oracle/diag/rdbms/agbcdb/agbc/trace/agbc_asmb_4312.trc:
    ORA-04030: out of process memory when trying to allocate 592 bytes (callheap,kfmditer)
    ASMB (ospid: 4312): terminating the instance due to error 4030
    Thu Sep 02 10:16:36 2010
    ORA-1092 : opidrv aborting process unknown ospid (13456_46912513432672)
    Instance terminated by ASMB, pid = 4312
    Thu Sep 02 10:16:37 2010
    Instance termination got error 27120 from SGA destruction.
      Error cleared. Process exiting.
                                                                                                                          49270,3       Bot
    trace file information:
    Trace file /u01/app/oracle/diag/rdbms/agbcdb/agbc/trace/agbc_asmb_4312.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /u01/app/oracle/product/11.1.0/db
    System name:    Linux
    Release:        2.6.18-53.el5
    Version:        #1 SMP Wed Oct 10 16:34:19 EDT 2007
    Machine:        x86_64
    Instance name: agbc
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 4312
    
    
    *** 2010-09-02 10:16:31.510
    *** SESSION ID:(321.1) 2010-09-02 10:16:31.510
    *** CLIENT ID:() 2010-09-02 10:16:31.510
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-09-02 10:16:31.510
    *** MODULE NAME:() 2010-09-02 10:16:31.510
    *** ACTION NAME:() 2010-09-02 10:16:31.510
    
    Incident 88030 created, dump file: /u01/app/oracle/diag/rdbms/agbcdb/agbc/incident/incdir_88030/agbc_asmb_4312_i88030.trc
    "/u01/app/oracle/diag/rdbms/agbcdb/agbc/trace/agbc_asmb_4312.trc" 31L, 1346C                                          13,1          Top
    
    ORA-04030: out of process memory when trying to allocate 592 bytes (callheap,kfmditer)
    
    error 4030 detected in background process
    ORA-04030: out of process memory when trying to allocate 592 bytes (callheap,kfmditer)
    
    *** 2010-09-02 10:16:36.501
    ASMB (ospid: 4312): terminating the instance due to error 4030
    skgm error 27120: errno = 12, info = 5, 163842, 0, 0, 46912513437872, 1, 46912513437872
    the failover of the database on STANBY, today morning the database instance ensures also finished with the same error message.

    We followed the metalink documents to solve problems.
    SQL> ! ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    max nice                        (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 139264
    max locked memory       (kbytes, -l) 32
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 65536
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    max rt priority                 (-r) 0
    stack size              (kbytes, -s) 32768
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 2047
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    
    SQL> show parameter pga
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    pga_aggregate_target             big integer 0
    SQL>
    
    SQL> select * from v$pgastat;
    
    NAME                           VALUE UNIT
    --------------------------------------------- ---------- ------------
    aggregate PGA target parameter              2684354560 bytes
    aggregate PGA auto target               167772160 bytes
    global memory bound                   268431360 bytes
    total PGA inuse                   4780392448 bytes
    total PGA allocated                  5534604288 bytes
    maximum PGA allocated                  5551688704 bytes
    total freeable PGA memory               269811712 bytes
    process count                         180
    max processes count                     181
    PGA memory freed back to OS               681246720 bytes
    total PGA used for auto workareas               0 bytes
    
    NAME                           VALUE UNIT
    --------------------------------------------- ---------- ------------
    maximum PGA used for auto workareas         2717696 bytes
    total PGA used for manual workareas               0 bytes
    maximum PGA used for manual workareas               0 bytes
    over allocation count                    2757
    bytes processed                   4510057472 bytes
    extra bytes read/written                   0 bytes
    cache hit percentage                     100 percent
    recompute count (total)                 2757
    
    19 rows selected.
    
    SQL>
    set linesize 120
    col program format a10
    col used format 999999.99
    col alloc format 999999,99
    col max format 9999999.9
    select spid,program,trunc(pga_used_mem/1024/1024) USED,
    trunc(pga_alloc_mem/1024/1024) ALLOC, trunc(pga_max_mem/1024/1024) MAX
    FROM V$PROCESS
    ORDER BY PGA_ALLOC_MEM DESC;
    
    SQL> COL PROGRAM FORMAT A40
    SQL> RUN
      1  select spid,program,trunc(pga_used_mem/1024/1024) USED,
      2  trunc(pga_alloc_mem/1024/1024) ALLOC,
      3  trunc(pga_max_mem/1024/1024) MAX
      4  FROM V$PROCESS
      5* ORDER BY PGA_ALLOC_MEM DESC
    
    SPID             PROGRAM                    USED      ALLOC        MAX
    ------------------------ ---------------------------------------- ---------- ---------- ----------
    *4348             [email protected] (ASMB)         4068.00      40,70     4070.0*
    4448             [email protected] (RSM0)        3.00       2,26      446.0
    4336             [email protected] (DBW0)        5.00         33       41.0
    4429             [email protected] (ARCt)           11.00         28       32.0
    
    SQL>
    
    SQL>  SELECT SUM(VALUE)/1024/1024 MB
      2   FROM V$SESSTAT S,V$STATNAME N
      3   WHERE N.STATISTIC#=S.STATISTIC#
      4  AND NAME='session pga memory';
    
        MB
    ----------
    4578.77262
    
    SQL>
    
    SQL> run
      1  select sid,name,value
      2  from v$statname n,v$sesstat s
      3   WHERE N.STATISTIC#=S.STATISTIC#
      4  and name like'session%memory%'
      5* order by 3 asc
    
    
          SID NAME                    VALUE
    ---------- ------------------------------ ----------
    
           119 session pga memory max        22846056
           280 session pga memory max       235067848
           321 session pga memory max      4267874920
    
           SID NAME                    VALUE
    ---------- ------------------------------ ----------
           321 session pga memory          4267874920
    
    716 rows selected.
    
    SQL> show parameter sort_area_size
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    sort_area_size                 integer     65536
    
    SQL>  show parameter workarea_size_policy
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    workarea_size_policy             string     AUTO
    our Director increased SR, today in the morning watch is also down because of the same error ora-04030. We started the night before now and check the stats on the PGA Tour.
    SQL> select spid,program,trunc(pga_used_mem/1024/1024) USED,
      2  trunc(pga_alloc_mem/1024/1024) ALLOC,
      3  trunc(pga_max_mem/1024/1024) MAX
      4  FROM V$PROCESS
      5  ORDER BY PGA_ALLOC_MEM DESC
      6  /
    
    SPID             PROGRAM                       Used (in MB)     ALLOC           MAX
    ------------------------ --------------------------------------------- ------------ ---------- -----------
    4372             [email protected] (LGWR)              11.00     24.00         24.00
    4473             [email protected] (ARCd)              11.00     24.00         24.00
    4503             [email protected] (ARCs)              11.00     24.00         24.00
    
    SQL>  SELECT SUM(VALUE)/1024/1024 MB
      2  FROM V$SESSTAT S,V$STATNAME N
      3  WHERE N.STATISTIC#=S.STATISTIC#
      4  AND NAME='session pga memory';
    
        MB
    ----------
    453.999092
    
    SQL> run
      1   select sid,name,value
      2  from v$statname n,v$sesstat s
      3   WHERE N.STATISTIC#=S.STATISTIC#
      4  and name like'session%memory%'
      5* order by 3 asc
    309 session pga memory            12753512
           326 session pga memory            12810392
           326 session pga memory max        12827448
    
    336 rows selected.
    
    SQL>
    now the memory used by pga is very less,

    My question: 1 why FILIPE takes too much memory?
    2. After switching to the standby database also the memory used by the process of FILIPE is not released very high almost 99.99%?

    Thank you and best regards,
    Olivier Claude.

    Hello
    you're welcome :)

    Salman

  • When you attempt to load an album for listening offline with Apple music sometimes only some of the songs on the album are made available. For example, Weezer White Album. Why?

    When you attempt to load an album for listening offline with Apple music sometimes only some of the songs on the album are made available. For example, Weezer White Album. Why?

    What country do you live? Because I just checked this album and all songs should be available in the Apple music - and thus be downloadable. (I live in the US BTW.)

  • There was an error when you attempt to connect to the Windows Live Calendar service.

    I get this message when trying to update my calendar:

    There was an error when you attempt to connect to the Windows Live Calendar service. If the error persists, check if there is an upgrade of Windows Live Mail available or communicate with the service.

    What can I do to fix this?

    Hello Maurizo Martino,

    As your question deals with Windows Live Calendar, there is a forum for Windows Live products.
    Please post in http://windowslivehelp.com/ under the category of Windows Live Mail.

    They will have experts in the Windows Live products that can better help you.

    Sincerely,

  • How to see pictures when you attempt to download a 3rd party app?

    It is a real noob question, but how do I see my pictures when you attempt to download a 3rd party app?

    When I open the file I see an icon and the file name but not actually as a thumbnail image. How do I change this setting?

    Hello
     

    Here's how you can change this:
    a. Once you are in the Explorer window to select the image, right click on the space empty.
    b. highlight the option to consult.
    c. choose the medium-sized icons.
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • "' Windows live mail error ' there was an error when you attempt to connect to the Windows Live Calendar service.

    Original title: when I start my windows live mail. He asks me if I want to go online? Then, I get this error message? just started doing this yesterday?

    There was an error when you attempt to connect to the Windows Live Calendar service. If the error persists, check if there is an upgrade of Windows Live Mail available or communicate with the service.

    I'm going to ask you to start your own, new topic in this forum now for Windows Live technicians can help you more-online http://answers.microsoft.com/en-us/windowslive/forum/livemail-calendar

    Tip: Include a link to this topic in your very first post so that Windows Live people know so much about your computer like I do.

    Good luck - I think that you're going to need!

Maybe you are looking for

  • Satellite L300 does ' t run after updating the BIOS of V2.10 to V2.20

    Hello I just installed BIOS V2.20 on Bios V2.10 for my Satellite L300 Toshi on Windows XP.Afterwerwards the Machine starts and displays just the XP from window and restart I save the options normal reboot or restatr. Nothing works anymore? Even from

  • 1st sub-table table 2D, 2D always table element?

    Hi all I'm working on reception of the VISA series bytes. I'm starting to try to manipulate them, starting with grabbing out of the first byte... want to turn on a number of U8 I think to evaluate it. I try to use a sub-table to pick the first row of

  • After Ms. auto updates, I always reinstall my printer driver.

    Is this a known bug?  Any way to prevent this?  Windows xp sp3 with the latest Dell Latitude D610 patches. the printer is hp c6300 wireless. Thks...

  • BlackBerry Smartphones URGENT HELP PLIZ

    MY BBM CURVE 8520 YESTERDAY WAS SHOWING a WHITE SCREEN WITH WORDS app error 523 then l has been helped by someone on how cracker the problem and l tried it. Today, there is now a battery icon showing on the screen with a red X What does that mean, pl

  • Query to find recoverable space on segments of business

    HelloI use under SQL to find how much space we can recover after the reduction of the LOB segments.DB version: 11.2.0.3WITH ACE TEMP_TAB)"T_ORDER" SELECT TABLE_NAME, COLUMN_NAME "BLOB_COL", ROUND(SUM(dbms_lob.getlength(BLOB_COL)/1024/1024)) T_ORDER U