What is a Database Transaction? Be ACID compliant!

Поделиться
HTML-код
  • Опубликовано: 29 июл 2024

Комментарии • 35

  • @adipratapsinghaps
    @adipratapsinghaps 2 года назад +14

    Correction on point C. Consistency does not mean the data should not go below 0 in the "amount section". It means that if the account balance is 300, and I decrement by 100, and after the transaction if I read the balance, it should be 200 right away. There cannot be a delay of updation after the transaction ends and I made a read.

  • @hurairaFurqan
    @hurairaFurqan Год назад +1

    Yes! A very good video. You have explained so much clearly with examples in less time. Satisfied & Subscribed.

  • @VeronicaAngryPolak
    @VeronicaAngryPolak Год назад +1

    thank you for this explanation. really easy to follow and a good pace.

  • @nalamkhan
    @nalamkhan 2 года назад +1

    wow, legend. now, i understood the TX, and that why is it important for all operations to be sucessul or none to be called TX.

  • @vijaypatneedi
    @vijaypatneedi 4 года назад +5

    One more 💎 on youtube, love the way you are explaining things...

  • @rohitvarshney5074
    @rohitvarshney5074 4 года назад +2

    i appreciate your work, explained Tx in very easy way ! thanks

  • @amarbugarin2242
    @amarbugarin2242 2 года назад

    Great explenation, no bs or padding the vide

  • @TJOHN-pl2cr
    @TJOHN-pl2cr 5 месяцев назад

    superb video sir. tnqs a lot. love from india

  • @dixztube
    @dixztube 2 месяца назад

    Hey man great video

  • @JohnMusicbr
    @JohnMusicbr 3 года назад +2

    Awesome. Thank you.

  • @bhuman6465
    @bhuman6465 3 года назад +3

    Nicely explained in short time

  • @fahadasad5782
    @fahadasad5782 2 года назад +1

    Thank you, this video was very helpful. :)

  • @injlm
    @injlm 2 года назад +2

    Thanks a lot

  • @user-lm5wb8vi1x
    @user-lm5wb8vi1x 6 месяцев назад

    Finished watching

  • @Michelle_a9
    @Michelle_a9 13 дней назад

    This correspondence serves as confirmation of the successful transfer from the bank to your Visa/Mastercard card.

  • @brianchiruka192
    @brianchiruka192 2 года назад +1

    Brilliant!

  • @bahmanklingensmith
    @bahmanklingensmith 18 дней назад

    This serves as formal notification of the successful receipt of the BTC transaction.

  • @denisleonard1565
    @denisleonard1565 2 года назад +1

    Hi there, what is the best practice to implement the database transactions? should it be implemented in database stored procedures or in the backend code?

    • @BeABetterDev
      @BeABetterDev  2 года назад +1

      Hi Denis,
      Typically databases support Transactions as part of update operations. We very rarely need to roll our own. For example, here's some documentation on Postgres transactions: www.postgresql.org/docs/8.3/tutorial-transactions.html
      Hope this helps

  • @adrianadinata1234
    @adrianadinata1234 Год назад

    thankyou

  • @liorbm1
    @liorbm1 2 года назад +1

    This is a part of some playlist ?

  • @nathan.s048
    @nathan.s048 2 месяца назад

    safe bro

  • @Jeff___6g5
    @Jeff___6g5 13 дней назад

    Sarcastically, oh, because transfers from banks to cards are always such a nail-biting affair, aren't they? But hey, it happened.

  • @user-lm5wb8vi1x
    @user-lm5wb8vi1x 6 месяцев назад

    Finished watching