Hybrid View

  1. #1

    Join Date
    Oct 2016
    Posts
    147
    Quote Originally Posted by OlapDev View Post
    Bit techy here... But recycling a unit doesn't hard delete the unit.. it soft deletes it so the performance issue still exists as it has to ignore it when calculating
    The units who are soft deleted have a unique identyfyer in database and should be eady to delete by a agent running a simple script

  2. #2
    HellRaizer's Avatar
    Join Date
    Jan 2014
    Location
    England / Essex
    Posts
    960
    Quote Originally Posted by solper View Post
    The units who are soft deleted have a unique identyfyer in database and should be eady to delete by a agent running a simple script
    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”

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in