Run/execute multiple procedures in Parallel - Oracle PL/SQL

后端 未结 3 1674
孤城傲影
孤城傲影 2021-01-01 08:14

I have an Activity table which is getting all the table events of the system. Events like new orders, insertion/deletion on all the system tables will be inserted into this

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-01 08:34

    It is impossible in general case without jobs, and it will make multiple sessions for this. There is no such thing as multithreading PL\SQL with a few exceptions. One of them is parallel execution of sql statements [1]. So there are some attempts to abuse this stuff for parallel execution of PL\SQL code, for example try to look here [2].

    But as i've said it's abuse IMHO.

    Reference:

    1. https://docs.oracle.com/cd/B19306_01/server.102/b14223/usingpe.htm
    2. http://www.williamrobertson.net/documents/parallel-plsql-launcher.html

提交回复
热议问题