Database Transactions (ACID)

Поділитися
Вставка
  • Опубліковано 7 лип 2024
  • This computer science lesson covers the principles of database transactions with some simple examples. The ACID properties of a typical database transaction are described including Atomic, Consistent, Isolated and Durable. This tutorial briefly introduces the code of a Transact SQL (T-SQL) stored procedure that defines a transaction, including use of the commands BEGIN TRANSACTION, COMMIT TRANSACTION and ROLLBACK TRANSACTION.
    Chapters:
    00:00 ACID database transactions introduction
    00:07 Example of a database transaction (bank accounts)
    01:51 Definition of a database transaction
    02:52 Example of a database transaction (archive students)
    03:38 Implementing database transactions with SQL stored procedures
    05:44 ACID properties of data transactions

КОМЕНТАРІ • 56

  • @GESSIO26
    @GESSIO26 2 роки тому +39

    You made this concept's very clear. Something my current professor is failing to do unfortunately. Excellent video

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

      Thank you. Glas to help :)KD

    • @EminoMeneko
      @EminoMeneko Рік тому +1

      I had the same. And not only for ACID properties. I had teachers fail to explain me Foreign Keys and interfaces for instance. I did not understand then, but that's actually very simple.
      Everything can be complex or simple depending on having the right people explaining in the right manner. Easier said than done to many. Myself, I'm not always good at explaining things I understand.

    • @MWELASEDUBANDLELA
      @MWELASEDUBANDLELA Місяць тому

      You guys sound like ungrateful girlfriends in these comments😂😂
      "Ohh you do it so much better than my boyfriend"

  • @hanheeyang9837
    @hanheeyang9837 Рік тому +2

    Thanks so much! My college professor is very bad. You are saving me so much time!

  • @kamran_desu
    @kamran_desu 2 роки тому

    One of the best succinct explanations of ACID

  • @EminoMeneko
    @EminoMeneko Рік тому +8

    This is tremendously well explained. I love it when things are explained in very simple terms, with clear examples and straight to the point. 👌💯

  • @CASLOAcademy
    @CASLOAcademy 2 роки тому +4

    the most clear and precise explanation that others cant do it! thank you so much for that! please keep creating videos like that

  • @samikshamahure
    @samikshamahure 2 роки тому +10

    Your explanations are great! please make a video on the relational model as well.

  • @coryaccardo2690
    @coryaccardo2690 2 роки тому +4

    A beautiful explanation. You really have no idea how much I appreciate your channel…

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 роки тому

      Thank you. You have no idea how much I appreciate comments like yours :)KD

  • @luispedromorales3242
    @luispedromorales3242 2 роки тому +4

    Beautiful explanation! In 7 minutes I learned way much more than two 80 min lessons from my DB college course teacher...

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

    Sweet jesus! I was struggling to fully understand the concept of ACID by watching 2 hours long lectures from my professor.
    However, 7 minutes of this video made it so clear!! Nice examples and clear explanations. Thanks a lot!

    • @77cheese
      @77cheese Рік тому

      same we must have the same prof :'(

  • @DarkMonsterGFX
    @DarkMonsterGFX 2 роки тому

    I have to learn this a few months ago for the College! Thanks for the vid!!

  • @marindedic441
    @marindedic441 Рік тому +1

    The best DB transactions explanation online. You rock!

  • @sdrtsdhgf849
    @sdrtsdhgf849 2 роки тому

    short and informative! Thanks!

  • @Kacper-ve5pd
    @Kacper-ve5pd 2 роки тому

    Great explanation. Thanks mate!

  • @jermainewilliams4798
    @jermainewilliams4798 2 роки тому

    I like your use of the example code to me the concept clear.

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

    That's beyond greatness! Thanks,

  • @karansingh-nn1zv
    @karansingh-nn1zv 2 роки тому +1

    Well explained 🙏 in a simple and lucid language , thank you soooooo much

  • @maximvassilev172
    @maximvassilev172 6 місяців тому

    Super helpful!
    Nice👌

  • @aminehaine3301
    @aminehaine3301 Рік тому +1

    Thank you. You made this concept very easy to understand.

  • @Azimofffable
    @Azimofffable Рік тому

    really nice explanation

  • @rahulthaker694
    @rahulthaker694 2 роки тому

    Great video, Love your voice

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

    Excellent. You are the Attenborough of SQL (y)

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

    Wow! wonderful explanation. Thanks.

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

    thank you ComputeR Sciene for the video on Transactions i n DMBS !! i am now better prepared for my examination on the 25th oth may in 2022 thanjs to your excellent vidio thank you kind sir :D

  • @PeekMe1
    @PeekMe1 Рік тому

    Thank you

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

    Great video. Thanks

  • @AriKhuu
    @AriKhuu 10 місяців тому

    your voice is so mesmerizing!

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

    Awesome Videos Thanks

  • @benjaminmoseslieb9856
    @benjaminmoseslieb9856 Рік тому +1

    a perfect tutorial

  • @meow-pk5gq
    @meow-pk5gq Рік тому

    thank you

  • @AdiAdi-fm6yi
    @AdiAdi-fm6yi 2 роки тому

    Great video!

  • @davidlee588
    @davidlee588 Рік тому

    Could you help explain why ORM frameworks such as Rails's ActiveRecord and Django don't retry aborted transactions?

  • @ksmemon1
    @ksmemon1 2 роки тому

    Practical Real world example is needed

  • @dusmannalinwad
    @dusmannalinwad 2 роки тому

    good short not

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

    Why is he talking like that 💀😂