Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It depends. (But you guessed that already, I'm sure.) </p> <p>In practice, the violation of proper usage here is almost always in the direction of deleting. </p> <p>The main bad consequence of deleting is how often there are dependent records in other tables whose referential integrity is lost when the parent record goes away.</p> <p>One red herring used to defend deletion (which you've already dealt with properly by dismissing the issue of storage capacity), is expecting that it will make any noticeable difference in query efficiency.</p> <p>There are too many cases where user or software issues cause someone to need to hit the big "Undo" button; if you delete, you're out of luck (at least without getting special help and aggravating people you'd rather be nice to.)</p> <p>The terminology I usually use is "Active" and "Inactive".</p> <hr> <p>A few more points to consider (by Totophil):</p> <ol> <li>Deleting a record in some databases will not automatically free up the disk space.</li> <li>Purging any sensitive information that you no longer require helps avoiding security risks.</li> <li><p>Data protection legislation might require your organisation under certain circumstances to purge any identifiable information about an individual. The legislation differs from country to country, some pointers: </p> <ul> <li>EU <a href="http://ec.europa.eu/justice_home/fsj/privacy/law/index_en.htm" rel="noreferrer">http://ec.europa.eu/justice_home/fsj/privacy/law/index_en.htm</a> </li> <li>UK <a href="http://www.ico.gov.uk/what_we_cover/data_protection.aspx" rel="noreferrer">http://www.ico.gov.uk/what_we_cover/data_protection.aspx</a></li> <li>Estonia <a href="http://www.riigiteataja.ee/ert/act.jsp?id=748829" rel="noreferrer">http://www.riigiteataja.ee/ert/act.jsp?id=748829</a></li> </ul></li> <li><p>On the other hand you might be required by law to keep certain information.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload