DB Adpter invisabul state in Production

Hi,
    When i going to shut Down the DB Adptet it's gives below error and it going to invisbal state please any body halp on this isue:
Internal error: Deployment Failed: javax.management.RuntimeMBeanException: RuntimeException thrown in postRegister method: rethrowing <java.lang.RuntimeException: java.lang.IllegalArgumentException: RuntimeException thrown in postRegister method: rethrowing <java.lang.RuntimeException: java.lang.IllegalArgumentException: RuntimeException thrown in postRegister method: rethrowing <java.lang.RuntimeException: java.lang.IllegalArgumentException: Error in getting XML input stream: EcoAccountDBreadAdpter_db.jca>, but keeping the MBean registered>, but keeping the MBean registered>, but keeping the MBean registered: RuntimeException thrown in postRegister method: rethrowing <java.lang.RuntimeException: java.lang.IllegalArgumentException: RuntimeException thrown in postRegister method: rethrowing <java.lang.RuntimeException: java.lang.IllegalArgumentException: RuntimeException thrown in postRegister method: rethrowing <java.lang.RuntimeException: java.lang.IllegalArgumentException: Error in getting XML input stream: EcoAccountDBreadAdpter_db.jca>, but keeping the MBean registered>, but keeping the MBean registered>, but keeping the MBean registered
Thanku,
Ram

hello, you need to restart the weblogic.

Similar Messages

  • Two financial statements at product wise and location wise below comp code

    company code have number of products and they are being sold in various locations. here management wants to get financial statement  both product wise and location wise below company code. the problem is that their is no field to post for BA, profit center and segment in MIGO posting and Billing document in standard SAP
    please inform me is it possible to get financial statement both product wise and location wise below company code. if it is possible please provide answer.
    Thanks & Regards 
    Arjun

    Financial Statements can only be drawn at Company Code, Business Area, Profit Center, and Segment levels only.
    If you want to have product wise, then the same must have mapped / designed against the one otherthan companyt code.

  • How do we define the state of Product Backlog item and Task?

    Hi,
    I am new to TFS Test management, can any one tell me when do we define state (New, Approved, Committed, Done and Removed ) for a Product Backlog Item?
    When we define the state (To Do, Done, In Progress, Remove) for a Task?
    Thanks.

    Hi,
    You erroneously posted your question on the Project forum which is dedicated to the Microsoft scheduling and planning enterprise solution.
    Please go to the following
    TFS TechNet forum.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Issue with DML statements in production

    Hi all ,
    We are using Oracle 11g. The issue is the following:
    We have to load some tables during the working day by selecting the data we need from another sources/schemas / and then to insert that data into the production environement.
    The problem is that the source tables are very big/about 10 milion rows/ and while we are trying to get that data /select/ and then process it /insert/ into the PROD we may crash the system.../It's just an assumption/. Even without using cursors or bulk operation but simple inserts we may overload it...
    Any ideas what options do we have? For example to process the data by portions ? But how?
    Thanks in advance,
    Alexander.

    a.stoyanov wrote:
    Hi,
    Thanks for reply.
    Because the logic for inserting the data it's not so simple, we are not sure the pure SQL can satisfy the conditions how the data has to be loaded. Is there a way to process for example 10 000 rows then do something like sleep and then get another 10 000 rows and so on...? By this approach i think we are not going to overload the system with queries .. but how to achieve this or there is a better way?
    Thanks in advance,
    Alexander.Actually, it's more likely to increase the workload on the server doing it in batches of records, especially if you plan on committing each batch, which would then also introduce transactional issues if something fails as well as the technical issues of potentially causing the server to start up more writer processes. Multiple queries are a heavier workload on the server than fewer queries.
    Is the process you are doing really something that cannot be done in SQL? In a lot of cases SQL is perfectly capable of doing whatever processing is necessary.
    You'd have to give us an example of why you feel you need to do it in batches and why the processing can't be done directly in SQL.

  • Trying to tune a statement without success.

    Dear all,
    I got this statement in production:
    SELECT a.ID, a.order_date, b.NAME, a.customer_total_price, a.department_name,
    a.gilboa_no, a.currency_id
    FROM orders a, order_statuses b
    WHERE a.is_local = 0
    AND a.order_date > TRUNC (SYSDATE, 'YEAR')
    AND a.status_id = b.ID
    -- AND a.status_id IN (7, 43, 62)
    it runs very fast, see execution plan:
    SELECT STATEMENT, GOAL = CHOOSE                         
    NESTED LOOPS                         
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDERS               
    INDEX RANGE SCAN     Object owner=D90STORYSERVER     Object name=IDX_DEPT_ID_ORDER_DATE               
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDER_STATUSES               
    INDEX UNIQUE SCAN     Object owner=D90STORYSERVER     Object name=STATUS_PK               
    When I unremark the last AND condition, it became extremly slow:
    SELECT a.ID, a.order_date, b.NAME, a.customer_total_price, a.department_name,
    a.gilboa_no, a.currency_id
    FROM orders a, order_statuses b
    WHERE a.is_local = 0
    AND a.order_date > TRUNC (SYSDATE, 'YEAR')
    AND a.status_id = b.ID
    AND a.status_id IN (7, 43, 62)
    execution plan:
    SELECT STATEMENT, GOAL = CHOOSE                         
    CONCATENATION                         
    NESTED LOOPS                         
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDERS               
    INDEX RANGE SCAN     Object owner=D90STORYSERVER     Object name=ORDER_1_STATUS_FK_I_1               
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDER_STATUSES               
    INDEX UNIQUE SCAN     Object owner=D90STORYSERVER     Object name=STATUS_PK               
    NESTED LOOPS                         
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDERS               
    INDEX RANGE SCAN     Object owner=D90STORYSERVER     Object name=ORDER_1_STATUS_FK_I_1               
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDER_STATUSES               
    INDEX UNIQUE SCAN     Object owner=D90STORYSERVER     Object name=STATUS_PK               
    NESTED LOOPS                         
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDERS               
    INDEX RANGE SCAN     Object owner=D90STORYSERVER     Object name=ORDER_1_STATUS_FK_I_1               
    TABLE ACCESS BY INDEX ROWID     Object owner=D90STORYSERVER     Object name=ORDER_STATUSES               
    INDEX UNIQUE SCAN     Object owner=D90STORYSERVER     Object name=STATUS_PK     
    THE field a.status_id is an INDEX.
    Appriciate a lot yuor help!!!!!

    Here is how I see your 2 queries:
    Query 1:
    SELECT a.ID, a.order_date, b.NAME,
    FROM orders a, order_statuses b
    WHERE a.is_local = 0
    AND a.order_date > TRUNC (SYSDATE, 'YEAR')
    AND a.status_id = b.ID
    SELECT STATEMENT, GOAL = CHOOSE                         
    NESTED LOOPS                         
    TABLE ACCESS BY INDEX ROWID     Object Object name=ORDERS
    INDEX RANGE SCAN     Object name=IDX_DEPT_ID_ORDER_DATE
    TABLE ACCESS BY INDEX ROWID     Object Object name=ORDER_STATUSES
    INDEX UNIQUE SCAN     Object Object name=STATUS_PKPresuming that the first index access listed is done first, then it is using an index on the order date on ORDERS, and then joining out to ORDER_STATUSES using its primary key index for each matching row.
    Query 2:
    >
    SELECT a.ID, a.order_date, b.NAME,
    FROM orders a, order_statuses b
    WHERE a.is_local = 0
    AND a.order_date > TRUNC (SYSDATE, 'YEAR')
    AND a.status_id = b.ID
    AND a.status_id IN (7, 43, 62)
    SELECT STATEMENT, GOAL = CHOOSE
    CONCATENATION
    NESTED LOOPS
    TABLE ACCESS BY INDEX ROWID Object name=ORDERS
    INDEX RANGE SCAN Object name=ORDER_1_STATUS_FK_I_1
    TABLE ACCESS BY INDEX ROWID Object name=ORDER_STATUSES
    INDEX UNIQUE SCAN Object name=STATUS_PK
    [Above NESTED LOOP repeated another 2 times]Again, presuming the first index access is done first, then it is applying the Status ID constraint using the ORDER_1_STATUS_FK_I_1 index, and then joining out to ORDER_STATUSES using its primary key index.
    My guess is that there are many rows matching these 3 status id values i.e. not just 3 rows, but many hundreds or thousands of rows. And I am also guessing that fewer rows match the date constraint than match the status id values - probably tens of rows with the right dates versus thousands of rows with the right status ids. You can verify this by counting how many rows match each condition:
    SELECT count (*) FROM orders a WHERE a.order_date > TRUNC (SYSDATE, 'YEAR')
    SELECT count (*) FROM orders a WHERE a.status_id IN (7, 43, 62)
    I am guessing that the second SELECT will retrieve many more rows than the first.
    In the first query the date constraint was applied using an index BEFORE the data row in the table was accessed. In the second query the date constraint is applied AFTER the data row in the table has been accessed i.e. Oracle has to read the data row in the table to get the date value to check if it matches the constraint in the WHERE clause.
    So the first query uses an index on date, which is quite compact, quickly identifies any matching rows, and then ONLY retrieves the matching rows from the table.
    The second query uses an index on status id, has to go to the table to retrieve many hundreds or thousands of matching rows, to then reject them because their date value does not match the constraint. This second query is doing a lot more disk I/O than the first one, if my guess about the data distributions and matching rows is correct.
    Why is Oracle doing this? Probably because it considers an '=' constraint to be more restrictive (will match fewer rows) than a '>' constraint (an open ended number of rows may match). Without full statistics or a histogram of data distribution, Oracle believes that using the index on status_id is BETTER than using the index on order_date. It may be wrong, but Oracle doesn't know this before it runs the query. It can only use the information available to it at the time of parsing the query. And this makes it think that the status_id index should be better than the order_date index.
    You don't mention which version of Oracle you are using. This will affect how many statistics it can collect, and how well the optimiser uses them when parsing SQL. 10g collects more statistics and tries to use them better.
    The solution? Create a composite index on (status_id, order_date, is_local). Query 1 will still execute using the original order_date index. Query 2 should now prefer this new index as it has BOTH status_id and order_date in it. Oracle can now test the rows using the data in the index WITHOUT retrieving the data rows from the table. This will drastically reduce the amount of disk I/O being done and improve performance. Only the matching data rows will be retrieved from the table, having already matched all 3 major constraints. Furthermore, because the index is ordered, all the relevant matching rows will be in the same index blocks when retrieved - which is one of the main benefits of an index: row density within the index and packing.
    John

  • XML errors message (Product key not found/Invalid) in SNC5.1

    Hi,
    I am working on SNC project which includes POC scenario.I have completed all the required configuration in R/3 4.6c and SNC5.1 system. The master data (mat, plant,vendor and Info records) are CIFed from R/3 to SNC, BP and MoT created in SNC. All the MD BAdIs are implemented in SNC. I am trying to post a PO from R/3 to SNC, IDOCS are successfully generated, PI has converted the IDOCS into XML messages, but i am getting XML error in SNC system (sxmb_moni) which states-
    1) Product key 000000000123456 (category ID) not found
    2) Item 00001: Product is missing or invalid
    3) Order, item 00001: Product 000000000123456 does not exist
    4) BOL processing failed. XML-message inbound processing has been terminated.
    I am able to post the PO successfully in SNC Web UI which has alpha numeric product number (eg- 1120-110), but products with numerical value leading zeroes (eg- 000000012345) do not get posted. These product IDs give error in SNC sxmb_moni.
    I have set up the output format of product number with 40.
    Appreciate your help.
    Is there any kind of configuration required for leading zeroes in any of the systems (R/3,PI or SNC)
    Appreciate your help.
    Regards,
    Edited by: Dmohite on Jun 11, 2009 11:09 PM

    Hi Bharath,
    Were you able to over come the error for products in the XML message? I have same issue, can you please briefly point me in right direction?
    I am facing the error message " Product key 0000000000xxxxxxx (category ID) not found". can you please briefly mention how did you resolve?
    In my case, the XML message had product number '000000000070000598' and I tried to implement BAdI to make the product number appear as '70000598' and still it failed.
    Thank you in advance
    Best regards
    Vivek
    Thank you in advance.
    Best regards
    Vivek

  • Getting Exception - ErrorCode ERRCA0017 :SubStatus ES0007 :There is a temporary failure. Please retry later. (The request failed because the server is in throttled state)

    I have used Azure managed Cache (Basic tier) in my Web App deployed on cloud service.
    Now I am getting exception. ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in throttled state) on Production environment.
    I know, this exception is occurred when memory usage reached more than 95%. 
    I want to handle this issue in code so please provide the right solution.
    My Clients are facing it... so please help me .
    Its very urgent.
    Server Error in '/' Application.
    ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in throttled state)
    Description: An unhandled exception occurred during the execution of the current
    web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0007>:There
    is a temporary failure. Please retry later. (The request failed because the server is in throttled state)
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace
    below.
    Stack Trace: 
    [DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in throttled state)]
       Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ErrStatus errStatus, Guid trackingId, Exception responseException, Byte[][] payload, EndpointID destination) +551
       Microsoft.ApplicationServer.Caching.SocketClientProtocol.ExecuteApi(IVelocityRequestPacket request, IMonitoringListener listener) +287
       Microsoft.ApplicationServer.Caching.SocketClientProtocol.Upsert(VelocityPacketType type, String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[]
    tags, String region, IMonitoringListener listener) +357
       Microsoft.ApplicationServer.Caching.SocketClientProtocol.Put(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region, IMonitoringListener
    listener) +74
       Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region, IMonitoringListener
    listener) +288
       Microsoft.ApplicationServer.Caching.<>c__DisplayClass2f.<Put>b__2e() +146
       Microsoft.ApplicationServer.Caching.DataCache.Put(String key, Object value, TimeSpan timeout) +263
       Microsoft.Web.DistributedCache.<>c__DisplayClass31`1.<PerformCacheOperation>b__30() +19
       Microsoft.Web.DistributedCache.DataCacheRetryWrapper.PerformCacheOperation(Action action) +208
       Microsoft.Web.DistributedCache.DataCacheForwarderBase.PerformCacheOperation(Func`1 func) +134
       Microsoft.Web.DistributedCache.DataCacheForwarderBase.Put(String key, Object value, TimeSpan timeout) +148
       Microsoft.Web.DistributedCache.BlobBasedSessionStoreProvider.SetAndReleaseItemExclusive(HttpContextBase context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
    +177
       System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +1021
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
    Thanks
    hema

    You should add retry logic in case of retriable exceptions. If the retries fail as well you should reset the DataCacheFactory as suggested in this link.
    http://blogs.msdn.com/b/cie/archive/2014/04/29/cache-retry-fails-what-next.aspx
    Thanks,
    Pallav

  • Insert statement stores multiple records...

    Hi there. ive been having trouble with my insert statements. for some reason unknown to me, the following code creates two entries in the same table:
    SELECT product_id_sequence.nextval
    into products.prod_id
    from dual;
    INSERT INTO PRODUCTS VALUES('PRD'|| :products.prod_id,:products.prod_status, :products.store_id);
    INSERT INTO PRODUCT_PHONE VALUES('PRD' || :products.prod_id, :PHONE.phone_model, :phone.phone_price, :phone.phone_brand,
    :phone.phone_description);
    commit;
    The result of the sql statement:
    TABLE PRODUCTS
    PRD10000119 | In Stock | STR100000005
    10000119 | In Stock | STR100000005
    As you can see, the first 3 letters of the product_id are not repeated in the second record. The same is also repeated in the product_phone table. i am not sure why this is the case. please help
    Message was edited by:
    user597970

    Hi,
    Do you have the two products and product_phone blocks on your form ?
    are the database blocks matching tables in your db?
    could explain how you built the form?
    I think that your form has two database blocks, which will perform DML actions as this is a built in funcionality in forms.
    From your code, the inserts are performed ok, and the commit after, commits the data on screen as well, hence the second entry.
    Please take alook at this thread, for suggestions on forum usage:
    http://forums.oracle.com/forums/ann.jspa?annID=432
    Regards,
    Hugo

  • Optimizer - Plan Change - No Stats Changed

    Hello,
    Last week we had a surprise when a well performing query in production started to become worse.
    Query that used to run in seconds started taking 3000-4000 secs. It never completed, and the application timed out.
    The stats on the table has been locked for more than 15 months now. This is a transactional table.
    DB Version : 10.2.0.4
    To replicate the issue, we copied over the data and stats from production to development box. We couldn't replicate it in there and hence the question.
    Here is the query..
    SELECT QREF
      FROM WEBCFL_SPEED_PRICING SP
    WHERE PAIR_ID > -1 AND
    SP.REQUEST_ID IN (SELECT W.REQUEST_ID
                               FROM WEBCFL_SPEED_PRICING W
                              WHERE W.QREF IN                                
    select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N3' from dual
       AND PAIR_ID IN (SELECT PAIR_ID
                         FROM WEBCFL_SPEED_PRICING O
                        WHERE O.QREF IN (select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N2' from dual
       AND SUBMIT_TO_WORKFLOW_FLAG = 'Y'
       AND WORKFLOW_STATUS NOT IN ('0', '1', '2')
       AND QUEUE_ID IN (SELECT QUEUE_ID
                          FROM WEBCFL_SPEED_PRICING O
                         WHERE O.QREF IN (select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N2' from dual
    UNION
    SELECT QREF
      FROM WEBCFL_SPEED_PRICING SP
    WHERE SP.RESILIENCY_REQUESTID IS NOT NULL
       AND SP.REQUEST_ID IN (SELECT W.REQUEST_ID
                               FROM WEBCFL_SPEED_PRICING W
                              WHERE W.QREF IN (select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N2' from dual
       AND SP.RESILIENCY_REQUESTID IN (SELECT RESILIENCY_REQUESTID
                                         FROM WEBCFL_SPEED_PRICING O
                                        WHERE O.QREF IN (select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N2' from dual
       AND SP.PAIR_ID IN (SELECT PAIR_ID
                            FROM WEBCFL_SPEED_PRICING O
                           WHERE O.QREF IN (select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N2' from dual
       AND QUEUE_ID IN (SELECT QUEUE_ID
                          FROM WEBCFL_SPEED_PRICING O
                         WHERE O.QREF IN (select 'Q14850501 N1' from dual
    union all
    select 'Q14850501 N2' from dual
    )Plan in production
    | Id  | Operation                              | Name                    | Rows  | Bytes | Cost  |                                                                                                     
    |   0 | SELECT STATEMENT                       |                         |     2 |   279 | 22430 |                                                                                                     
    |   1 |  SORT UNIQUE                           |                         |     2 |   279 | 22430 |                                                                                                     
    |   2 |   UNION-ALL                            |                         |       |       |       |                                                                                                     
    |   3 |    NESTED LOOPS                        |                         |     1 |   126 | 11205 |                                                                                                     
    |   4 |     MERGE JOIN CARTESIAN               |                         |     1 |   104 | 11203 |                                                                                                     
    |   5 |      HASH JOIN                         |                         |     1 |    90 | 11199 |                                                                                                     
    |   6 |       VIEW                             | VW_NSO_3                |     2 |    28 |     4 |                                                                                                     
    |   7 |        UNION-ALL                       |                         |       |       |       |                                                                                                     
    |   8 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |   9 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  10 |       TABLE ACCESS BY INDEX ROWID      | WEBCFL_SPEED_PRICING    |  1252K|    19M| 11111 |                                                                                                     
    |  11 |        NESTED LOOPS                    |                         | 26883 |  1995K| 11195 |                                                                                                     
    |  12 |         NESTED LOOPS                   |                         |     1 |    60 |    84 |                                                                                                     
    |  13 |          NESTED LOOPS                  |                         |     1 |    29 |     8 |                                                                                                     
    |  14 |           VIEW                         | VW_NSO_2                |     2 |    28 |     4 |                                                                                                     
    |  15 |            UNION-ALL                   |                         |       |       |       |                                                                                                     
    |  16 |             FAST DUAL                  |                         |     1 |       |     2 |                                                                                                     
    |  17 |             FAST DUAL                  |                         |     1 |       |     2 |                                                                                                     
    |  18 |           INDEX RANGE SCAN             | IDR_PRICING_QREF_PAIR   |     1 |    15 |     2 |                                                                                                     
    |  19 |          TABLE ACCESS BY INDEX ROWID   | WEBCFL_SPEED_PRICING    |     1 |    31 |    76 |                                                                                                     
    |  20 |           INDEX RANGE SCAN             | IDX$$_7F2B0001          |   124 |       |     1 |                                                                                                     
    |  21 |         INDEX RANGE SCAN               | NUNQ_WEBCFL_S_PRICING_2 | 57761 |       |   193 |                                                                                                     
    |  22 |      BUFFER SORT                       |                         |     2 |    28 | 11203 |                                                                                                     
    |  23 |       VIEW                             | VW_NSO_1                |     2 |    28 |     4 |                                                                                                     
    |  24 |        UNION-ALL                       |                         |       |       |       |                                                                                                     
    |  25 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  26 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  27 |     INDEX RANGE SCAN                   | IDR_PRICING_REQ_QREF    |     1 |    22 |     2 |                                                                                                     
    |  28 |    NESTED LOOPS                        |                         |     1 |   153 | 11223 |                                                                                                     
    |  29 |     MERGE JOIN CARTESIAN               |                         |     1 |   131 | 11221 |                                                                                                     
    |  30 |      HASH JOIN                         |                         |     1 |   117 | 11217 |                                                                                                     
    |  31 |       TABLE ACCESS BY INDEX ROWID      | WEBCFL_SPEED_PRICING    |  1252K|    19M| 11111 |                                                                                                     
    |  32 |        NESTED LOOPS                    |                         |    21 |  2163 | 11212 |                                                                                                     
    |  33 |         HASH JOIN                      |                         |     1 |    87 |   102 |                                                                                                     
    |  34 |          TABLE ACCESS BY INDEX ROWID   | WEBCFL_SPEED_PRICING    |  1027 | 15405 |    76 |                                                                                                     
    |  35 |           NESTED LOOPS                 |                         |    18 |  1314 |    97 |                                                                                                     
    |  36 |            NESTED LOOPS                |                         |     1 |    58 |    21 |                                                                                                     
    |  37 |             NESTED LOOPS               |                         |     1 |    29 |     8 |                                                                                                     
    |  38 |              VIEW                      | VW_NSO_5                |     2 |    28 |     4 |                                                                                                     
    |  39 |               UNION-ALL                |                         |       |       |       |                                                                                                     
    |  40 |                FAST DUAL               |                         |     1 |       |     2 |                                                                                                     
    |  41 |                FAST DUAL               |                         |     1 |       |     2 |                                                                                                     
    |  42 |              INDEX RANGE SCAN          | IDR_PRICING_QREF_RES    |     1 |    15 |     2 |                                                                                                     
    |  43 |             TABLE ACCESS BY INDEX ROWID| WEBCFL_SPEED_PRICING    |     1 |    29 |    13 |                                                                                                     
    |  44 |              INDEX RANGE SCAN          | IDX$$_7F3A0001          |    25 |       |     2 |                                                                                                     
    |  45 |            INDEX RANGE SCAN            | IDX$$_7F2B0001          |   124 |       |     1 |                                                                                                     
    |  46 |          VIEW                          | VW_NSO_6                |     2 |    28 |     4 |                                                                                                     
    |  47 |           UNION-ALL                    |                         |       |       |       |                                                                                                     
    |  48 |            FAST DUAL                   |                         |     1 |       |     2 |                                                                                                     
    |  49 |            FAST DUAL                   |                         |     1 |       |     2 |                                                                                                     
    |  50 |         INDEX RANGE SCAN               | NUNQ_WEBCFL_S_PRICING_2 | 57761 |       |   193 |                                                                                                     
    |  51 |       VIEW                             | VW_NSO_7                |     2 |    28 |     4 |                                                                                                     
    |  52 |        UNION-ALL                       |                         |       |       |       |                                                                                                     
    |  53 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  54 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  55 |      BUFFER SORT                       |                         |     2 |    28 | 11221 |                                                                                                     
    |  56 |       VIEW                             | VW_NSO_4                |     2 |    28 |     4 |                                                                                                     
    |  57 |        UNION-ALL                       |                         |       |       |       |                                                                                                     
    |  58 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  59 |         FAST DUAL                      |                         |     1 |       |     2 |                                                                                                     
    |  60 |     INDEX RANGE SCAN                   | IDR_PRICING_REQ_QREF    |     1 |    22 |     2 |                                                                                                     
    --------------------------------------------------------------------------------------------------    Plan in Dev
    | Id  | Operation                              | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                         |     2 |   279 | 22533  (51)| 00:04:31 |
    |   1 |  SORT UNIQUE                           |                         |     2 |   279 | 22533  (51)| 00:04:31 |
    |   2 |   UNION-ALL                            |                         |       |       |            |          |
    |*  3 |    HASH JOIN                           |                         |     1 |   126 | 11257   (1)| 00:02:16 |
    |   4 |     VIEW                               | VW_NSO_3                |     2 |    28 |     4   (0)| 00:00:01 |
    |   5 |      UNION-ALL                         |                         |       |       |            |          |
    |   6 |       FAST DUAL                        |                         |     1 |       |     2   (0)| 00:00:01 |
    |   7 |       FAST DUAL                        |                         |     1 |       |     2   (0)| 00:00:01 |
    |   8 |     TABLE ACCESS BY INDEX ROWID        | WEBCFL_SPEED_PRICING    |  1252K|    19M| 11162   (1)| 00:02:14 |
    |   9 |      NESTED LOOPS                      |                         |   125 | 14000 | 11252   (1)| 00:02:16 |
    |* 10 |       HASH JOIN                        |                         |     1 |    96 |    91   (2)| 00:00:02 |
    |  11 |        VIEW                            | VW_NSO_1                |     2 |    28 |     4   (0)| 00:00:01 |
    |  12 |         UNION-ALL                      |                         |       |       |            |          |
    |  13 |          FAST DUAL                     |                         |     1 |       |     2   (0)| 00:00:01 |
    |  14 |          FAST DUAL                     |                         |     1 |       |     2   (0)| 00:00:01 |
    |  15 |        NESTED LOOPS                    |                         |   108 |  8856 |    86   (0)| 00:00:02 |
    |  16 |         NESTED LOOPS                   |                         |     1 |    60 |    84   (0)| 00:00:02 |
    |  17 |          NESTED LOOPS                  |                         |     1 |    29 |     8   (0)| 00:00:01 |
    |  18 |           VIEW                         | VW_NSO_2                |     2 |    28 |     4   (0)| 00:00:01 |
    |  19 |            UNION-ALL                   |                         |       |       |            |          |
    |  20 |             FAST DUAL                  |                         |     1 |       |     2   (0)| 00:00:01 |
    |  21 |             FAST DUAL                  |                         |     1 |       |     2   (0)| 00:00:01 |
    |* 22 |           INDEX RANGE SCAN             | IDR_PRICING_QREF_PAIR   |     1 |    15 |     2   (0)| 00:00:01 |
    |* 23 |          TABLE ACCESS BY INDEX ROWID   | WEBCFL_SPEED_PRICING    |     1 |    31 |    76   (0)| 00:00:01 |
    |* 24 |           INDEX RANGE SCAN             | IDX$$_7F2B0001          |   124 |       |     1   (0)| 00:00:01 |
    |* 25 |         INDEX RANGE SCAN               | IDR_PRICING_REQ_QREF    |  5038 |   108K|     2   (0)| 00:00:01 |
    |* 26 |       INDEX RANGE SCAN                 | NUNQ_WEBCFL_S_PRICING_2 | 57761 |       |   198   (4)| 00:00:03 |
    |  27 |    NESTED LOOPS                        |                         |     1 |   153 | 11274   (1)| 00:02:16 |
    |  28 |     MERGE JOIN CARTESIAN               |                         |     1 |   131 | 11272   (1)| 00:02:16 |
    |* 29 |      HASH JOIN                         |                         |     1 |   117 | 11268   (1)| 00:02:16 |
    |  30 |       TABLE ACCESS BY INDEX ROWID      | WEBCFL_SPEED_PRICING    |  1252K|    19M| 11162   (1)| 00:02:14 |
    |  31 |        NESTED LOOPS                    |                         |    21 |  2163 | 11263   (1)| 00:02:16 |
    |* 32 |         HASH JOIN                      |                         |     1 |    87 |   102   (1)| 00:00:02 |
    |  33 |          TABLE ACCESS BY INDEX ROWID   | WEBCFL_SPEED_PRICING    |  1027 | 15405 |    76   (0)| 00:00:01 |
    |  34 |           NESTED LOOPS                 |                         |    18 |  1314 |    97   (0)| 00:00:02 |
    |  35 |            NESTED LOOPS                |                         |     1 |    58 |    21   (0)| 00:00:01 |
    |  36 |             NESTED LOOPS               |                         |     1 |    29 |     8   (0)| 00:00:01 |
    |  37 |              VIEW                      | VW_NSO_5                |     2 |    28 |     4   (0)| 00:00:01 |
    |  38 |               UNION-ALL                |                         |       |       |            |          |
    |  39 |                FAST DUAL               |                         |     1 |       |     2   (0)| 00:00:01 |
    |  40 |                FAST DUAL               |                         |     1 |       |     2   (0)| 00:00:01 |
    |* 41 |              INDEX RANGE SCAN          | IDR_PRICING_QREF_RES    |     1 |    15 |     2   (0)| 00:00:01 |
    |* 42 |             TABLE ACCESS BY INDEX ROWID| WEBCFL_SPEED_PRICING    |     1 |    29 |    13   (0)| 00:00:01 |
    |* 43 |              INDEX RANGE SCAN          | IDX$$_7F3A0001          |    25 |       |     2   (0)| 00:00:01 |
    |* 44 |            INDEX RANGE SCAN            | IDX$$_7F2B0001          |   124 |       |     1   (0)| 00:00:01 |
    |  45 |          VIEW                          | VW_NSO_6                |     2 |    28 |     4   (0)| 00:00:01 |
    |  46 |           UNION-ALL                    |                         |       |       |            |          |
    |  47 |            FAST DUAL                   |                         |     1 |       |     2   (0)| 00:00:01 |
    |  48 |            FAST DUAL                   |                         |     1 |       |     2   (0)| 00:00:01 |
    |* 49 |         INDEX RANGE SCAN               | NUNQ_WEBCFL_S_PRICING_2 | 57761 |       |   198   (4)| 00:00:03 |
    |  50 |       VIEW                             | VW_NSO_7                |     2 |    28 |     4   (0)| 00:00:01 |
    |  51 |        UNION-ALL                       |                         |       |       |            |          |
    |  52 |         FAST DUAL                      |                         |     1 |       |     2   (0)| 00:00:01 |
    |  53 |         FAST DUAL                      |                         |     1 |       |     2   (0)| 00:00:01 |
    |  54 |      BUFFER SORT                       |                         |     2 |    28 | 11272   (1)| 00:02:16 |
    |  55 |       VIEW                             | VW_NSO_4                |     2 |    28 |     4   (0)| 00:00:01 |
    |  56 |        UNION-ALL                       |                         |       |       |            |          |
    |  57 |         FAST DUAL                      |                         |     1 |       |     2   (0)| 00:00:01 |
    |  58 |         FAST DUAL                      |                         |     1 |       |     2   (0)| 00:00:01 |
    |* 59 |     INDEX RANGE SCAN                   | IDR_PRICING_REQ_QREF    |     1 |    22 |     2   (0)| 00:00:01 |
    ------------------------------------------------------------------------------------------------------------------The second half of the plan is same in Prod and Dev. It is the first half of the plan that is causing the problem.
    In the good plan in Dev, I don't see a MERGE CARTESIAN JOIN in the first part. But, in the plan in production, I do see this.
    One bit of detail is: The stats on this table is locked for more than 15 months now. Not sure why, but someone did it to solve some issue previously.
    I have compared the structure in production and dev. Stats for the table is same in production and dev.
    I haven't checked the optimizer env parameters and the system stats between the systems.
    Still waiting for the information.
    Any pointers ?
    Rgds,
    Gokul
    Edited by: Gokul Gopal on Dec 10, 2012 6:24 PM

    Hi,
    1) the stats didn't change, but the query probably changes all the time (that's the whole point of using dynamic SQL). The costs of the two plans are similar, so it wouldn't be surprising at all if a slight change in the query would result in a significant change in the plan
    2) it's hard to compare entire plans, but one of noticeable differences is the fact that one query uses 1 cartesian merge join, while the other is using 2. You can try disabling cartesian merge joins with a hint or on the session level
    3) it's more difficult for the optimizer to estimate cardinality of
    select * from tab where col in ('value1', 'value2', ...)than
    select * from tabl where col in
    (select 'value1' from dual
    union all
    select 'value2' from dual
    union all
    );so if possible, you should consider rewriting this query in a way that is less confusing to the optimizer
    4) I would be worried about not being able to replicate the issue on a test box -- it means that you can't use your test box to test production performance issues. The difference in behavior suggests that there must be some difference in optimizer settings or table stats (or both). Did you try importing the stats from prod? You can also try dumping parameters to text files and running text comparison to isolate parameters that differ
    5) in a comment to your original post you mention that the issue was resolved -- but it doesn't sound like a sustainable solution, rather, looks like a temporary workaround
    Best regards,
    Nikolay

  • Question on Exporting Table Stats to another database

    I have a question exporting Table Stats from one schema in database A to another schema in another database B.
    Currently running Oracle 9.0.2.6 for unix in both prod and dev.
    Currently table stats are gathered using the ANALYZE TABLE command. We currently don't use the DBMS_STATS package to gather table statistics.
    Question:
    If I execute DBMS_STATS.EXPORT_TABLE_STATS in database A can I import them to database B if I'm only using the ANALYZE TABLE to gather table stats? Do I need to execute the DBMS_STATS.GATHER_TABLE_STATS package in database A prior to excuting DBMS_STATS.EXPORT_TABLE_STATS ?
    The overall goal is to take table stats from Production in its current state and import them into a Development environment to be used for testing data / processes.
    Yes we will be upgrading to Oracle 10 / 11g in near future.
    Yes we will be changing our method of gathering table stats by using the DBMS_STATS package.
    Thanks,
    Russ D

    Hi,
    If I execute DBMS_STATS.EXPORT_TABLE_STATS in database A can I import them to database B if I'm only using the ANALYZE TABLE to gather table stats? You need using the DBMS_STAT package for get and export statistics process if you want migrate the stats to other database.
    Do I need to execute the DBMS_STATS.GATHER_TABLE_STATS package in database A prior to excuting DBMS_STATS.EXPORT_TABLE_STATS ?Yes, you need executing first DBMS_STATS.GATHER_TABLE_STATS.
    Good luck.
    Regards.

  • EBS R12: Product licensing related questions

    Hi,
    I was asked to activate two new products in EBS R12.1.3 DEV environment. Before this, I made a backup of the system.
    In License Manager, before the activation:
    - Product #1 was in state "Shared"
    - Product #2 was in state "Not Licenced"
    Does state "Shared" mean that product #1 was partly active from those parts that are required by other licensed products? If yes, does state "Shared" have any license costs? I.e. do I need to buy a license for "Shared" product?
    After activation:
    - both products are in state "Licensed".
    Unfortunately, Product #1 should have stayed in state "Shared" as we need only those parts that are required by other products.
    Does this mean that I need to buy licenses for both products? Or is it possible leave Product #1 in "Licensed" state and use only its functionalities that are shared with other products? We do not want to buy license for Product #1.
    I understood from the old threads that the only options for deactivating product are:
    - restore the system from backup
    - create an SR to Oracle and they MAY give you a onetime script to disable the products.
    Is this still the case?
    Could you advise what would be the best course of action?
    BR,
    TH

    I was asked to activate two new products in EBS R12.1.3 DEV environment. Before this, I made a backup of the system. Good you did take a backup :)
    Does this mean that I need to buy licenses for both products? Or is it possible leave Product #1 in "Licensed" state and use only its functionalities that are shared with other products? We do not want to buy license for Product #1.If both are licensed then yes you need to get a license for both products.
    If you do not want to buy a license then revert back from the backup so Product #1 will be Shared again.
    I understood from the old threads that the only options for deactivating product are:
    - restore the system from backup
    - create an SR to Oracle and they MAY give you a onetime script to disable the products.
    Is this still the case?Correct.
    Could you advise what would be the best course of action?I would suggest you restore the files from the backup as this is the fastest/easiest way. If you have time, you could put this on hold and log a SR and see if there is a way to revert back the changes without restoring from the backup.
    Thanks,
    Hussein

  • Survey : are you gathering system statistics in Production env ?

    Does it help ?
    what work/effort did you do before you implemented stats in production ? did you first do it in dev and then test and then QA etc. or directly in producton ?
    What queries changed execution plans - any specific things you want to mention on how it influenced Oracle CBO ?
    please mention how big your database is and whether it is OLTP/DSS and which Oracle release you are running in production etc. so that we can get the background info as well.
    thanks

    ow001294, what kind of statistics are you asking about?
    If you are on version 10+ then Oracle by default generates and saves certain system and session statistics in the AWR.
    Generally speaking it is not a bad idea to use the STATSPACK package to take 5 or 10 minute snapshots of your database activity on a regular basis and generate and save the reports. The early reports serve as a baseline to compare later reports to.
    Trying to keep track of every query plan seems impractical for anyting but a very small system.
    HTH -- Mark D Powell --

  • Booking Costs after closing Production order

    Hi all,
    There is a production order for which all components have been issued, plus GR done. Finally all variances were calculated and settlement completed. This is an MTO order.
    Now I need to know how to book additional costs against this order for the following scenarios:
    1. Time booking
    2. Addition of a materials (Users forgot to add a material, but on the shop floor it was consumed)
    What would be the most logical business solution for the above two situations. Do we need to reverse settlement in such a case or not?
    Plus additionally I would like to know why does KKAX show WIP costs on production orders already settled and closed?
    Thnks
    Regards,
    G. Coelho

    Dear Mr.Godwin ,
    Let me explain you the various stage when you add extra material/Time  in a production order :
    1.Good Issue aginst production order reservation completed  -Status GMPS  but operations are not Confirmed -CNF
    2.Production Order Final Confirmation done  but Final Issue Indicator not marked or Clear Reservation not marked  at that time .Through MIGO you can issue the extra material if they are added in the Production Order -Componenet Overview .
    All the cost will be shown as variance in Production Order -Cost anaysis -Select Costing trend -Select required field for information .
    3.You can add extra hrs only in CO11N not any other Txn based on the Define Confirmation Parametre set up -OPK4 (not over or under delivery tolerence in general valid settings )
    4.You can add extra material just after order is Created (CRTD), Relased(REL)  at Componenet-Overview -select line itm and assing at operation with item categoery L
    You can't add extra material and Time in the following state in production process :
    1.Goods Issue with Final Issue Indicator -GMPS
    2.Production Order Technical Complete for settlement -TECO
    3.Production Order Confirmation done -CNF with clear reservation .
    4.Production Order is under Settlement process duing the month end or order by order .
    Best option what we follow :
    1.Update the Production Order with fresh item which are physically issuesd from Store in SAP  to capture in the same reservation nuber
    2.Compare COO2-Dcuments Goods Movement  and MB25-Open reservation for production order , which are required to issue through MIGO.
    3.Perform MIGO for the fresh item which are added in the production order .
    4.Follow BackFalshin of compoenent during CO11N if you have Back Falshing activated in MMR/Work Centre
    5.Apply Enhancement for production  order confirmation to avoid the issue .
    CONFPP01            PP order conf.: Determine customer specific default values 
    CONFPP02            PP order conf.: Customer specific input checks 1           
    CONFPP03            PP order conf.: Cust. specific check after op. selection   
    CONFPP04            PP order conf.: Customer specific input checks 2           
    CONFPP05            PP order conf.: Customer specific enhancements when saving 
    CONFPP06            PP Order Confirmations: Actual Data Transfer               
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens 
    Hope this will be usefull  for your requirement
    Regards
    JH

  • End of Life Products

    Hi can anyone tell me or point me in the right direction here?
    i need to know what the Lumia 720 is going to be an 'end of life' product, and if any other are scheduled to head in that direct in the next 6-12months?
    Ive tried searching the Nokia website, but cant seem to find this info, so any help appreciated

    Nokia doesn't state when products are going to be end of life or when they are going to be replaced by new products. The 720 still has the current operating system on it and new devices are being released running it so it will continue to get software updates.
    As for when it's going to be replaced by another model all you can do is look at when it was originally announced (February 2013) and make a guess. Nokia will not discuss future products until they are announced. My personal guess is that a direct successor will be announced sometime between February and June.

  • Stats question

    Hi All
    This is related to schema stats from production to QA.
    We have two DB
    Production: ABC
    QA: XYZ
    Now,
    I did export for schema ABC from production and inported the complete schema using 'fromuser and touser' option for exp into XYZ.
    Then i created table for production (ABC) stats using :
    exec dbms_stats.create_stat_table(ownname => 'ABC', stattab => 'ABCSTATS', tblspace => 'ABC_DATA');
    Then, i gathered the stats:
    exec dbms_stats.export_schema_stats(ownname => 'ABC',statown=>'ABC', stattab=>'ABCSTATS');
    then, exported the table 'ABCSTATS' to file exp.dmp and imported into QA database XYZ.
    PROD: exp file=/exp.dmp tables=ABCSTATS
    QA: imp file=exp.dmp fromuser=ABC touser=XYZ
    Now, i have complete data from PRODUCTION in QA and stats for production too in table ABCSTATS.
    Now, When i do
    exec dbms_stats.import_schema_stats(ownname => 'XYZ',statown=>'XYZ', stattab=>'ABCSTATS');
    Then command runs sucessfully. But stats are not loaded as of procution.
    I have stats cost coming for one query as 40,000 in production whereas in QA it is coming as 7,000 only.
    Now the question is, is there something i am doing wrong? Or is this possible to load schema stats from one to another schema for same data structure.
    OS: Sun10
    DB: 10G 10.2.0.3.0
    Thanks
    aps
    Edited by: aps on Apr 13, 2009 9:31 AM

    this possible to import diffrent schame stats into other? Can someone confirm?its possible. you have to perform few manual tasks.
    create the stat table in source and export source schema stats.
    export the stat table from source using exp utility.
    transfer and import the stat table into target database.
    Now, the Schema in Stat table isn't available in your target.So, you have to update the STAT table column C5 to target schema name.
    Now, Import the stats using exec dbms_stats.import_table_stats.
    Any special reason you want to do this? Instead, you can gather stats in current Target schema?
    HTH
    Anantha.
    Edited by: Anantha on Apr 13, 2009 2:13 PM

Maybe you are looking for

  • Stopping Facebook notifications to email

    Hi, Every time I use Facebook to comment or update my status, it notifies me in my email inbox in my menu. Its not as if they're going to my inbox at hotmail, they're just showing up in my email on my Blackberry asa notification. Just wondering if an

  • Installation on widows 7

    I bought the Photoshop Elements 10 and Premiere Elements 10 in a box together. I got my serial #s for each and started installation. I first installed disc 1 out of the 5 disc set. When it was finished I could not eject the disc and used the trip but

  • Internet Explorer message "refer to popup window"

    Hi everyone, Value some help please. When visiting my work's website with Internet Explorer on a new Lumia 625, the message "refer to popup window" appears after I log in. Unfortunately, unlike using a desktop or laptop, no new tab appears. A new tab

  • Switching from Powerbook to iMac.

    I have two ATVs synced to a Powerbook running Tiger. The iTunes files are held on an external 500GB drive. I propose replacing the Powerbook with an iMac running Leopard housing the iTunes files on the internal drive, using the external drive for Tim

  • Spry Data Sheet HTML

    Currently I am making a site with spry Datasheet (with a HTML). I have two datasheet that i use. The spry-masterdetail part contains two sets of rows with thumbs of the datasheet file. Somewhere on my page I have the spry-detail. If i click on one of