Who's Online
2 registered (spiro, CT), 2 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Recent Posts
Heres a simple question on Workflow then ..
by natkins
Today at 09:53 AM
Defaulting PO Information on assignment screen
by SBi
Yesterday at 02:24 PM
E-Bus Configuration and Management
by PeterP
Yesterday at 01:28 PM
UMX : Oracle User Management Application
by natkins
Yesterday at 12:58 PM
HRMS organization structures
by Geoff_Dixon
Yesterday at 11:53 AM
HR_PF.K RUP4
by bcooper
10/03/10 06:50 PM
Pay_Action_Parameter
s

by John Akinyode
09/03/10 11:05 AM
Error ORA-01002: fetch out of sequence
by delboy
03/03/10 04:46 PM
Multiple html sessions opening
by MarinaH
03/03/10 12:16 AM
Tories to revamp PAYE system
by Geoff_Dixon
26/02/10 01:48 PM
Top Posters (30 Days)
CT 20
delboy 19
natkins 15
bcooper 14
MarinaH 14
SBi 10
gaztorres 8
Geoff_Dixon 7
Gus 4
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 5181
Review of my Release 12 laptop 3118
CREATE_GRADE api returns:PLS-00306: wrong number o 3089
Log-on problems for existing users 3003
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 2348
October UK-OUG? 1967
Viewing Output of another user 1912
uploading bank branches to PAYROLL 1861
Still trying to locate... 1842
Family Pack K 1824
Topic Options
Rate This Topic
#2942 - 18/03/08 04:15 PM Converting to a Multi-Threaded Process
Gus Offline
hanger-on

Registered: 16/03/05
Posts: 56
Loc: Lapenne
Okay so you can turn Multi threading on and off using Pay Action Parameters

But does anyone know if you amend a custom PL/Sql process to be Multi Threaded

All the standard Payroll Processes use PYUGEN as the executable

Is this what you would have to do to convert a custom process to Multi thread ??

Any suggestions welcome


Top
#2944 - 19/03/08 08:09 AM Re: Converting to a Multi-Threaded Process [Re: Gus]
bcooper Offline
veteran
*****

Registered: 11/03/05
Posts: 886
Loc: Earth, Europe, England, here
Hi Gus (long time no hear by the way)

There is no one correct way of making a pl/sql process multi-threaded - it realy depends upon what the process does, and how it is executed.

I've recently completed work on making some big concurrent batch processing jobs multi-threaded by using Advanced Queueing (DBMS_AQ), which provides an easy way into threading.

The main 'parent' process creates the queue and places the work onto this queue. Child processes are spawned and passed the ID of the queue. These child processes simply loop through fetching the next message off the queue and performing the processing. If the queue is empty then the child process completes.

There is a wealth of information on DBMS_AQ available either from OTN or other 3rd party sites (a quick google reveals many).
Also Steven Feuerstein's book on Oracle in-built packages has a large section on using DBMS_AQ that provides a worked example.

I cannot provide you with any code samples as i do not own the IPR on them.

If you have specific questions on queueing later on then do please ask - i can provide assistance.
_________________________
I'm blogging again - albeit sporadically
Also my random musings courtesy of Twitter

Top
#2947 - 19/03/08 02:39 PM Re: Converting to a Multi-Threaded Process [Re: bcooper]
Gus Offline
hanger-on

Registered: 16/03/05
Posts: 56
Loc: Lapenne
Cheers Baz,

Do these DBMS_AQ jobs run okay under the Apps Concurrent Manager ??

Gus

Top
#2955 - 20/03/08 11:18 AM Re: Converting to a Multi-Threaded Process [Re: Gus]
bcooper Offline
veteran
*****

Registered: 11/03/05
Posts: 886
Loc: Earth, Europe, England, here
Yes indeed they do.
_________________________
I'm blogging again - albeit sporadically
Also my random musings courtesy of Twitter

Top
#2957 - 29/03/08 07:58 AM Re: Converting to a Multi-Threaded Process [Re: bcooper]
thierry Offline
stranger

Registered: 01/03/08
Posts: 4
we achieved multi-threaded processing by creating a plsql concurrent that spawns itself the threads (via fnd_concurrent.submit), so basically starting new requests.

Top


Moderator:  bcooper, CT 
March
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Forum Stats
421 Members
48 Forums
1123 Topics
5227 Posts

Max Online: 15 @ 20/10/09 02:30 PM
Today's Birthdays
No Birthdays
Recent vacancies
Developer - Permanent - based in Bracknell
by Geoff_Dixon
Yesterday at 11:59 AM
Top Posters
bcooper 886
CT 751
Geoff_Dixon 340
delboy 255
SBi 249
vkumar 223
kp_rapolu 200
cbrookes 197
Gavin Harris 101
jhatten 95