After 10gto11g upgd, 'Planning Data Pull Worker'  perf is very slow

Hi all,
We upgraded database from 10g to 11gR2. We have 3 prod instances , they work together. They are ebiz, planning, and configurator. Some of you might be familiar with this kind of setup.
We are running 'Planning Data Pull Worker' in APS instance (planning) instance. This program "SELECTs" (and gets data) from EBIZ instance and "INSERTS" into planning instance.
But after upgrade, this works fine in one instance (PERF6) (half hr), and takes very long like 6+ hrs in another instacen ARCH6.
We figured where the problem is. A select statement.
"select count(1) from apps.MRP_AP3_SALES_ORDERS_V ;"
Eventhough this is not exactly the select been used. We simplified by just trying "count(1)" of the main view which as the culprit.
I am pasting trace of both instance where working fine (PERF6) and where it is taking too long (ARCH6).
Please have a look and help. We opened a sev-1 tar as well , still problem persists.
Thanks,
Gopal

=======================================
___PERF6 instance trace; Where it works fine._
=======================================
SQL> SELECT * FROM table(DBMS_XPLAN.DISPLAY_AWR(('87dtkqstb5adq'),'961766442',null,'ADVANCED'));
PLAN_TABLE_OUTPUT
SQL_ID 87dtkqstb5adq
select count(1) from apps.MRP_AP3_SALES_ORDERS_V
Plan hash value: 961766442
| Id | Operation | Name | Row
s | Bytes | Cost (%CPU)| Time |
PLAN_TABLE_OUTPUT
| 0 | SELECT STATEMENT | |
| | 29253 (100)| |
| 1 | SORT AGGREGATE | |
1 | 189 | | |
| 2 | NESTED LOOPS | |
PLAN_TABLE_OUTPUT
1 | 189 | 29253 (1)| 00:05:52 |
| 3 | HASH JOIN | |
1 | 185 | 29253 (1)| 00:05:52 |
| 4 | NESTED LOOPS OUTER | |
1 | 176 | 29246 (1)| 00:05:51 |
| 5 | NESTED LOOPS OUTER | |
1 | 170 | 29245 (1)| 00:05:51 |
PLAN_TABLE_OUTPUT
| 6 | NESTED LOOPS | |
1 | 161 | 29245 (1)| 00:05:51 |
| 7 | HASH JOIN | | 60
90 | 654K| 19090 (1)| 00:03:50 |
| 8 | TABLE ACCESS BY INDEX ROWID | FND_LANGUAGES |
20 | 100 | 2 (0)| 00:00:01 |
| 9 | INDEX RANGE SCAN | FND_LANGUAGES_N1 |
20 | | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 10 | HASH JOIN | | 62
46 | 640K| 19088 (1)| 00:03:50 |
| 11 | TABLE ACCESS FULL | OE_TRANSACTION_TYPES_TL | 12
97 | 37613 | 10 (0)| 00:00:01 |
| 12 | NESTED LOOPS | |
| | | |
| 13 | NESTED LOOPS | | 41
PLAN_TABLE_OUTPUT
03 | 304K| 19077 (1)| 00:03:49 |
| 14 | NESTED LOOPS | | 41
03 | 220K| 14517 (1)| 00:02:55 |
| 15 | HASH JOIN | | 41
00 | 104K| 9959 (1)| 00:02:00 |
| 16 | TABLE ACCESS FULL | MRP_DERIVED_SO_DEMANDS | 41
00 | 65600 | 17 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 17 | INDEX FAST FULL SCAN | MTL_SYS_ITEMS_SN_N2 | 15
59K| 14M| 1184 (1)| 00:00:15 |
| 18 | TABLE ACCESS BY INDEX ROWID| OE_ORDER_LINES_ALL |
1 | 29 | 2 (0)| 00:00:01 |
| 19 | INDEX UNIQUE SCAN | OE_ORDER_LINES_U1 |
1 | | 1 (0)| 00:00:01 |
| 20 | INDEX UNIQUE SCAN | OE_ORDER_HEADERS_U1 |
1 | | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 21 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_HEADERS_ALL |
1 | 21 | 2 (0)| 00:00:01 |
| 22 | TABLE ACCESS BY INDEX ROWID | MTL_SALES_ORDERS |
1 | 51 | 3 (0)| 00:00:01 |
| 23 | INDEX RANGE SCAN | MTL_SALES_ORDERS_N1 |
1 | | 2 (0)| 00:00:01 |
| 24 | INDEX UNIQUE SCAN | PJM_PROJECT_PARAMETERS_U1 |
PLAN_TABLE_OUTPUT
1 | 9 | 0 (0)| |
| 25 | INDEX RANGE SCAN | OE_ODR_LINES_SN_N2 |
1 | 6 | 2 (0)| 00:00:01 |
| 26 | TABLE ACCESS FULL | AR_SYSTEM_PARAMETERS_ALL |
43 | 387 | 6 (0)| 00:00:01 |
| 27 | INDEX UNIQUE SCAN | GL_SETS_OF_BOOKS_U2 |
1 | 4 | 0 (0)| |
PLAN_TABLE_OUTPUT
Query Block Name / Object Alias (identified by operation id):
1 - SEL$15993197
8 - SEL$15993197 / FNL@SEL$2
9 - SEL$15993197 / FNL@SEL$2
11 - SEL$15993197 / OTTL@SEL$2
PLAN_TABLE_OUTPUT
16 - SEL$15993197 / MDSD@SEL$2
17 - SEL$15993197 / MSIK@SEL$2
18 - SEL$15993197 / OOL@SEL$2
19 - SEL$15993197 / OOL@SEL$2
20 - SEL$15993197 / OOHA@SEL$2
21 - SEL$15993197 / OOHA@SEL$2
22 - SEL$15993197 / MSO@SEL$2
23 - SEL$15993197 / MSO@SEL$2
24 - SEL$15993197 / MPP@SEL$2
25 - SEL$15993197 / OOL1@SEL$2
26 - SEL$15993197 / ASPA@SEL$2
PLAN_TABLE_OUTPUT
27 - SEL$15993197 / GSB@SEL$2
Outline Data
/*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.2')
DB_VERSION('11.2.0.2')
OPT_PARAM('optimizer_dynamic_sampling' 6)
PLAN_TABLE_OUTPUT
ALL_ROWS
OUTLINE_LEAF(@"SEL$15993197")
ELIMINATE_JOIN(@"SEL$5C160134" "MTL_SALES_ORDERS"@"SEL$3")
OUTLINE(@"SEL$5C160134")
MERGE(@"SEL$335DD26A")
OUTLINE(@"SEL$1")
OUTLINE(@"SEL$335DD26A")
MERGE(@"SEL$3")
OUTLINE(@"SEL$2")
OUTLINE(@"SEL$3")
INDEX_FFS(@"SEL$15993197" "MSIK"@"SEL$2" ("MRP_SN_SYS_ITEMS"."INVENTORY_IT
PLAN_TABLE_OUTPUT
EM_ID"
"MRP_SN_SYS_ITEMS"."ORGANIZATION_ID"))
FULL(@"SEL$15993197" "MDSD"@"SEL$2")
INDEX_RS_ASC(@"SEL$15993197" "OOL"@"SEL$2" ("OE_ORDER_LINES_ALL"."LINE_ID"
INDEX(@"SEL$15993197" "OOHA"@"SEL$2" ("OE_ORDER_HEADERS_ALL"."HEADER_ID"))
FULL(@"SEL$15993197" "OTTL"@"SEL$2")
INDEX_RS_ASC(@"SEL$15993197" "FNL"@"SEL$2" ("FND_LANGUAGES"."INSTALLED_FLA
G"))
PLAN_TABLE_OUTPUT
INDEX_RS_ASC(@"SEL$15993197" "MSO"@"SEL$2" ("MTL_SALES_ORDERS"."SEGMENT1")
INDEX(@"SEL$15993197" "MPP"@"SEL$2" ("PJM_PROJECT_PARAMETERS"."PROJECT_ID"
"PJM_PROJECT_PARAMETERS"."ORGANIZATION_ID"))
INDEX(@"SEL$15993197" "OOL1"@"SEL$2" ("MRP_SN_ODR_LINES"."LINE_ID"))
FULL(@"SEL$15993197" "ASPA"@"SEL$2")
INDEX(@"SEL$15993197" "GSB"@"SEL$2" ("GL_SETS_OF_BOOKS"."SET_OF_BOOKS_ID")
PLAN_TABLE_OUTPUT
LEADING(@"SEL$15993197" "MSIK"@"SEL$2" "MDSD"@"SEL$2" "OOL"@"SEL$2" "OOHA"
@"SEL$2" "OTTL"@"SEL$2"
"FNL"@"SEL$2" "MSO"@"SEL$2" "MPP"@"SEL$2" "OOL1"@"SEL$2" "ASPA"@"S
EL$2" "GSB"@"SEL$2")
USE_HASH(@"SEL$15993197" "MDSD"@"SEL$2")
USE_NL(@"SEL$15993197" "OOL"@"SEL$2")
USE_NL(@"SEL$15993197" "OOHA"@"SEL$2")
PLAN_TABLE_OUTPUT
NLJ_BATCHING(@"SEL$15993197" "OOHA"@"SEL$2")
USE_HASH(@"SEL$15993197" "OTTL"@"SEL$2")
USE_HASH(@"SEL$15993197" "FNL"@"SEL$2")
USE_NL(@"SEL$15993197" "MSO"@"SEL$2")
USE_NL(@"SEL$15993197" "MPP"@"SEL$2")
USE_NL(@"SEL$15993197" "OOL1"@"SEL$2")
USE_HASH(@"SEL$15993197" "ASPA"@"SEL$2")
USE_NL(@"SEL$15993197" "GSB"@"SEL$2")
SWAP_JOIN_INPUTS(@"SEL$15993197" "MDSD"@"SEL$2")
SWAP_JOIN_INPUTS(@"SEL$15993197" "OTTL"@"SEL$2")
SWAP_JOIN_INPUTS(@"SEL$15993197" "FNL"@"SEL$2")
PLAN_TABLE_OUTPUT
END_OUTLINE_DATA
110 rows selected.
SQL> spool off

Similar Messages

  • Data Collection -- Planning Data Pull process failed

    Hello Experts,
    I am having a problem with data collection, the result of Planning Data Pull was completed error. It seems the problem is on the Planning Data Pull Worker.
    I am using 2 worker to run Planning Data Pull, and both result was errors. Below are some of the errors log:
    16-MAY 19:11:34 : Procedure MSC_CL_SETUP_PULL.LOAD_CALENDAR_DATE started.
    Into populate_rsrc_cal
    16-MAY-2011 19:11:40
    APS string is Invalid, check for Error condition
    16-MAY 19:11:40 : Error in Routine GMP_CALENDAR_PKG.POPULATE_RSRC_CAL.
    16-MAY 19:11:40 : User-Defined Exception
    16-MAY 19:11:40 : User-Defined Exception
    16-MAY 19:11:40 : Error_Stack...
    16-MAY 19:11:40 : ORA-06510: PL/SQL: unhandled user-defined exception
    16-MAY 19:11:40 : Error_Backtrace...
    16-MAY 19:11:40 : ORA-06512: at "APPS.MSC_CL_PULL", line 6218
    ORA-06512: at "APPS.MSC_CL_PULL", line 1583
    Help me please.
    Thanks & Regards,
    Andi

    This error shows up when it cannot find any organizations.
    Use the sqls below to identify this
    1. select MSC_CL_PULL.get_org_str(&instance_id) from dual ;
    2. select instance_code, instance_id from msc.msc_apps_instances where instance_code='&instance_code'
    3. select * from apps.msc_instance_orgs where sr_instance_id= &instanc_id
    sql 1 should in principle return the orgs available. If this returns null or -9999, then it's an orgs problem
    sql 3 will show the available orgs.
    If the organizations are enabled for planning in the ASCP instances form, then run a targeted refresh for trading partners (suppliers/customers/orgs). If this works with no errors, then look at the table msc_trading_partners. It should contain records for the orgs with partner_type = 3

  • Planning Data Pull process failed with timeout error

    Hi Experts,
    Version: Oracle apps 11.5.10.2
    Issue: Planning Data Pull process failed with timeout error
    message in the log file as follows,
    The Request id : 90018907 has Phase : COMPLETE and Status: ERROR
    Concurrent Message : Timeout error.
    There is an Unknown error in the Worker.
    Planning Data Pull process failed.
    +-------------------------------------
    Please advice what could be the problem. I submitted, standard data collection programs with 900 mins and 8 workers.
    Refresh Collection Snapshot completed without any issue

    Please see these docs.
    Data Collection Fails Because Of Time Out Timeout error [ID 339968.1]
    OPM-ASCP: Data Collection Timeout Error [ID 601539.1]
    STD COLLECTION FAILING AT PLANNING DATA PULL WITH TIMEOUT ERROR [ID 978472.1]
    Data Collections is Failing - All Errors - First Diagnostic Steps [ID 207644.1]
    Troubleshooting Errors with ATP/Planning Data Collections [ID 1227255.1]
    MSCPDC PLANNING ODS LOAD ERRORS WITH TIMEOUT ERROR - POOR PERFORMANCE [ID 417633.1]
    Thanks,
    Hussein

  • Ios5 work on 3GS very slow specially use chinese word

    can i down grade ios5 to ios4 because ios5 work in 3GS very slow specially use Chinese word key pad on sms or note,some time wait until 10s will appear the word wasted my time.
    ios5 very slow in 3GS open app,app using.

    MXStar wrote:
    Tried pairing to my ipod touch (to transfer photo's), my wifes iphone 3gs(with the same issues) a friends iPhone 4s, a car handsfree kit we purchased just for these phones and my old nokia so i could tranfer all my old photo'sover (unsuccessful).
    Yeah.... only thing in the list that might possibly work is the handsfree kit. As roaminggnome stated, pairing to other phones is not supported.
    When trying to pair to the handsfree device, was the device actually in discoverable mode?

  • I got my apple tv in July and now it doesnt work? its very slow and now I cant play anything off my computer on to my tv why?

    I got my apple tv in July and now it doesnt work? its very slow and now I cant play anything off my computer on to my tv why?

    If that magnet was strong enough, it may have damaged your hard drive. You'll have to bring it in and see if you can get it repaired/replaced.
    ~Lyssa

  • After closing request plan data are not longer displayed

    Hello all,
    guess it's a standard problem but can't find a solution in the forum.
    Scenario:
    I created a planning cube and an aggregation level with two key figures, a workbook
    based on the planning cube and a cube with actual data. The workbook showed the
    the actual data and the so far entered plan data, so everything worked fine, but after closing the request
    in the plan cube manually by switching to loading and back, the workbook doesn't show the plan data anymore.
    Planning is not finished, so its necessary to see the already planned values.
    Thanks
    jg

    Hi,
    I think this is an inconsistency of the OLAP cache used in the plan buffer. Clear the cache of the plan buffer query via RSRT or RSR_CACHE. The plan buffer query has the following technical name
    - IC/!!1IC if the input ready query is defined on an aggregation level on the InfoCube or on a multiprovder that contains an aggregation level as partprovider that is defined on InfoCube IC
    - MPRO/!!1MPRO if the input ready query is defined on an aggregation level on the multiprovider MPRO
    For a final solution earch for notes in the area of OLAP and OLAP cache in connection with planning.
    Regards
    Gregor

  • After upgrading to os x yosemite my mac running very slow , hangs frequently .

    Hai
    I upgraded to OS X YOSEMITE recently
    Following are problems existed after upgrading
    1. MAC runs slow even enough space in hard disk
    2. When i enter the text the cursor turns into cricle and starts rotating
    3.When close my mac for a few minutes and after opening the applications which are currently running hangs and gives me patience test
    4.Booting very slow it was good and fast with earlier os
    Please help me
    santosh

    Activity Monitor - Mavericks  also Yosemite
    Activity Monitor in Mavericks has significant changes
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy
    Try running this program and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor.  Please use copy and paste as screen shots can be hard to read.
    Etrecheck – System Information

  • Printer (Photosmart c4680) works but is very SLOW and gives message ":Sending print data".

    Tttle says it all. This is a fairly new printer. Using genuine HP ink.

    If printer is in warranty, contact HP tech support for possible replacement.
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Data Extraction to Cube is very slow

    Hi Experts,
    I am working on SAP APO project .I have created a cube to extract data(Backup of a planning area) from Live cache.But the data load is taking lot of time to load.We analysed the job log found that for storing data in PSA and in datatarget takes less than 1 minute but reading data from live cache is taking lot of time and also it is creating and deleting the views for reading data from live cache.I have created the cube in the BI instance present in APO system itself ....So i believe it should be faster ....Could anyone help me in this regard...
    Thanks,
    Vijay.

    If you have 2 separate system APO and BW.
    Preference for performance should be Extract data from Live cache in APO Cube and read Data in BW from APO cube to BW Cube.
    SAP recommend 2 different instances especially for APO DP.
    Hope it helps otherwise you can find lot of documentation in the market place for this subject..
    Good luck.

  • When is Apple going to fix the problems with IOS8 Safari either won't work or is very slow.why can't you contact Apple themselves rather than this method?

    ssince updating my IPad to IOS8 Safari does not work properly ie Marriott website it tells me no server is available yet Google works and other web search have the same problem when is Apple going to get fixes out soon I hope.Also why can't we contact Apple direct on this matter ?

    Try some basic troubleshooting steps. Clear Safari, force close the app and reset the iPad.
    Go to Settings>Safari>Clear History, Cookies and Data.
    In order to close apps in iOS 8, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    There re are ways to contact Apple directly. Look here for help.
    Contact Apple for support and service

  • My internet does not work or its VERY slow ( same WIFI)

    Hello,
    Last days i cant do anything on internet on my iPhone 5S. My internet does not work  or it is too slow to use it..
    Problems are on: Wifi, 3G, 4G
    My FUP isnt reduced from operator, because I didnt get any notification ( always receive) and my WIFI does not work too.
    I still have warranty. There are few pictures... I will "title them"
    Thank you for your answers.
    Test on my iPad MINI - Test that WIFI works.
    Test on my iPhohe 5S - 3G internet
    Test on my iPhohe 5S - 4G internet (test was made on 4G but then i turned WIFI ON).
    Test on my iPhohe 5S - WIFI (after TEST i turned WIFI OFF)

    Run straight to your local Apple service center to have it repaired before more damage occurs.

  • Microsoft excel 2013 stops working and getting very slow when I work in one file

    I am using windows 8.1 pro in my office and I have excel 2013,
    When I'm working on excel generally there is no problem, but I have an excel file which I work on in it's too slow and stops working, I have also tried to open the same file in another computer which is having the same problem.
    while I was using Office 2010 it was working very fine, I can also share my file with you if you want in order to be checked and resolved.
    I appreciate if you help me,

    Hi,
    You can share the file with us by sending it to GBSD TN Office Information Collection [email protected] Be sure that you have the private information hidden.
    Meanwhile, since it works fine in Office 2010, we can try to open the file in Excel 2010, then go to File > Options > Formulas, check if you have enabled iterative calculation. If so, uncheck the check box and switch the workbook calculation to Manually.
    Then, save the changes and then open the modified excel using Excel 2013 to see the result.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • My FTP works but is very slow, hangs on 'waiting for server', fix???

    Hi guys
    My FTP connects but its constantly hanging and saying 'waiting for server', eventually it connects.
    My other ftp clients connect instantly, its just DW, sometimes my filezilla may halt but not as bad as DW does.
    I can use port 22 and its instant but reading this http://forums.adobe.com/thread/734356?tstart=0 will tell you why I can't use port 22.
    Not sure what to do here, ive tried changing loads of settings and I get the same thing, I dont want to have to use an external FTP client as that would slow my workfllow considerably.
    Also I think its a mac issue, if i try this in another building on windows 7 it connects instantly.
    If i set my timeout to something really high like 90 seconds it eventually connects.
    Anyone got any ideas??
    Thanks

    So using a separate FTP client is out of the question? I ask because my workflow uses a separate FTP app - it makes it much easier to troubleshoot FTP, server, and file permission issues. And it doesn't crash Dreamweaver. So again, are you sure you can't adjust your workflow to use a separate FTP application? (I use Transmit on the Mac and it has some wonderful features including a built-in Sync capability)
    How do you have Dreamweaver's FTP functionality set-up?
    Are you using Passive FTP?
    Are you using a reverse proxy server in your network?
    Have you tried the Mac Network Utility to ping your FTP server?
    What kind of ping times are you getting?
    Do you experience network latency issues frequently?
    Do you have Mac OS X's Firewall enabled and have you tried disabling it before an FTP session - does this effect anything?
    Have you tried unchecking Dreamweaver's Use FTP performance optimization? (Site Definition->Advanced->Remote Info->Server Compatibility)?
    Do you have any network engineers in your IT department? Can they look at their information and maybe see what might be happening on the network?

  • After updating Firefox, our (Windows XP) internet system is very slow ?

    Last week I updated our Windows XP system with Firefox latest download and now everything is really slow ? It takes much longer than it used to find web pages. I also had the same problem on my home computer, Vista ?
    Can you explain why this has happened and what I can fo about it
    Michael Buggins

    Hi,
    Any update in this thread?
    http://social.technet.microsoft.com/Forums/windows/en-US/ce42930b-f0f3-4df7-a621-d8f9d59109b4/why-the-system-is-very-slow-than-before?forum=w8itpronetworking
    Regards
    Yolanda Zhu
    TechNet Community Support

  • Delete Cost Element after Plan data posted

    A user created Cost Elements in error and posted fiscal 2010 Plan data, however the business users wish to track these particular accounts by profit center, not by cost center.  We'd like to delete the cost elements so users will not be prompted for cost center when posting to these accounts.
    But even after reversing the plan data, we are not permitted to delete these cost elements with KA04, - hard error cites records existing in Table COSP.
    Thanks in advance for your suggestions.

    Yes, you can't shorten the validity to exclude the posting data from the system, even though you made the balance zero by posting off-setting entries to that particular cost element.
    Yes, shortening the validity works the same way as deletion.
    Hope this helps.
    Edited by: Pradeep kumar Athmakur on Feb 5, 2010 11:16 AM

Maybe you are looking for