• Tja@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 hours ago

    As long as the database is acid restarts should not be a factor. Data integrity is not helped by transactions, you would need error correcting codes for that. Plus the effect on performance is quite notable on all dbs I’ve worked with.

    • silasmariner@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      Restarts in a server between dB updates that in a sane world would be txns I meant (e.g update A, crash so don’t update B). Anyway, in postgres they’re pretty cheap in the absence of actual conflict – more expensive if you have actual cinflicts, obvs.