What is a Database Transaction? Be ACID compliant!

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ค. 2024
  • In this video, learn all about database transactions and what it takes to be ACID compliant.
    Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/cour...
    📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
    Clean Code - amzn.to/37T7xdP
    Clean Architecture - amzn.to/3sCEGCe
    Head First Design Patterns - amzn.to/37WXAMy
    Domain Driver Design - amzn.to/3aWSW2W
    Code Complete - amzn.to/3ksQDrB
    The Pragmatic Programmer - amzn.to/3uH4kaQ
    Algorithms - amzn.to/3syvyP5
    Working Effectively with Legacy Code - amzn.to/3kvMza7
    Refactoring - amzn.to/3r6FQ8U
    🎙 MY RECORDING EQUIPMENT 🎙
    Shure SM58 Microphone - amzn.to/3r5Hrf9
    Behringer UM2 Audio Interface - amzn.to/2MuEllM
    XLR Cable - amzn.to/3uGyZFx
    Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
    Desk Microphone Mount - amzn.to/3qXMVIO
    Logitech C920s Webcam - amzn.to/303zGu9
    Fujilm XS10 Camera - amzn.to/3uGa30E
    Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
    Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
    💻 MY DESKTOP EQUIPMENT 💻
    Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
    Autonomous ErgoChair 2 - bit.ly/2YzomEm
    Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
    MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
    Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
    Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
    📚 Useful Videos:
    MongoDB Crash Course - • The ULTIMATE MongoDB T...
    ☁Topics covered include:
    Databases
    Database Transactions
    All or Nothing
    ACID
    Transactional Queries
    🌎 Find me here:
    Twitter - / beabetterdevv
    Instagram - / beabetterdevv
    Patreon - Donations help fund additional content - / beabetterdev
    #AWS
    #DBMS
    #ACID

ความคิดเห็น • 32

  • @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.

  • @amarbugarin2242
    @amarbugarin2242 2 ปีที่แล้ว

    Great explenation, no bs or padding the vide

  • @rohitvarshney5074
    @rohitvarshney5074 4 ปีที่แล้ว +2

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

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว +1

      You're very welcome Rohit!

  • @TJOHN-pl2cr
    @TJOHN-pl2cr 5 หลายเดือนก่อน

    superb video sir. tnqs a lot. love from india

  • @dixztube
    @dixztube หลายเดือนก่อน

    Hey man great video

  • @vijaypatneedi
    @vijaypatneedi 3 ปีที่แล้ว +5

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

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว +1

      Thank you so much 😀

  • @fahadasad5782
    @fahadasad5782 2 ปีที่แล้ว +1

    Thank you, this video was very helpful. :)

  • @JohnMusicbr
    @JohnMusicbr 3 ปีที่แล้ว +2

    Awesome. Thank you.

  • @bhuman6465
    @bhuman6465 3 ปีที่แล้ว +3

    Nicely explained in short time

  • @user-lm5wb8vi1x
    @user-lm5wb8vi1x 6 หลายเดือนก่อน

    Finished watching

  • @brianchiruka192
    @brianchiruka192 2 ปีที่แล้ว +1

    Brilliant!

  • @injlm
    @injlm 2 ปีที่แล้ว +2

    Thanks a lot

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว

      You're very welcome Luis!

  • @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

  • @liorbm1
    @liorbm1 2 ปีที่แล้ว +1

    This is a part of some playlist ?

  • @adrianadinata1234
    @adrianadinata1234 ปีที่แล้ว

    thankyou

  • @nathan.s048
    @nathan.s048 หลายเดือนก่อน

    safe bro

  • @user-lm5wb8vi1x
    @user-lm5wb8vi1x 6 หลายเดือนก่อน

    Finished watching