What is a Database Transaction? Be ACID compliant!

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 38

  • @nalamkhan
    @nalamkhan 2 роки тому +2

    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.

  • @adipratapsinghaps
    @adipratapsinghaps 3 роки тому +18

    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 2 роки тому +2

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

  • @Michelle_a9
    @Michelle_a9 4 місяці тому +2

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

  • @vijaypatneedi
    @vijaypatneedi 4 роки тому +6

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

  • @TJOHN-pl2cr
    @TJOHN-pl2cr 10 місяців тому +1

    superb video sir. tnqs a lot. love from india

  • @bhuman6465
    @bhuman6465 3 роки тому +4

    Nicely explained in short time

  • @VeronicaAngryPolak
    @VeronicaAngryPolak 2 роки тому +2

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

  • @rohitvarshney5074
    @rohitvarshney5074 4 роки тому +3

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

  • @SandipanSarkar-c8v
    @SandipanSarkar-c8v 11 місяців тому +1

    Finished watching

  • @dixztube
    @dixztube 6 місяців тому +1

    Hey man great video

  • @bahmanklingensmith
    @bahmanklingensmith 4 місяці тому +1

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

  • @fahadasad5782
    @fahadasad5782 2 роки тому +2

    Thank you, this video was very helpful. :)

  • @amarbugarin2242
    @amarbugarin2242 3 роки тому +1

    Great explenation, no bs or padding the vide

  • @injlm
    @injlm 3 роки тому +3

    Thanks a lot

  • @denisleonard1565
    @denisleonard1565 2 роки тому +2

    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

  • @JohnMusicbr
    @JohnMusicbr 4 роки тому +3

    Awesome. Thank you.

  • @liorbm1
    @liorbm1 3 роки тому +2

    This is a part of some playlist ?

  • @Jeff___6g5
    @Jeff___6g5 4 місяці тому +1

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

  • @brianchiruka192
    @brianchiruka192 3 роки тому +2

    Brilliant!

  • @nathan.s048
    @nathan.s048 6 місяців тому +1

    safe bro

  • @neoland1527
    @neoland1527 3 місяці тому +1

    ill consider this the next time i drop acid.
    sorry i had to do the joke

  • @adrianadinata1234
    @adrianadinata1234 2 роки тому +1

    thankyou

  • @thenightshow8486
    @thenightshow8486 20 днів тому

    What the concept of Serializability?

  • @Elias13083
    @Elias13083 2 місяці тому +1

  • @SandipanSarkar-c8v
    @SandipanSarkar-c8v 11 місяців тому +1

    Finished watching