I have an action table that receives all the table events in the system. Events such as new orders, insert / delete in all system tables will be inserted into this table. Thus, the number of events / sec is not very large for the Activity table.
Now I want to process incoming events based on business logic depending on the table responsible for raising the event. Each table may have a different procedure for processing.
I used the same link Parallel calls in PL / SQL
As a solution, I created several dbms_scheduler jobs that will be called simultaneously. All these jobs ( JOB1, JOB2--- - -JOB10 ) will have the same procedure ( ProcForAll_Processing ) as JOB_ACTION to achieve parallel processing.
begin dbms_scheduler.run_job('JOB1',false); dbms_scheduler.run_job('JOB2',false); end;
ProcForAll_Processing : this procedure, in turn, will call 6 other procedures Proc1,proc2,proc3 --- -- - -- - Proc6 sequential manner. I also want to achieve parallel processing.
PS: We cannot create additional tasks for parallel processing in ProcForAll_Processing , since this can lead to the consumption of additional resources, and DBA does not agree to create additional tasks. In addition, I cannot use dbms_parallel_execute for parallel processing.
Please help me as I am really stuck to do this.
source share