Hybrid View
-
07-28-2018, 04:05 AM #1
- Join Date
- Oct 2016
- Posts
- 147
-
07-28-2018, 10:34 AM #2
That is such a rookie thing to stay. The implications of a “simple delete” are rather large.
Let’s take SQL Server, which I believe they use on AWS.
This may one of the largest tables
Is it partitioned ? Probably not
Is it over indexed / under indexed?
How long does it take to delete, let’s say 1000 rows?
Will the table lock, will that cause blocking/deadlocks and therefore gamer impact
Deleting on its own will cause fragmentation and leave the table the same size. Therefore how long will an index rebuild take?
I could keep going on. Bugs me when I’m sent to review a clients DB model and process and the “developers” think that databases are “simple”