Is why my Stats of schema gather to hold?

Hi all

EBS R12.1.3

RHEL6

I've been planning simultaneous program "Gathering statistics for schema" since last year.

When I check the work, he was waiting.

How can I find out what this task was last run?

Capture.PNG

Hello

When you click details, then the application will be held until you leave the details window.

What is your policy of purging?

You can search the query by name and bring to 30 the number of days (for example) and see when he ran the last time.

Kind regards

Bashar

Tags: Oracle Applications

Similar Questions

  • Why collect Stats of schema?

    Hi all

    I truncated all the tables in the schema of my HR dev.

    So I ran > exe dbms_stats.gather_schema_stats ('HR');

    But the column num_nows in USER_TABLES are all have the old values :(
    I expect all "zeros".

    How to operate the stats updated for cost based optimizer?


    Thank you very much

    KinsaKaUy? wrote:

    SQL> exec dbms_stats.gather_table_stats('HR','HR_AUDIT');
    BEGIN dbms_stats.gather_table_stats('HR','HR_AUDIT'); END;
    
    *
    ERROR at line 1:
    ORA-20005: object statistics are locked (stattype = ALL)
    ORA-06512: at "SYS.DBMS_STATS", line 20337
    ORA-06512: at "SYS.DBMS_STATS", line 20360
    ORA-06512: at line 1
    

    Huhuhu which is causing this lock? I already have to stop/start the database :(

    You have the answer with you.
    Even if you bounce database, that it will not UNLOCK, unlock if statistical table manually. :)

    check this http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1045149

  • Why control statements such a ROLLBACK or COMMIT of the Transaction are not written in the trigger?


    Hello world

    Why the ROLLBACK statement or COMMIT are not allowed in the trigger? and if I then use this problem may happen?

    IndiMinds wrote:

    Hello world

    Why the ROLLBACK statement or COMMIT are not allowed in the trigger? and if I then use this problem may happen?

    Because a trigger is NOT a transaction. This is a SINGLE STATEMENT, which is part of another transaction.

    What is the problem? Well, if the trigger does not use the pragma AUTONOMOUS_TRANSACTION to the 'problem' that occurs is an Oracle exception, since you cannot use commit or rollback in the standard triggers.

    If a trigger contained a VALIDATION you wouldn't be able to write a transaction that contained multiple measures correctly.

    What happens if you insert rows in multiple tables and you want to perform a COMMIT ONLY if all three insertions succeed?

    This is not possible if one of the tables had a trigger with a posting in it.

    What do you want to learn more about?

  • Why this statement run in SQLPLUS and TOAD?

    Hello
    We use Oracle 10.2.0.4.

    I'm trying to understand why the following statement CREATE VIEW statement works as a TOAD but not in SQLPLUS. In SQLPLUS, it gives me an error.

    Here's the SQL statement:
    CREATE OR REPLACE VIEW FTBV_QUOTES_PROD_ALL_V 
    AS 
    SELECT   opd.deal_id deal_id, os.form_id form_id,
                opd.sales_rep_user_id sales_rep,
                opep.response_version_number response_version_number,
                opep.version_number version_number,
                opep.team team_name,
               
                CASE opep.team
                   WHEN 'AS400'
                      THEN 'AS400'
                   WHEN 'DEC'
                      THEN 'DEC'
                   WHEN 'EBASOL'
                      THEN 'EBA Solutions'
                   WHEN 'HP'
                      THEN 'HP'
                   WHEN 'MAINFR'
                      THEN 'MainFrame'
                   WHEN 'NETWRK'
                      THEN 'Network'
                   WHEN 'ORACLE'
                      THEN 'Oracle'
                   WHEN 'OTHER'
                      THEN 'OTHER'
                   WHEN 'PC'
                      THEN 'NT/PC'
                   WHEN 'RS6000'
                      THEN 'IBM'
                   WHEN 'SECURI'
                      THEN 'Security'
                   WHEN 'STORAG'
                      THEN 'Storage Solutions'
                   WHEN 'SUN'
                      THEN 'SUN'
                   WHEN 'SUPPOR'
                      THEN 'Audit Software'
                   WHEN 'TELECO'
                      THEN 'Telecom'
                   ELSE 'Undefined'
                END team_description, 
                DECODE(os.form_id, NULL, 'N', 'Y') booked,
                
                MIN(os.status_date) booked_date,
    
                od.gross_profit gross_profit,
                opd.deal_source deal_source, opd.oracleappsdeal oracleappsdeal,
                opd.opportunity_class_code opportunity_class_code,
                ac.customer_name customer_name,
                ac.op_customer_name op_customer_name,
                ac.ams_customer_num ams_customer_num, 
                nvl(ac.top_cust,' ') top_cust,
                od.od_number od_number, od.op_customer_id op_customer_id,
                od.deal_type deal_type, opl.quote_form_id quote_form_id,
                opl.quote_lineitem_number quote_lineitem_number,
                opl.op_status op_status,
    
                opep.submitted_by submitted_by,
                TRUNC (opep.submit_date) submit_date,
                opep.created_by created_by,
                opep.create_date creation_date,
                NVL (ou.user_name, 'undefined user name') created_by_user_name,
                opep.last_edit_by last_edit_by,
                opep.last_edit_date last_edit_date,
                NVL (oc.user_name,
                     'undefined user name'
                    ) last_updated_by_user_name
           FROM op_deal opd,
                op_esc_prod opep,
                ams_customer ac,
    
                op_od od,
                (SELECT   opl.quote_form_id, opl.quote_lineitem_number,
                          opl.op_status, opl.form_id
                     FROM op_od_lineitem opl
                 GROUP BY opl.quote_form_id,
                          opl.quote_lineitem_number,
                          opl.op_status,
                          opl.form_id) opl,
                op_user ou,
                op_user oc,
                op_od_status os
          WHERE (   opep.submit_date >= '01-JAN-2005'
                 OR     opep.submit_date IS NULL
                    AND opep.create_date BETWEEN '01-JAN-05' AND SYSDATE
                )
            AND opd.deal_id = opep.deal_id
            AND ac.op_customer_id = opd.op_customer_id
    
            AND opl.quote_form_id(+) = opep.form_id
            AND opl.op_status(+) IS NULL
            AND od.form_id(+) = opl.form_id
            AND ou.user_id(+) = opep.created_by
            AND oc.user_id(+) = opep.last_edit_by
            AND os.form_id(+) = od.form_id
            AND NVL (RTRIM (os.status_type(+)), 'N') = 'CNTBK'
            AND opep.team <> 'NBASOL'
       GROUP BY opd.deal_id,
                opd.sales_rep_user_id,
                opep.response_version_number,
                opep.version_number,
                opep.team,
                os.form_id,
                od.gross_profit,
                opd.deal_source,
                opd.oracleappsdeal,
                opd.opportunity_class_code,
                ac.customer_name,
                ac.op_customer_name,
                ac.ams_customer_num,
                ac.top_cust,
                od.od_number,
                od.op_customer_id,
                od.deal_type,
                opl.quote_form_id,
                opl.quote_lineitem_number,
                opl.op_status,
                opep.submitted_by,
                opep.submit_date,
                opep.created_by,
                opep.create_date,
                ou.user_name,
                opep.last_edit_by,
                opep.last_edit_date,
                oc.user_name;
    I get the following error messages:
    unknown command beginning "CASE opep...." - rest of line ignored.
    unknown command beginning "WHEN 'AS40..." - rest of line ignored.
    unknown command beginning "THEN 'AS40..." - rest of line ignored.
    unknown command beginning "WHEN 'DEC'..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'DEC'..." - rest of line ignored.
    unknown command beginning "WHEN 'EBAS..." - rest of line ignored.
    unknown command beginning "THEN 'EBA ..." - rest of line ignored.
    unknown command beginning "WHEN 'HP'..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'HP'..." - rest of line ignored.
    unknown command beginning "WHEN 'MAIN..." - rest of line ignored.
    unknown command beginning "THEN 'Main..." - rest of line ignored.
    unknown command beginning "WHEN 'NETW..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'Netw..." - rest of line ignored.
    unknown command beginning "WHEN 'ORAC..." - rest of line ignored.
    unknown command beginning "THEN 'Orac..." - rest of line ignored.
    unknown command beginning "WHEN 'OTHE..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'OTHE..." - rest of line ignored.
    unknown command beginning "WHEN 'PC'..." - rest of line ignored.
    unknown command beginning "THEN 'NT/P..." - rest of line ignored.
    unknown command beginning "WHEN 'RS60..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'IBM'..." - rest of line ignored.
    unknown command beginning "WHEN 'SECU..." - rest of line ignored.
    unknown command beginning "THEN 'Secu..." - rest of line ignored.
    unknown command beginning "WHEN 'STOR..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'Stor..." - rest of line ignored.
    unknown command beginning "WHEN 'SUN'..." - rest of line ignored.
    unknown command beginning "THEN 'SUN'..." - rest of line ignored.
    unknown command beginning "WHEN 'SUPP..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "THEN 'Audi..." - rest of line ignored.
    unknown command beginning "WHEN 'TELE..." - rest of line ignored.
    unknown command beginning "THEN 'Tele..." - rest of line ignored.
    unknown command beginning "ELSE 'Unde..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "END team_d..." - rest of line ignored.
    unknown command beginning "DECODE(os...." - rest of line ignored.
    unknown command beginning "MIN(os.sta..." - rest of line ignored.
    unknown command beginning "od.gross_p..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opd.deal_s..." - rest of line ignored.
    unknown command beginning "opd.opport..." - rest of line ignored.
    unknown command beginning "ac.custome..." - rest of line ignored.
    unknown command beginning "ac.op_cust..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "ac.ams_cus..." - rest of line ignored.
    unknown command beginning "nvl(ac.top..." - rest of line ignored.
    unknown command beginning "od.od_numb..." - rest of line ignored.
    unknown command beginning "od.deal_ty..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opl.quote_..." - rest of line ignored.
    unknown command beginning "opl.op_sta..." - rest of line ignored.
    unknown command beginning "opep.submi..." - rest of line ignored.
    unknown command beginning "TRUNC (ope..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opep.creat..." - rest of line ignored.
    unknown command beginning "opep.creat..." - rest of line ignored.
    unknown command beginning "NVL (ou.us..." - rest of line ignored.
    unknown command beginning "opep.last_..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opep.last_..." - rest of line ignored.
    unknown command beginning "NVL (oc.us..." - rest of line ignored.
    unknown command beginning "'undefined..." - rest of line ignored.
    unknown command beginning ") last_upd..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "FROM op_de..." - rest of line ignored.
    unknown command beginning "op_esc_pro..." - rest of line ignored.
    unknown command beginning "ams_custom..." - rest of line ignored.
    unknown command beginning "op_od od,..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "AND opl.qu..." - rest of line ignored.
    unknown command beginning "AND opl.op..." - rest of line ignored.
    unknown command beginning "AND od.for..." - rest of line ignored.
    unknown command beginning "AND ou.use..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "AND oc.use..." - rest of line ignored.
    unknown command beginning "AND os.for..." - rest of line ignored.
    unknown command beginning "AND NVL (R..." - rest of line ignored.
    unknown command beginning "AND opep.t..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "GROUP BY o..." - rest of line ignored.
    unknown command beginning "opd.sales_..." - rest of line ignored.
    unknown command beginning "opep.respo..." - rest of line ignored.
    unknown command beginning "opep.versi..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opep.team,..." - rest of line ignored.
    unknown command beginning "os.form_id..." - rest of line ignored.
    unknown command beginning "od.gross_p..." - rest of line ignored.
    unknown command beginning "opd.deal_s..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opd.oracle..." - rest of line ignored.
    unknown command beginning "opd.opport..." - rest of line ignored.
    unknown command beginning "ac.custome..." - rest of line ignored.
    unknown command beginning "ac.op_cust..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "ac.ams_cus..." - rest of line ignored.
    unknown command beginning "ac.top_cus..." - rest of line ignored.
    unknown command beginning "od.od_numb..." - rest of line ignored.
    unknown command beginning "od.op_cust..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "od.deal_ty..." - rest of line ignored.
    unknown command beginning "opl.quote_..." - rest of line ignored.
    unknown command beginning "opl.quote_..." - rest of line ignored.
    unknown command beginning "opl.op_sta..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "opep.submi..." - rest of line ignored.
    unknown command beginning "opep.submi..." - rest of line ignored.
    unknown command beginning "opep.creat..." - rest of line ignored.
    unknown command beginning "opep.creat..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "ou.user_na..." - rest of line ignored.
    unknown command beginning "opep.last_..." - rest of line ignored.
    unknown command beginning "opep.last_..." - rest of line ignored.
    unknown command beginning "oc.user_na..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    It seems that SQLPLUS does not like the instructions box or any other function that I use in the select statement. Someone at - it ideas?

    Hello

    Try to remove empty lines. SQL * Plus isn't like them in a single statement (but OK in PL/SQL blocks).

  • Is there some collect Stats of schema in the menu "adadmin?

    Hi all

    EBS R12.2

    RHEL 6.6

    In the EBS R12.2, where can I run a simultaneous Manager who "analyze statistical computing" for the optimizer base cost of work?

    I only do it on the back-end database side help > exec dbms_stats.gather_schema_stats ('APPS');

    But there are many schema in EBS, how can I run only at the database level?

    Is there a script pre-built for collecting statistics of entire database? / rdbms/admin folder?

    Is there a module to collect all the statistics schema in ADADMIN?

    Thank you very much

    MK

    The supported method of collecting statistics are:

    -Run the simultaneous program "Gathering statistics for schema" (pass 'ALL' for all schemas).

    -Use fnd_stats.gather_schema_statistics

    EBPERF FAQ - collection of statistics in Oracle EBS 11i and R12 (Doc ID 368252.1)--8) what are the supported methods to collect statistics for the EBS schemas?

    Dbms_stats.gather_schema_stats using is not supported.

    Thank you

    Hussein

  • don't no why my statement is ignored in the reference cursor

    Hello
    my code looks like this
    create or replace 
    procedure fordefaultLan(cur out sys_refcursor)
    as
    cc Res_RelcountryLan.countrycode%type;
    lid Res_Language.langid%type;
    ab Res_Language.Abrivation%type;
    begin
    open cur for SELECT RCL.CountryCode, RL.LangID, RL.Abrivation  from  Res_RelCountryLan RCL inner join Res_Language RL ON RCL.LangId = RL.LangId;
    loop
    fetch cur into cc,lid,ab;
    if cur%found then
    dbms_out.put_line('the countrycode is:'||cc||'the language id is:'||lid||'the abbrivation is :'||ab);
    else
    exit;
    end if;
    end loop;
    close cur;
    commit;
    end fordefaultLan;
    when im running this
    Error(12,1): PL/SQL: Statement ignored
    Error(12,1): PLS-00201: identifier 'DBMS_OUT.PUT_LINE' must be declared
    can you please fix my errors

    thanking you;
    Prakash

    It should beOUTof the DBMS_. PUT_LINE

    You wrote as DBMS_OUT. PUT_LINE

    And, instead of construction IF to EXIT, you can simplify like

    EXIT when cur%notfound;
    

    Replace the code below...

    if cur%found then
    dbms_out.put_line('the countrycode is:'||cc||'the language id is:'||lid||'the abbrivation is :'||ab);
    else
    exit;
    end if;
    

    Published by: JAC on May 27, 2013 13:18

  • Why a State in MSO on a Page returns to the 1st State when she went from Portrait to landscape mode...

    My folio is Portrait and landscape and many of my pages have the MSO, and when I go back and forth between the layouts on my phone, the page returns to the State 1st in this MSO.

    Another major problem is that it takes 3-5 seconds to go from Portrait to landscape and vice versa.

    Folio is 25 version.

    I created all the pages in portrait first and then created a different layout (landscape).

    Any ideas?

    Thank you

    Make sure your portrait and landscape MSO have exactly the same name. InDesign changes the name of the ASM by adding a number when you make a copy of the WHO for a different layout. It will not solve the problem of return to the first State.

    Not sure on issues of speed, maybe tablet related?

    Good luck.

    JvR

  • Create a link to a State... why the State lacks Ahh!

    Hello

    I spent 1/2 day, trying to get a button link to a State that seems to be missing the interaction > choose target > the Application menu.

    I hit the 20 State max limitation and I have to now use States within the custom/generic components... but now when I try to link to them with one button to another component this subreport is missing. Here is a diagram showing what I'm doing... and I have to hurt?

    Capture.JPG

    So... is the first question possible to link a button in a subreport to a subreport to another component. Subreport is perhaps not the right word... but I mean a State within a component.

    Any help is greatly appreiated. Thank you.

    Thank you

    Nick

    I suppose you want the buttons in the control panel (i) drop down to post a link to any other product in the following state information?

    Here are the basic things I did to make it work.

    In Flash Catalyst, I added an interaction to change the State of the main application of 'Room01Products' on (i). The rest changes to the project when done in Flash Builder.

    Once properly imported into Flash Builder, I open the Mani.mxml file, and then find the Room01Prodcuts component (Yes there is a typo in the name in, as I've never done this) I then gave this element an id attribute:

    Then, I open the Room01PanScrollingContentSkin.mxml file. It is located in the directory of the project components.

    In this file, we will find the event handler for the (i) that we added in Flash Catalyst.

    You should see the following line of code:

    mx.core.FlexGlobals.topLevelApplication.currentState = 'Room01Products';

    Add this line of code:

    mx.core.FlexGlobals.topLevelApplication.productInfo.currentState = 'Product28';

    You will see reference us the productinfo component in code and define its currentState to 'Product28' I had him show something else than the first State of the component. Now when you click on the (i), it will change the two States concerning the application and one for the component.

    Hope this helps,

    Chris

  • schema stats

    I know the difference between schema statistics and statistics on the table, but tell me

    which is more advantageous schema stats stats table or database stats?

    and when a query is cooked optimizer seeks what stats statistical tables or schema stats to run the query?

    What is the first preference of the optimizer statistics?

    >
    Select * from tab;

    This is the query now tell me what his stats will be referred by the optimizer?
    >
    The stats for this table.
    >
    There is no way to separate statistics?
    that if we gather stats for schema and after that collect us statistics for a particular table that this stats will overwrite their previous values?
    >
    Well Yes! There is only a single set of statistics for a table. Collect statistics for the table they are.

    Collect statistics for the scheme; It gathers statistics for all objects in the schema, including that the table and these new statistics replace no matter what his stats were there before. Who stops you having to talk about all of these objects by name.

    Collect statistics for the database; It gathers statistics for all objects in all schemas. Yet once, he never stops you have to talk about all schemas or objects by name, one at a time.
    >
    and no matter that collect statistics for a table, both will be updated in one place or schema?
    >
    Now, you have got it.

  • Optimizer / schema Sta - Stats are not collected on certain tables in a schema

    Hello

    I have a unique situation. Every weekend, we collected his stats on SCHEMA AR.

    execute fnd_stats.gather_schema_statistics ('AR', 10, 4)

    Recently, I noticed that for some tables in the schema, the last_analyzed very old watch. Could someone explain the reasons why the stats are not collected for the table?

    DB - 10g
    HP - UX OPERATING SYSTEM

    I checked if the table is marked for locked statistics - STATTYPE_LOCKED in DBA_TAB_STATISTICS. The column returns null.

    Thank you
    Josiane

    This seems to be a database of EBS. If so, can you find an entry for this table in the FND_EXCLUDE_TABLE_STATS table? This table has a list of tables for which statistics are not met.

    Is there is no entry in the FND_EXCLUDE_TABLE_STATS table, then it's a TEMPORARY table?

    HTH
    Srini

  • collect program of conc. schema stat taking too long

    Hello
    I ran to gather stats conc schema. program this morning. Its already close 02:40 minutes and the program is still ongoing. How long does take. And I guess that's the first time I run this prog on this machine.

    The parameters used are

    ALL 10 NOBACKUP LASTRUN COLLECT THERE

    It's R12.0.6 VISION long back (back of 7 months) for testing. Not many use it. And now the performace is slowww for ORDER MANAGEMENT module. And to collect statistics of schema was not planned. So I ran Gather scheme and it takes so long. I fear that I will not make the system much more slow coz in 2 days we had the demo.

    can I cancel this request. or should I wait some time yet.

    Concerning
    Taher

    Hi Taher;

    I ran to gather stats conc schema. program this morning. Its already close 02:40 minutes and the program is still ongoing. How long does take. And I guess that's the first time I run this prog on this machine.

    The parameters used are

    ALL 10 NOBACKUP LASTRUN COLLECT THERE

    It's R12.0.6 VISION long back (back of 7 months) for testing. Not many use it. And now the performace is slowww for ORDER MANAGEMENT module. And to collect statistics of schema was not planned. So I ran Gather scheme and it takes so long. I fear that I will not make the system much more slow coz in 2 days we had the demo.

    can I cancel this request. or should I wait some time yet.

    Its best way to cancel them now and run it at night when the system is not the use by users, coz it may be cause performance problem

    Please also check Hussein snoussi more great post similar to get more information to collect stat :

    Re: generate schema statistics< for="" custom="">
    Re: Generate schema statistics
    Re: Gathering stats scheme run

    It may be useful

    Respect of
    HELIOS

  • Why do we need to be in a certain State by restoring, recovery

    It's just for my understanding
    To restore the control file - Nomount
    Control file should not be used during the restoration of the u... is that all... There is more than that.

    Even with the restoration of database
    Why mounted State... no particular reason.
    Even with tablespace... what state that you should be? and why?

    In nomount is read the file pfile. To mount, the controfile is read, so when you restore the controlfile in phase nomount database is available as a mount point where it comes to know the actual location of the data files and redolog files.

    Please go through the documentation of Oracle, visit [http://tahiti.oracle.com/]

    Anand

  • Statistics calculation of schema for a huge 10 hours batch

    Hello

    We are on gR 11, 2 (11.2.0.4) Oracle Linux. The integrated schema statistics collection job is configured to run only during the night now in production.

    We have a huge batch moving a very large amount of data in almost 90% of the tables in the database (only get tables are not affected). It will take about 10 hours and is scheduled over the weekend. It's a big ETL process that moves a huge amount of data from a database (source) to another (target) database.  How can I go to ensure that schema statistics are updated when this heavy DML constantly occurs during this period of 10-hour day?  What is the best practice to adopt in such a scenario? What I read in the Oracle documentation, which is

    "For tables that are loaded in bulk, procedures for the collection of statistics must be run on these tables immediately after the loading process, preferably as part of the same script or job that executes the bulk loading.

    How to batch? One option is to "divide the lots say 5 equal pieces" and after that each piece is finished, run the stats together. What is the best way to do it?

    I will be grateful for the entries on it.

    Thank you

    OrauserN

    We have a huge batch moving a very large amount of data in almost 90% of the tables in the database (only get tables are not affected). It will take about 10 hours and is scheduled over the weekend. It's a big ETL process that moves a huge amount of data from a database (source) to another (target) database.

    OK - but this does not explain why you have a question about what stats should be executed. And you do not mention what system, the source or the target. your stats is everything.

    How can I go to ensure that schema statistics are updated when this heavy DML constantly occurs during this period of 10-hour day?  What is the best practice to adopt in such a scenario? What I read in the Oracle documentation, which is

    "For tables that are loaded in bulk, procedures for the collection of statistics must be run on these tables immediately after the loading process, preferably as part of the same script or job that executes the bulk loading.

    The recommendation is ONLY for the use case where there is a concomitant use of these ' tables that are loaded in bulk.

    Yet once, you did not mention ANY use of the data in the systems of your source or target. Without knowing how the data is used DURING THE MOVE, we can give advice:

    1. what 'pass' given average to you? You are "suppressing" the data from the source system and "insert" then the same data in the target system? Or you just ' data are copied "from source to the target?

    2 users perform DML on tables of source? If data comes to be SELECTED from those tables and not deleted, so you need not to run statistics on the source system.

    3. users perform DML on target tables? What is DML performed during loading the new data? Then the load might affect the performance of the executed DML.

    How to batch? One option is to "divide the lots say 5 equal pieces" and after that each piece is finished, run the stats together. What is the best way to do it?

    Who knows? You have not even told us:

    1. what system, source or target or both, you are talking about

    2. What does batch processing

    3. what DML is to be carried out at the same time as the treatment by lots

    Much depends on the type of DML performed and used tables and the structure of lots. It could be that a step-by-step process could be used. That would be a bit similar to what you proposed except that he wouldn't use the table stats, stats of schema:

    1. run the part of lot 1 which updates some tables that uses certain DML

    2. collect statistics table on the tables affected by part 1 - which minimizes the effect of 'statistics' in this part of the load

    3. run the part of lot 2 that updates some different tables that affect different DML

    4 collect statistics table on the tables affected by part 2

    5 and so on

  • Module FNDGSCST: collect statistics of schema

    I had a problem similar to this, and I remember drew to a close with name change or drop the object in question.

    Surely, there MUST be a way for that:

    1. concurrent demand Gather schema Stats can still function (with the object with this name, always on the database)

    2 preferably also the contractors that object as well (so, not as a 'fix' have this object being excluded a request competitor buggy)

    It's on a 12.1.3 environment.

    I thought that the cause of this problem is someone with exotic filenames on objects additional eBS, without thinking about the consequences. I have no idea about the source of this particular object (I guess there is more than 1).

    Is there a definitive solution to this problem? Concurrent demand to collect Stats of scheme has had a very bad reputation, not only thanks to this bug. Problem is that it stops on ALL issues, which is another bug.

    * Starts * April 2, 2014 15:05:58

    Error ORACLE 20001 in FDPSTP

    Cause: FDPSTP failed due to the ORA-20001: SYS_NT4IBAQZIU2MRGQKWKXDGZYG == is an invalid identifier

    ORA-06512: at the 'APPS '. FND_STATS', line 774

    ORA-06512: at line 1

    .

    The SQL statement being executed at the time of the error was: SE

    +---------------------------------------------------------------------------+

    Beginning of the FND_FILE log messages

    +---------------------------------------------------------------------------+

    In GATHER_SCHEMA_STATS, schema_name = per cent = 40 degree = 1 internal_flag = NOBACKUP

    ORA-20001: SYS_NT4IBAQZIU2MRGQKWKXDGZYG == is an invalid identifier

    +---------------------------------------------------------------------------+

    End of the FND_FILE log messages

    +---------------------------------------------------------------------------+

    See if he can help MOS Doc 1363044.1

  • A Client Session by schema - stale object the commit in Session

    Hi all

    We have a terrible problem with our current implementation of Toplink.
    Our EPS is:
    Application server: oc4j10.1.2
    TopLink v.3
    Java 1.4

    We have several patterns in the architecture, patterns A, B, C, D and E.

    Now, A schema is a kind of seed data schema or common data area and contains baisc structures such as locations, roles, and others.

    And B French E diagrams use certain structures A or on the level of the object, there is an has a relationship to the objects in A schema.
    We can change the mapped field toplink for the foreign key (in SCHEME B) which establishes this relationship, to point to another folder/object. Thus an object in the schema B can be recycled through different objects in A schema.

    For example: A person can be associated with a location and the location associated with the person can be changed on the person object.

    However, when I do this, I see the published updates and the location is updated in the database and the UOW is committed. However, when I read the object, I get the old location. I return the stale object. Unless I update manually the object, the object of leasing is read from the session cache and he still vomits that Rassi.

    What concerns me is, why the State of the object is not snychronised with the Session, even after the UOW derived that the Session has been committed to the DB. Is this because the object belongs to an another schema? Or there could be a problem in the mapping Setup?

    After having a terrible time, find a solution. If someone has an idea/small idea, I'll be really grateful if you could let me know. If you need more information, just ask.

    Thank you
    Mary jenne

    Hello

    I think you should use addForeignKeyFieldName ("CS_LOCATION.CS_LOC_ID", "PR_BASETOURINFO.CS_DEST_DROPOFFDESTN_ID"); who will tell toplink CS_DEST_DROPOFFDESTN_ID is the foreign key, and it must be set to the value in CS_LOCATION.CS_LOC_ID when the relationship is defined.

    By using addTargetForeignKeyFieldName, you say TopLink is the foreign key in the target table. essentially, this CS_LOCATION.CS_LOC_ID is the foreign key and must be defined with the value that lies in PR_BASETOURINFO.CS_DEST_DROPOFFDESTN_ID. This prevents PR_BASETOURINFO.CS_DEST_DROPOFFDESTN_ID to be defined through the mapping. With the help of a foreign key mapping target is similar to what actually read-only, since the changes of relationship will not result in a change in the database - some other mapping in the reference object must define the foreign key field target and a mapping in this object controls the referenced id.

    Best regards
    Chris

Maybe you are looking for

  • Export iTunes Playlists to USB Flash Drive

    Just took delivery of a 2016 Lincoln MKZ w/SYNC. I tried to export each playlist to the Flash drive, check in the M3U format. SYNC would not recognize because of the protection of the files, or something like that... It shouldn't be this hard Thanks

  • QuickTime MPEG-2 Playback component

    Can anyone confirm that Apple offers more reading for sale/download component? Try to advise OP on the opening of a VOB in MPEG Streamclip. Thank you. Russ

  • Web page text shows gross briefly before applying css implementation in shape

    Suddenly, Firefox is display raw text of my main web page before it is applied to the css formatting. Without changes have been made to the code of the home page in several months. No other page on my site for this. It started to happen about a week

  • Screen MBP cleaning

    Hi, what is the best way to clean screen retina MBP? Any help much appreciated. Thank you

  • Audio to fall when you open another window

    I recently got a new computer with windows already installed Skype and 8. Skype worked perfectly for a while, but now that I have encountered a few problems. First of all (a minor problem) I couldn't leave Skype in anyway so I had to resort using alt