DFS
2021-08-20 17:34:10 UTC
Deletes of this type are very slow:
delete from childtbl
where id1 in
(
select id1
from parenttbl
where id2 in
(
select id2
from othertbl
where condition
)
)
Like 1.5 minutes to delete a couple thousand rows.
How can I speed them up?
delete from childtbl
where id1 in
(
select id1
from parenttbl
where id2 in
(
select id2
from othertbl
where condition
)
)
Like 1.5 minutes to delete a couple thousand rows.
How can I speed them up?