4 ms·
An index on ID should help. If it doesn’t, then set up a DB replica (good idea in any case), do SELECTs on slave, DELETEs on master.
by prostoalex 8y ago
An index on ID should help.
If it doesn’t, then set up a DB replica (good idea in any case), do SELECTs on slave, DELETEs on master.