Delete statement was very slow in Oracle

前端 未结 4 2230
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 17:15

I have a table with about 100k records and I want to delete some rows, The problem is that the DELETE statement is running very slowly - it didn\'t finish in 30 min

4条回答
  •  我寻月下人不归
    2021-02-20 18:09

    Obviously, a delete operation will take longer than a select, but that doesn't account for the difference you see.

    It sounds like additional code is being run upon the delete, which indecates there may be triggers on the table that are also running. Can you check this?

提交回复
热议问题