Parallel not working
Hi All,
I have one package with around 15 procedures. When I run it in the schema who owns the package, it doesn't run in parallel but when I run the same in other schema the same package use parallel process for the execution. If the package runs serially, total execution time is around 40 mins and if it uses parallel process, total execution time is 12 mins.
This package also contains
Alter session enable parallel query;
Alter session enable parallel dml;
Please let me know if you have any idea, why this is happening?
Thanks,
Api
user12263759 wrote:
I have one package with around 15 procedures. When I run it in the schema who owns the package, it doesn't run in parallel but when I run the same in other schema the same package use parallel process for the execution. PL/SQL code (as in a package), does not run in parallel via the PQ (<i>Parallel Query</i>) feature. Only certain SQL statements, that qualify for PQ processing, do.
If the package runs serially, total execution time is around 40 mins and if it uses parallel process, total execution time is 12 mins.Measuring elapsed execution time is meaningless, without know exactly what workload you are measuring. Even the very same SQL statement, on the same table, with the same execution plan, hitting the same number of rows, can have different elapsed execution times.
So if the same SQL statement can have different execution times, how meaningful is your quote of 40 min vs. 12 min. execution times? Not meaningful at all as there is no baseline for comparing the workloads done.
Please let me know if you have any idea, why this is happening?Oracle version? O/s version? What SQLs do you see are running in parallel? How do you determine that? What are the parallel degrees (and instances if RAC)? Does the PL/SQL code run with definer or current user rights? When executed as a another schema, what privs does this schema has on the package and the objects it is using? (are there context/VPDB features used, FGAC, etc?)
Observing a symptom as you have described is just that - a symptom. It needs a lot more questions asked and answered and analysis, in order to diagnose the root cause.
Similar Messages
-
Parallel not working in pipelined table function?
I've found this excelent article titled 'Oracle fast parallel data unload into ASCII file(s)' in this blog: http://jiri.wordpress.com/2009/03/18/oracle-fast-parallel-data-unload-into-ascii-files/
I have compiled the code and created the objects and the directory in my DB
But when I execute :
SELECT *
FROM TABLE(
DATA_UNLOAD(
CURSOR(
SELECT /*+ PARALLEL(A, 2, 1) */
TABLE_NAME || '|' ||
COLUMN_NAME || '|' ||
DATA_TYPE
FROM MYTABLE A
'SAMPLE_SPOOL.TXT',
'DIR_USERS_JIRI',
'Y',
'Y' )
It is suposed to return 2 rows (because of parallel execution), but it just returns 1
Do I have to do something special in order to make parallel pipelined function work
Edited by: igorcb123 on 01-02-2011 01:58 PMIf & Else is wrongly used in the function
FUNCTION F_PS_HIGH_SCHOOL (OLD_HS CHAR)
RETURN
CHAR
IS
NEW_HIGH_SCHOOL CHAR(11);
BEGIN
IF OLD_HS = ' ' THEN NEW_HIGH_SCHOOL := ' ';
ELSE-- Incorrect usage
SELECT
MC_AD_HS_NAME INTO NEW_HIGH_SCHOOL
FROM
XLAT_HIGH_SCHOOL_CODES_2
WHERE
SIS_HS_CODE = OLD_HS;
RETURN NEW_HIGH_SCHOOL;
END IF;
RETURN NEW_HIGH_SCHOOL;
END F_PS_HIGH_SCHOOL; -
Parallel not working in peak hours
Dear Exprerts,
I put the parallel on select statement to spool the file.
select /*+ parallel(a,16) full(a) */ * from temp a;In non peak hours it took 1 hours to complete but in peak hours it took 6 hours to compete.
In peak hours also query was running in 16 session.
What can be the reason?
Regards
Rahul MalikAny number of reasons - contention for CPU, slower IO....
What's the point in guessing?
Trace it.
If you're on a recent version of Oracle and licensed for Diagnostic+Tuning pack, look at the active session history data or use real time sql monitoring.
But is there a conceptual issue here?
Parallel query is a great feature for using more of the available resources to do the work. So if your database is normally idle then great - you can use some of those otherwise idle resources to divide and conquer. If during these "peak hours" there are more sessions, more concurrent queries and/or just more contention for these resources, parallel isn't going to be as effective, in fact it can just make things worse. -
Ctrl/Alt Keys not Working in Parallels
Hi,
I'm running Illustrator CS6 using Parallels Desktop 8 and Windows 7. It appears that the ctrl/alt keys do not work. Has anyone found a solution? I've tried resetting my preferences and restarting my computer. Any help would be greatly appreciaed.Although this is an old thread, I also seem to be having the same sort of issues with Illustrator CS2 in Snow Leopard running under Parallels Desktop 9.
Re. the proposed solution, there does not seem to be a 'Virtual Machine -> Configure -> Options -> Advanced -> Optimize modifier keys for games' option in Desktop 9 - or I've not found it.
I will pursue this in the Parallels forums, but if anyone here has found a solution, I'd be interested to hear it. -
Microphone on Macbook pro does not work in windows 7 with parallels
I recently purchased a Macbook pro with retina display, and installed windows 7 on the macbook with parallels desktop 7. I found out my microphone was not working correctly inside windows, I did bought my laptop to Apple store, at first we thought it was the microphone problem and exchanged me a new laptop, but the issue still exits, so I bought the laptop back to Apple store, this time we find out it seems like the microphone only not working under the windows, it works just fine in Mac part.
Apple direct me to windows telling me that I might need to install a device or driver only windows can provide; then when I contacted window, Windows told me I need to contact apple because the device or deriver must provided by the manufacture of the PC. Both side still direct me back to each other, so I still don't know what deriver or device I needed..........
When I pull up the device manager inside windows, the only device listed under sound is "Parallels Audio Controller (x64)"
Another thing is, the microphone still works inside windows 7, it's just not working correctly. For an example, if I'm doing a live chatting with my friends inside windows, I can hear my friends and they can hear me too, but they cannot hear me very clearly, it seems like there are some kind of negative feedback, it seems like there's an electronic vibrate in my voice.
Can someone please help me
Thank youPost on the Parallels forums: http://forums.parallels.com
-
My Parallels program is now not working since upgrading my MacBook Pro to OS X Mountain Lion. I was wondering if there is a solution to getting this working again?
You just need to update it to the latest version. See:
http://kb.parallels.com/114449 -
Degree in parallel hint is not working properly.
Hi Experts,
I am using the following delete statement.
delete /*+ parallel(t,30) */ from master_header t;
Sometimes the degree 30 is not working.
On what basis we have to give the degree.
Is the degree is session specific?
To use this hint we need to follow any guidelines or check list.
Please help me.
Thanks.does your system have the capacity to have multiple parallel queries with 30 processes running concurrently? (like a Sun 6900 with 48-dual core processors or something. A little 8cpu box will not be able to handle this. That is why it is called a "hint". While you can "hint" in a query, the CBO can (and in this case will) ignore it and will reduce the parallel degree to what it sees the system can handle. It tries to keep developers from doing stupid stuff.
-
SUM on XMLTable Column Causes Parallel Query to Not Work
I have the following query that creates an XMLTable out of an xml document and is then used to aggregate data from the document.
My problem is that when I try to SUM the XMLTable return column I am unable to use Parallel processing, yet when I remove the SUM from the return column Parallel processing works as expected. Can anyone shed some light on what the problem may be?
One note: I am applying a larger query than the following to hundreds of millions of records so parallel processing is definitely desired/needed.
The Query:
SELECT /*+ full(n) parallel(n,8) */
x451s30 as "XYZ"
--SUM(x451s30) as "XYZ"
FROM NADS n,
metas met,
XMLTable(XMLNAMESPACES('http://fbi.gov/cjis/N-DEx' as "p1"),
'/*' PASSING n.DATA_INTERNAL
COLUMNS
x451s30 NUMBER PATH 'count(/p1:DataItem/Person[Role = "Arrest Subject"]/Name/LastName)') T7
WHERE STATUS_ID=1
AND NAT_SOURCE_ID=0
AND OWNING_ORI like 'ABC123'
and n.id=met.nads_id and met.type_id=1 and met.val='Arrest Report';
Explain Plan without SUM
PLAN_TABLE_OUTPUT
Plan hash value: 2296199318
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 1 | 130 | 3713 (0)| 00:00:45 | | | | | |
| 1 | SORT AGGREGATE | | 1 | 2 | | | | | | | |
| 2 | XPATH EVALUATION | | | | | | | | | | |
| 3 | PX COORDINATOR | | | | | | | | | | |
| 4 | PX SEND QC (RANDOM) | :TQ10000 | 1 | 130 | 3713 (0)| 00:00:45 | | | Q1,00 | P->S | QC (RAND) |
| 5 | NESTED LOOPS | | 1 | 130 | 3713 (0)| 00:00:45 | | | Q1,00 | PCWP | |
| 6 | NESTED LOOPS | | 1 | 128 | 3683 (0)| 00:00:45 | | | Q1,00 | PCWP | |
| 7 | PX BLOCK ITERATOR | | 1 | 108 | 3683 (0)| 00:00:45 | 1 | 63 | Q1,00 | PCWC | |
|* 8 | TABLE ACCESS FULL | NADS | 1 | 108 | 3683 (0)| 00:00:45 | 1 | 63 | Q1,00 | PCWP | |
|* 9 | TABLE ACCESS BY INDEX ROWID| METAS | 1 | 20 | 2 (0)| 00:00:01 | | | Q1,00 | PCWP | |
|* 10 | INDEX UNIQUE SCAN | MET_NADS_ID_TYPE_ID_UK | 1 | | 1 (0)| 00:00:01 | | | Q1,00 | PCWP | |
| 11 | XPATH EVALUATION | | | | | | | | Q1,00 | PCWP | |
Predicate Information (identified by operation id):
8 - filter("OWNING_ORI"='ABC123' AND "NAT_SOURCE_ID"=0 AND "STATUS_ID"=1)
9 - filter("MET"."VAL"='Arrest Report')
10 - access("N"."ID"="MET"."NADS_ID" AND "MET"."TYPE_ID"=1)
Note
- dynamic sampling used for this statement (level=4)
29 rows selected.
Expalin Plan with SUM
PLAN_TABLE_OUTPUT
Plan hash value: 1527372262
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 130 | 3713 (0)| 00:00:45 | | |
| 1 | SORT AGGREGATE | | 1 | 2 | | | | |
| 2 | XPATH EVALUATION | | | | | | | |
| 3 | SORT AGGREGATE | | 1 | 130 | | | | |
| 4 | SORT AGGREGATE | | 1 | 130 | | | | |
| 5 | NESTED LOOPS | | 1 | 130 | 3713 (0)| 00:00:45 | | |
| 6 | NESTED LOOPS | | 1 | 128 | 3683 (0)| 00:00:45 | | |
| 7 | PARTITION LIST ALL | | 1 | 108 | 3683 (0)| 00:00:45 | 1 | 63 |
|* 8 | TABLE ACCESS FULL | NADS | 1 | 108 | 3683 (0)| 00:00:45 | 1 | 63 |
|* 9 | TABLE ACCESS BY INDEX ROWID| METAS | 1 | 20 | 2 (0)| 00:00:01 | | |
|* 10 | INDEX UNIQUE SCAN | MET_NADS_ID_TYPE_ID_UK | 1 | | 1 (0)| 00:00:01 | | |
| 11 | XPATH EVALUATION | | | | | | | |
Predicate Information (identified by operation id):
8 - filter("OWNING_ORI"='ABC123' AND "NAT_SOURCE_ID"=0 AND "STATUS_ID"=1)
9 - filter("MET"."VAL"='Arrest Report')
10 - access("N"."ID"="MET"."NADS_ID" AND "MET"."TYPE_ID"=1)
Note
- dynamic sampling used for this statement (level=4)
29 rows selected.
Edited by: drad on May 9, 2012 3:31 AMAfter adding the no_xml_query_rewrite hint I get the PX Coordinator back and parallel processing is enabled; however, this comes at a significant performance impact (query takes 2-3 times longer). It currently appears that Parallel is not worth the cost of loosing the xml query rewrite unless a different indexing scheme can make up the difference.
Apparently the issue was the optimizer rewriting the xml query in the XMLTable which was causing Parallel processing to not be used.
For those interested, the full query is now as follows:
SELECT /*+ full(n) parallel(n,8) no_xml_query_rewrite */
COUNT(*) as TOTAL_RECORDS,
SUM(T7.x422s1) AS ArrestsDateEX,
SUM(T7.x423s2) AS ArrNarAccDesEX,
SUM(T7.x424s3) AS WitNarAccDesEX,
SUM(T7.x425s4) AS WitFirstNameEX,
SUM(T7.x426s5) AS WitFullNameEX,
SUM(T7.x427s6) AS WitLastNameEX,
SUM(T7.x428s7) AS WitMiddleNameEX,
SUM(T7.x429s8) AS WitSexCodeEX,
SUM(T7.x430s9) AS OfficerORIEX,
SUM(T7.x431s10) AS OfficerFirstNameEX,
SUM(T7.x432s11) AS OfficerFullNameEX,
SUM(T7.x433s12) AS OfficerLastNameEX,
SUM(T7.x434s13) AS OfficerMiddleNameEX,
SUM(T7.x435s14) AS AreJuvDisCodeEX,
SUM(T7.x436s15) AS AreUCRArrOffCodeEX,
SUM(T7.x437s16) AS ArrAdtIndicatorEX,
SUM(T7.x438s17) AS AreBirthDateEX,
SUM(T7.x439s18) AS AreEthCodeEX,
SUM(T7.x440s19) AS AreEyeColorEX,
SUM(T7.x441s20) AS AreHairColorEX,
SUM(T7.x442s21) AS ArrHeightEX,
SUM(T7.x443s22) AS AreDvrLicNumEX,
SUM(T7.x444s23) AS AreFBINumEX,
SUM(T7.x445s24) AS ArePassportIDEX,
SUM(T7.x446s25) AS AreSSNEX,
SUM(T7.x447s26) AS AreStateIDEX,
SUM(T7.x448s27) AS AreUSMSIDEX,
SUM(T7.x449s28) AS AreFirstNameEX,
SUM(T7.x450s29) AS AreFullNameEX,
SUM(T7.x451s30) AS AreLastNameEX,
SUM(T7.x452s31) AS AreMiddleNameEX,
SUM(T7.x453s32) AS AreSexCodeEX,
SUM(T7.x454s33) AS AreWeightEX,
SUM(T7.x455s34) AS ArrLocCityEX,
SUM(T7.x456s35) AS ArrLocCountryEX,
SUM(T7.x457s36) AS ArrLocFullAddressEX,
SUM(T7.x458s37) AS ArrLocFullStreetEX,
SUM(T7.x459s38) AS ArrLocStateEX,
SUM(T7.x460s39) AS ArrLocStreetNameEX,
SUM(T7.x461s40) AS ArrLocStreetNumberEX,
SUM(T7.x462s41) AS ArrLocStreetPostdirectionEX,
SUM(T7.x463s42) AS ArrLocSteetPredirectionEX,
SUM(T7.x464s43) AS ArrLocZipEX,
SUM(T7.x465s44) AS OffCmpIndicatorEX,
SUM(T7.x466s45) AS OffDesTextEX,
SUM(T7.x467s46) AS OffDomVioIndicatorEX,
SUM(T7.x468s47) AS OffFrcUseCodeEX,
SUM(T7.x469s48) AS OffGangInvCodeEX,
SUM(T7.x470s49) AS OffHmeInvIndicatorEX,
SUM(T7.x471s50) AS OffIdtTftIndicatorEX,
SUM(T7.x472s51) AS OffMOCCodeEX,
SUM(T7.x473s52) AS OffOffCodeEX,
SUM(T7.x474s53) AS OffTrrIndicatorEX,
SUM(T7.x475s54) AS WrrAgencyEX,
SUM(T7.x476s55) AS WrrAgencyORIEX,
SUM(T7.x477s56) AS WrrCplOrgEX,
SUM(T7.x478s57) AS WrrCplOrgORIEX,
SUM(T7.x479s58) AS WrrCplPersonEX,
SUM(T7.x480s59) AS WrrDesEX,
SUM(T7.x481s60) AS WrrIssAuthorityEX,
SUM(T7.x482s61) AS WrrIssAuthorityORIEX,
SUM(T7.x483s62) AS WrrWrrDateEX
FROM NADS n, metas met, meta_types mtt,
XMLTable(XMLNAMESPACES('http://fbi.gov/cjis/N-DEx' as "p1"),
'/p1:DataItem' PASSING n.DATA_INTERNAL
COLUMNS
x451s30 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Name/LastName)',
x452s31 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Name/MiddleName)',
x453s32 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Sex)',
x454s33 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Weight[PointValue or MaximumValue or MinimumValue])',
x455s34 NUMBER PATH 'count(Location[AssociationReference/AssociationType=Arrest/AssociationReference/AssociationType and AssociationReference/AssociationGUID=Arrest/AssociationReference/AssociationGUID]/City)',
x456s35 NUMBER PATH 'count(Location[Country])',
x457s36 NUMBER PATH 'count(Location/FullAddress)',
x458s37 NUMBER PATH 'count(Location/FullStreetAddress)',
x459s38 NUMBER PATH 'count(Location/State)',
x460s39 NUMBER PATH 'count(Location/StreetName)',
x461s40 NUMBER PATH 'count(Location/StreetNumber)',
x462s41 NUMBER PATH 'count(Location/StreetPostdirection)',
x463s42 NUMBER PATH 'count(Location/StreetPredirection)',
x464s43 NUMBER PATH 'count(Location/PostalCode)',
x465s44 NUMBER PATH 'count(Offense/OtherContent[Info="offense was completed" or Info="offense was attempted"])',
x466s45 NUMBER PATH 'count(Offense/OffenseDescriptionText)',
x467s46 NUMBER PATH 'count(Offense/DomesticViolenceIndicator)',
x468s47 NUMBER PATH 'count(Offense/ForceCategory)',
x469s48 NUMBER PATH 'count(Offense/OtherContent[Info="gang"])',
x470s49 NUMBER PATH 'count(Offense/OtherContent[Info="home invasion"])',
x471s50 NUMBER PATH 'count(Offense/OtherContent[Info="identity theft"])',
x472s51 NUMBER PATH 'count(Offense/MOCrimeAndMotive)',
x473s52 NUMBER PATH 'count(Offense/Offense)',
x474s53 NUMBER PATH 'count(Offense/OffenseTerrorismIndicator)',
x475s54 NUMBER PATH 'count(Organization[AssociationReference/AssociationType="ActivityResponsibleOrganizationAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID]/Name)',
x476s55 NUMBER PATH 'count(Organization[AssociationReference/AssociationType="ActivityResponsibleOrganizationAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID]/OrganizationID)',
x477s56 NUMBER PATH 'count(Organization[AssociationReference/AssociationType="ActivityInvolvedOrganizationAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID]/Name)',
x478s57 NUMBER PATH 'count(Organization[AssociationReference/AssociationType="ActivityInvolvedOrganizationAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID]/OrganizationID)',
x424s3 NUMBER PATH 'count(Person[Role="Witness"]/WitnessNarrative)',
x425s4 NUMBER PATH 'count(Person[Role="Witness" and string-length(Name/FirstName)>0])',
x426s5 NUMBER PATH 'count(Person[Role="Witness" and string-length(Name/FullName)>0])',
x427s6 NUMBER PATH 'count(Person[Role="Witness" and string-length(Name/LastName)>0])',
x428s7 NUMBER PATH 'count(Person[Role="Witness" and string-length(Name/MiddleName)>0])',
x429s8 NUMBER PATH 'count(Person[Role="Witness" and string-length(Sex)>0])',
x422s1 NUMBER PATH 'count(Arrest/Date)',
x423s2 NUMBER PATH 'count(Arrest/Narrative)',
x430s9 NUMBER PATH 'count(Person[AssociationReference/AssociationType="PersonAssignedUnitAssociation" and AssociationReference/AssociationGUID=Organization[string-length(OrganizationID)>0]/AssociationReference[AssociationType="PersonAssignedUnitAssociation"]/AssociationGUID])',
x431s10 NUMBER PATH 'count(Person[Role="Enforcement Official" and string-length(Name/FirstName)>0])',
x432s11 NUMBER PATH 'count(Person[Role="Enforcement Official" and string-length(Name/FullName)>0])',
x433s12 NUMBER PATH 'count(Person[Role="Enforcement Official" and string-length(Name/LastName)>0])',
x434s13 NUMBER PATH 'count(Person[Role="Enforcement Official" and string-length(Name/MiddleName)>0])',
x435s14 NUMBER PATH 'count(Person[Role="Arrest Subject"]/SubjectJuvenileSubmissionIndicator)',
x436s15 NUMBER PATH 'count(Person[Role="Arrest Subject" and ArrestSubjectUCROffenseCharge])',
x437s16 NUMBER PATH 'count(Person[Role="Arrest Subject"]/TreatAsAdultIndicator)',
x438s17 NUMBER PATH 'count(Person[Role="Arrest Subject"]/BirthDate)',
x439s18 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Ethnicity)',
x440s19 NUMBER PATH 'count(Person[((Role="Arrest Subject") and (EyeColor or EyeColorText))])',
x441s20 NUMBER PATH 'count(Person[((Role="Arrest Subject") and (HairColor or HairColorText))])',
x442s21 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Height[PointValue or MaximumValue or MinimumValue])',
x443s22 NUMBER PATH 'count(Person[Role="Arrest Subject"]/DriverLicenseID/ID)',
x444s23 NUMBER PATH 'count(Person[Role="Arrest Subject"]/FBINumber)',
x445s24 NUMBER PATH 'count(Person[Role="Arrest Subject"]/PassportID/ID)',
x446s25 NUMBER PATH 'count(Person[Role="Arrest Subject"]/SSN)',
x447s26 NUMBER PATH 'count(Person[Role="Arrest Subject"]/StateFingerprintID)',
x448s27 NUMBER PATH 'count(Person[Role="Arrest Subject"]/USMSFugitiveNumber)',
x449s28 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Name/FirstName)',
x450s29 NUMBER PATH 'count(Person[Role="Arrest Subject"]/Name/FullName)',
x479s58 NUMBER PATH 'count(Person[AssociationReference/AssociationType="ActivityInvolvedPersonAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID])',
x480s59 NUMBER PATH 'count(Warrant/Description)',
x481s60 NUMBER PATH 'count(Organization[AssociationReference/AssociationType="ActivityInformationClearerOrganizationAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID]/Name)',
x482s61 NUMBER PATH 'count(Organization[AssociationReference/AssociationType="ActivityInformationClearerOrganizationAssociation" and AssociationReference/AssociationGUID=Activity[OtherContent/Info="Warrant"]/AssociationReference/AssociationGUID]/OrganizationID)',
x483s62 NUMBER PATH 'count(Warrant/WarrantDate)') T7
WHERE STATUS_ID=1
AND NAT_SOURCE_ID=0
AND OWNING_ORI like 'ABC123'
and n.id=met.nads_id and met.type_id=mtt.id and mtt.name='ReportType' and met.val='Arrest Report';Edited by: drad on May 15, 2012 6:03 AM
Edited by: drad on May 15, 2012 6:04 AM
marking as answered as the above solution worked for me -
Parallel Flow in BPEL not working.
We are using 10.1.3.4.We have a designed a process in bpel where we have parallel flows .Each flow has an invoke activity that calls an external service.
Each partnerlink has property "nonBlockingInvoke" specified.
We have also added the property in bpel.xml as below:
<configurations>
<property name="inMemoryOptimization">true</property>
<property name="completionPersistPolicy">faulted</property>
<property name="completionPersistLevel">All</property>
</configurations>
Now after adding the above property along with property "nonBlockingInvoke" specified for each partnerlink we are getting a timeout error.
once I remove the configuration property it works .Even if we remove the nonBlockingInvoke property then it works.But unfortunately as per our requirement we need parallel processing and inMemory optimisation both.
Any help on this regards will be highly appreciated.
my bpel.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELSuitcase>
<BPELProcess id="SyncParallelFlow" src="SyncParallelFlow.bpel">
<partnerLinkBindings>
<partnerLinkBinding name="client">
<property name="wsdlLocation">SyncParallelFlow.wsdl</property>
</partnerLinkBinding>
<partnerLinkBinding name="BPELTest1">
<property name="wsdlLocation">BPELTest1Ref.wsdl</property>
<property name="nonBlockingInvoke">true</property>
</partnerLinkBinding>
<partnerLinkBinding name="BPELTest2">
<property name="wsdlLocation">BPELTest2Ref.wsdl</property>
<property name="nonBlockingInvoke">true</property>
</partnerLinkBinding>
</partnerLinkBindings>
<configurations>
<property name="inMemoryOptimization">true</property>
<property name="completionPersistPolicy">faulted</property>
<property name="completionPersistLevel">All</property>
</configurations>
</BPELProcess>
</BPELSuitcase>Well, remember inMemoryOptimization works only for Synchronous-Transient (Without any dehydration in between) processes.
When you set nonBlockingInvoke=true, then each invoke happens in a seperate thread/transaction, which forces dehydration in the process.
That's the reason in your case it's not working.
Hope this explains.
Thanks-
[email protected]
http://www.ibiztrack.com -
Level0 Parallel export not working for BSO
Hi,
We have a BSO cube with 15 dimensions, 2 dense and remaining spare. Total number of members are around 9000.
we have added 400 new members to one of the sparse dimension after which parallel export is not happening. I started checking by deleting one by one and exporting it. when I deleted 8 members, export happened fine. If I add one extra member after that, parallel export is not hapenning.
Strange thing is If I add member as child at any generation, export is hapenning fine. If I add a member as sibbling starting from gen 3, export is not working.
Ex: A is dimension, B is child of A. If I add a new member C as sibling to B, parallel export is working.
Now add D as child of C and E as sibling of D. D here is third generation and adding a sibbling hereafter is making parallel export not to work
I'm using simple command - export database 'APP'.'DB' level0 data in columns to data_file "'D:\exp.1.txt'",D:\exp.2.txt'";
If I use single file, export is happening fine.
Does anybody has idea if BSO has member limit at generating levels. Please let me know your thoughts on this.
Thanks,
Swetha
Edited by: Swetha on Dec 16, 2010 3:16 AMDave,
I'm facing the same issue which you faced earlier. Export files are created only with header. Issue here is I'm not getting data in any of those files. All the files has just header. I changed the order of sparse dimensions, my last sparse dimension is the largest sparse with 2250 members. Still export is creating 1kb files with only headers.
The reason to change sparse to dense is we have scenario dimension which has Actual, operating and replan members and data is loaded for all years and all periods for all scenarios. So we thought it can be made dense and we didn't observe much difference in behaviour. Export is also happening fine. One has to analyze their outline structure and data before going for this option.
I would still prefer old outline and appreciate your help on this..
Swetha
Edited by: Swetha on Dec 23, 2010 12:51 AM -
Control key not working on MB Pro while connected to windows 2008 server through 2x client. Any ideas? Works on windows XP through parallels desktop.
Hello...
It seems I got it fixed!! I had been trying the Fixit tool from
http://support.microsoft.com/kb/306759 while typing up there :))))
This tool is for changing RDP port but running it fixed my problem (I kept the port 3389 intact)!!
Hope it helps someone. -
Parallel hint as part of index not working
Hello,
I think that I am misusing the parallel hint on this one, and would appreciate some guidance. I have an insert statement as such:
INSERT INTO TABLE1
SELECT column1, column2
FROM table2;
I modified the query so that it has a parallel:
SELECT /*+ FULL(table2) PARALLEL(table2, 4) */
column1, column2
FROM table2;
This parallel helps with the query's speed. However, when I use it with the insert statement on the top, it does not insert any record, nor does it give an error message:
INSERT INTO TABLE1
SELECT /*+ FULL(table2) PARALLEL(table2, 4) */
column1, column2
FROM table2;
I put EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML'; at the beginning of the procedure, but that did not help.
I really need the parallel to be in the SELECT statement, that statement runs for about 3 hours without a parallel (due to large amounts of data - no problems with query itself), however it returns only about 10,000 records, and I don't need to insert those with a parallel hint.
Edited by: user577453 on Mar 17, 2009 12:25 PM -- Added last paragraph.user577453 wrote:
I think that I am misusing the parallel hint on this one, and would appreciate some guidance. I have an insert statement as such:
I put EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML'; at the beginning of the procedure, but that did not help.
I really need the parallel to be in the SELECT statement, that statement runs for about 3 hours without a parallel (due to large amounts of data - no problems with query itself), however it returns only about 10,000 records, and I don't need to insert those with a parallel hint.First of all, your subject is probably supposed to be "Parallel hint as part of *insert* not working" rather than "Parallel hint as part of *index* not working", am I right?
Can you show us the EXPLAIN PLAN output you get for your query and the one you get for your INSERT when using the parallel hints as posted?
Please mention your database version (4-digits, e.g. 10.2.0.3).
Please use DBMS_XPLAN.DISPLAY to format the EXPLAIN PLAN output if you're already on 9i or later, and please use the \ tag before and after the DISPLAY output to format it in fixed font for readability.
What seems to be odd that you say that the result of the query seems to be different when using it as part of the INSERT statement? Are you sure that running the query standalone returns data whereas using exactly the same query in the INSERT statement inserts no records? This would be buggy behaviour.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
DBMS_DATAPUMP parallel parameter did not work
Hi, I am using DBMS_DATADUMP with network link to load large table directly from one database to another database. I used parallel parameter to improve the performance. But looks the parallel did not work. Still only one worker to handle the import.
The status is
Job: LOADING
Owner: TRI
Operation: IMPORT
Creator Privs: TRUE
GUID: 25DB4B2BE420406B82A7AE159CF1E626
Start Time: Wednesday, 22 April, 2009 15:37:04
Mode: TABLE
Instance: orcl
Max Parallelism: 4
EXPORT Job Parameters:
IMPORT Job Parameters:
Parameter Name Parameter Value:
INCLUDE_METADATA 0
TABLE_EXISTS_ACTION TRUNCATE
State: EXECUTING
Bytes Processed: 0
Current Parallelism: 4
Job Error Count: 0
Worker 1 Status:
Process Name: DW01
State: EXECUTING
Object Schema: TRI
Object Name: ORDER_LINES
Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
Completed Objects: 1
Total Objects: 1
Worker Parallelism: 1
Worker 2 Status:
Process Name: DW02
State: WORK WAITING
My source database is 10.2.0.4 compatible=10.2.0
target database is 11.1.0.6
My table is around 3G
The API I am using is
my_handle := dbms_datapump.open(operation => 'IMPORT',job_mode => 'TABLE',
remote_link => my_db_link, job_name => my_job_name ,version=>'LATEST' ) ;
dbms_datapump.set_parameter (my_handle, 'TABLE_EXISTS_ACTION','TRUNCATE');
dbms_datapump.set_parameter (my_handle, 'INCLUDE_METADATA',0);
dbms_datapump.metadata_filter (handle => my_handle, name => 'SCHEMA_EXPR',
value=>'IN (''ORDER'')');
dbms_datapump.metadata_filter (handle => my_handle, name => 'NAME_LIST',
value => '''ORDER_LINES''');
dbms_datapump.metadata_remap(my_handle,'REMAP_SCHEMA',old_value=>'ORDER',value=>'TRI');
dbms_datapump.set_parallel(my_handle,16);
dbms_datapump.start_job(my_handle);
Edited by: tonym on Apr 23, 2009 10:49 AMThen I test to use API and network link to export large table from remote database with parallel parameter.
my_handle := dbms_datapump.open(operation => 'EXPORT',job_mode => 'TABLE',remote_link => my_db_link, job_name => my_job_name ,version=>'LATEST' ) ;
DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test1.dmp', directory => 'DATA_PUMP_DIR');
DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test2.dmp', directory => 'DATA_PUMP_DIR');
DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test3.dmp', directory => 'DATA_PUMP_DIR');
DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test4.dmp', directory => 'DATA_PUMP_DIR');
dbms_datapump.metadata_filter (handle => my_handle, name => 'SCHEMA_EXPR',value=>'IN (''INVENTORY'')');
dbms_datapump.metadata_filter (handle => my_handle, name => 'NAME_LIST',value => '''INV_TRANSACTIONS''');
dbms_datapump.set_parallel(my_handle,4);
dbms_datapump.start_job(my_handle);
Looks it did not use parallel either. This table is around 3G too.
status:
Job: LOADING_2
Operation: EXPORT
Mode: TABLE
State: EXECUTING
Bytes Processed: 0
Current Parallelism: 4
Job Error Count: 0
Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST1.DMP
bytes written: 69,632
Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST2.DMP
bytes written: 4,096
Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST3.DMP
bytes written: 4,096
Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST4.DMP
bytes written: 4,096
Worker 1 Status:
Process Name: DW04
State: WORK WAITING
Worker 2 Status:
Process Name: DW05
State: EXECUTING
Object Schema: INVENTORY
Object Name: INV_TRANSACTIONS
Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
Completed Objects: 1
Total Objects: 1
Completed Rows: 4,652,330
Worker Parallelism: 1
Edited by: tonym on Apr 23, 2009 10:53 AM -
My magic trackpad will not work (at all) in Parallels (W7)
The trackpad works beautifully on my Intel iMac (Lion) 10.7.2, but will not work at all under Windows 7 on Parallels. All latest updates of everything to my knowledge.
I find no notes on this either on the Parallels site or here. Am i the only one in the universe having this problem. To be clear, there is no response from the pad whatever - nada, bupkis.
Maybe I have to pair it manually with Windows? That seems odd since everything else works fine that is connected to the iMac.
Tips, hunches, soothing words?
Thanks!If you downloaded and installed the Windows support software in accordance with the instructions, you now have a diamond shaped icon in the Windows task bar. Clicking this icon opens the Bootcamp control panel where all your trackpad settings can be configured.
-
Since I have up dated my Macbook pro, my external monitor does not work. Who can help me
It was working untill i did the update
Maybe you are looking for
-
recently my phone updated to ios 7, it wont let me sign into my iphone app store to download apps,i click on an app i want and it just clicks but doesn't start to download, i can see thats its not signed in so i tried to re set up my account under th
-
Error while installing a web-application
Hi, the error shown belov occurs when i try to install a web application. The application is inside an .ear application. the reffering line in the web.xml is : <web-app application="myweb" name="myweb-web" root="/myweb" load-on-startup="true" /> if i
-
ERROR IN NOKIA SOFTWARE UPDATER 2.5.2(LATEST) For ...
Hi everyone. I yesterday installed Nokia Software Updater 2.5.2 (LATEST) on my PC Running- Windows 7 ultimate 32-bit build 7600 No ovi suite installed. I had some problems in my new software V50 of Nokia 5800. I tried to reinstall the firmware but th
-
What do I do to get the card to work in the camera?
-
HT204135 Photoshop CS5 Printing Problem on iMac with Epson 3880 printer
All of a sudden I can't print from Photoshop CS5 on my iMac with OSX Mountain Lion installed. I am able to print from Illustrator, however. Have tried to update the Epson 3880 driver. After clicking on "Print", it doesn't register with the compute