I found the slowest query/time consuming is this one - ``` Delete from Accounts where account_id =

I found the slowest query/time consuming is this one -

Delete from Accounts where account_id = ?


Because Accounts is the main table with foreign key in all other tables, so when a customer delete an account it freeze everything.
As the query also delete from 20 other tables as well with foreign key relationship.


Any suggestion?
Was this page helpful?