Databases · Senior · Question 62 of 75

What is the main risk of ON DELETE CASCADE chains in a large schema?

Explanation

Use cascades where child rows truly have no meaning alone. For large or important data, prefer soft deletes or explicit, batched cleanup.

Further reading

Problem with a question

Databases · Senior · question 62

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz