• wetbeardhairs@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    You can pry sqlite out of my cold dead hands. Because I’ll probably die while using it out of frustration due to the poor performance of triggers.

    • RustyNova@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Tbh trigger performance isn’t that much of a concern unless you need to write lots of data, which most usage don’t need.

      Also try check statements instead or even re-evaluate your schema to prevent them if you really need to.

      Personally my death would be multiple write transaction deadlocks. Sadly it doesn’t play that well with async code, like with sqlx (rust).