Reputation: 2221
Just curious to know.If two jobs are running one is inserting into a table and other is deleting some rows from the table. Can this be performed in parallel? The table contains 300 columns with 50GB data. Will it end in a deadlock if we do so?
Upvotes: 0
Views: 2000
Reputation: 816
Given the fact you cannot remove records that have not been inserted, you can do insert and delete on the same table at the same time, but not on the same records. Hence, you cannot deadlock. You can lock though. You'll need to come up with something more complex, to deadlock Oracle.
Upvotes: 1