Yury Shumsky, June 01, 2016 - 9:15 am UTC
We have the table without a triggers with several unique indexes and external keys and several generators of data. The increase of inserting generates high indexes contention.
We divide the table into partitions and create local indexes for its. Generators have uniform distribution of a partition's key we have increase in productivity of system. It is "parallelism" about which I wrote.
Next we add the "global" trigger on the table. Is it a new a bottleneck for the entire table? And we can't take advantage of partitioning?
June 01, 2016 - 10:35 am UTC
Multiple sessions can execute a trigger at the same time. So if your inserts are in separate sessions the trigger won't block them.
Unless you do something in the trigger to explicitly serialize your sessions that is (call dbms_lock, take out table locks, etc.).
So probably not, but it depends upon what your trigger does.