SQLite's WAL mode is fast fast

แชร์
ฝัง

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

  • @typecraft_dev
    @typecraft_dev 18 วันที่ผ่านมา +32

    came for the thumbnail. stayed for the content

    • @robinskills
      @robinskills 17 วันที่ผ่านมา +2

      Heya nerd!

    • @knowledgedose1956
      @knowledgedose1956 5 วันที่ผ่านมา +1

      Hey nerd 🤝🏻

    • @yungifez
      @yungifez 3 วันที่ผ่านมา

      Didnt know you were laravel

  • @haradalucas
    @haradalucas 18 วันที่ผ่านมา +8

    I thought Laravel would've default my DB to WAL mode, but turns out it didn't. I've since fixed it thanks to this video :)

  • @ahmad-murery
    @ahmad-murery 18 วันที่ผ่านมา +12

    I feel the need to open up a SQLite DB and play with it 😎
    Thanks Aaron!

    • @The_Wookiee
      @The_Wookiee 17 วันที่ผ่านมา +1

      Is fun.

  • @vikingthedude
    @vikingthedude 18 วันที่ผ่านมา +22

    I love kicking it back with the boys and talking about men’s favourite topics: sports, boobs and sqlite

  • @kasmanialisaad
    @kasmanialisaad 18 วันที่ผ่านมา +6

    The course is amazing. Highly recommend it. Can’t wait for the last modules!

  •  11 วันที่ผ่านมา +2

    Now I can be the coll guy explaining WAL mode to all the people! Thank you!

  • @SimoneFolador
    @SimoneFolador 18 วันที่ผ่านมา

    Thanks Aaron! I didn't know the details of WAL mode. I will definitely check it out on my projects. Great video, as always!

  • @CapitaineToinon
    @CapitaineToinon 18 วันที่ผ่านมา +5

    Relatable opening

  • @theSlavenIvanov
    @theSlavenIvanov 17 วันที่ผ่านมา

    Superb video quality as always!

  • @Majiy00
    @Majiy00 11 วันที่ผ่านมา

    Great video, you really deserve more views and subscriber 😊😊

  • @davidharting3119
    @davidharting3119 18 วันที่ผ่านมา

    Watching this while enjoying a nice cold water

  • @mortjac
    @mortjac 17 วันที่ผ่านมา

    What a wonderful dinner story. And BTW, the storyteller isn’t bad either 😅
    I saw all your videos in your preparation phase, and I’m delighted to see your take on SQLite wal- mode.
    Congratulations 🎉🎉🎉

  • @Michielofzo
    @Michielofzo 18 วันที่ผ่านมา +2

    Intro cracked me up

  • @tiagorodrigues_br
    @tiagorodrigues_br 3 วันที่ผ่านมา

    What an excellent video!!

  • @mme725
    @mme725 18 วันที่ผ่านมา

    I would love to see this benchmark ran with all 6 journal modes. (Obviously OFF wouldn't be useful for production, but it would be an interesting point of comparison)

  • @julianjackson8756
    @julianjackson8756 16 วันที่ผ่านมา

    Thanks for that

  • @nullzeon
    @nullzeon 18 วันที่ผ่านมา

    I literally level up as a dev everytime I watch! love it here! TryHard Studios! ❤❤❤

  • @TomNook.
    @TomNook. 18 วันที่ผ่านมา +3

    BLAZINGLY

  • @OldKing11100
    @OldKing11100 15 วันที่ผ่านมา

    Excellent baseline test. If you don't mind me asking: What is your take on the future of WAL2 + CONCURRENT for SQLite?

  • @Kane0123
    @Kane0123 18 วันที่ผ่านมา +1

    Classic cold water conversation - SQLite config options.

  • @jesper.ordrup
    @jesper.ordrup 18 วันที่ผ่านมา

    Extremly clear explanarion of Wal. Thanks 🎉
    Have u tried pocketbase?

  • @AhmedSalah-xm9xu
    @AhmedSalah-xm9xu 14 วันที่ผ่านมา

    Hey Aaron, are you going to continue streaming the development of your life OS?
    I really enjoyed the content. Keep up the great work👍👍👍

  • @sudhanshubhagwat9538
    @sudhanshubhagwat9538 18 วันที่ผ่านมา +1

    Hi Aaron, loving the course. Is there purchase power parity for buying the course for India? Would love to buy the course. Keep up the good work

    • @aarondfrancis
      @aarondfrancis  18 วันที่ผ่านมา

      Yes, it's listed in the FAQ!

  • @davidguilherme5574
    @davidguilherme5574 18 วันที่ผ่านมา +1

    Is there a benchmark between a tuned sqlite vs postgres or mysql in the same machine?

  • @zacharyquinn3676
    @zacharyquinn3676 18 วันที่ผ่านมา +1

    What terminal is that?

  • @jannismilz
    @jannismilz 17 วันที่ผ่านมา +1

    Would it be possible to get your benchmarking code as well?
    Anyways, thanks for this awesome content!

    • @aarondfrancis
      @aarondfrancis  16 วันที่ผ่านมา +2

      @@jannismilz yes I'll make a video!

  • @N3m3s7s83
    @N3m3s7s83 18 วันที่ผ่านมา +1

    Amazingly explained. But the question is ... Why wal mode is not the default mode? 😮

    • @daknyx1448
      @daknyx1448 18 วันที่ผ่านมา +2

      for backwards compatibility (the maintainers see it as highest priority)

  • @australianman8566
    @australianman8566 18 วันที่ผ่านมา

    does anyone know wehere I can find the bench marking script?

  • @vlad981
    @vlad981 10 วันที่ผ่านมา

    Hi, nice video. Although 10x read seems like due to the some php driver optimization or testing methodology, as wal mode not supposed to incense reads, as specified in official site.
    In out app, where like 95-97% reads, we don’t notice any difference between 2 modes

  • @kirayamato6128
    @kirayamato6128 15 วันที่ผ่านมา

    love you Aaron 💘😍

  • @rahmanramsi
    @rahmanramsi 18 วันที่ผ่านมา

    i need the code to try it myself

  • @fredericoneto1984
    @fredericoneto1984 17 วันที่ผ่านมา

    wanna share that Bench.php ? would be usefull to tweak it to test more DB's

  • @davidsiewert8649
    @davidsiewert8649 17 วันที่ผ่านมา +1

    You are going to some very strange parties.

  • @rudiedirkx
    @rudiedirkx 15 วันที่ผ่านมา

    Can you benchmark journal_mode = off too? Is that even way very much faster?

  • @adampatterson
    @adampatterson 18 วันที่ผ่านมา

    I'd love to see something on Enums and modifying enums with SQLite.
    I wanted to test my app with SQLite but the migrations exploded and I didn't feel like modifying client work for the test 😬
    But maybe it's a good topic?

  • @AbhinavKulshreshtha
    @AbhinavKulshreshtha 18 วันที่ผ่านมา +1

    Is the script on github? I was surprised to see a PHP script. Now I need to take a good look at the whole script.

  • @davidharting3119
    @davidharting3119 18 วันที่ผ่านมา

    Do you need to run the pragma to set WAL mode every time a process connects to SQLite? Or is it a durable config?

    • @ricky2629
      @ricky2629 16 วันที่ผ่านมา +1

      It's a one time thing, you only need to do it when you initially create the db

    • @davidharting3119
      @davidharting3119 16 วันที่ผ่านมา

      Awesome thanks!

  • @luismex5575
    @luismex5575 15 วันที่ผ่านมา

    Why we stop seeing you fron planetscale videos ?

    • @aarondfrancis
      @aarondfrancis  15 วันที่ผ่านมา

      I got laid off

    • @luismex5575
      @luismex5575 10 วันที่ผ่านมา

      ​@aarondfrancis sorry to hear that, your videos of MySQL were the best , I think they made a mistake

    • @luismex5575
      @luismex5575 10 วันที่ผ่านมา

      ​@@aarondfrancis😢

  • @njordhoder
    @njordhoder 18 วันที่ผ่านมา

    Haha the intro 😂

  • @kevinbatdorf
    @kevinbatdorf 16 วันที่ผ่านมา

    When not to use WAL mode?

    • @OldKing11100
      @OldKing11100 15 วันที่ผ่านมา

      Server is subject to random poweroff creating corruption.

    • @aarondfrancis
      @aarondfrancis  12 วันที่ผ่านมา

      WAL mode is safe through power loss! I can't think of a single reason to not use WAL anymore

    • @OldKing11100
      @OldKing11100 12 วันที่ผ่านมา

      @@aarondfrancis Nice. I thought there was still a chance of the WAL file getting corrupted during write, but it probably just does a discard on the bad write when reconnecting the DB.

  • @gavinh7845
    @gavinh7845 18 วันที่ผ่านมา

    🚀🚀🚀

  • @the-avid-engineer
    @the-avid-engineer 18 วันที่ผ่านมา +1

    *nods head first 20 seconds*

  • @Pbertrand_dev
    @Pbertrand_dev 18 วันที่ผ่านมา +8

    WAL mode should be a paid feature, im suprised its included in the lite plan

    • @patelmalavdev
      @patelmalavdev 18 วันที่ผ่านมา

      Wal mode is reason why sqlite took resurgence and sqlite is public domain code.
      The team behind get paid other ways providing exclusive services and support

    • @night23412
      @night23412 17 วันที่ผ่านมา +1

      @@patelmalavdev I think it's a joke about the lite in sqlite

    • @patelmalavdev
      @patelmalavdev 17 วันที่ผ่านมา

      @@night23412 ah
      Though I always thought SQLite was a open source project but
      It's just a company making it and giving away for free

  • @PainHardcore
    @PainHardcore 18 วันที่ผ่านมา

    php? Seriously?

    • @aarondfrancis
      @aarondfrancis  18 วันที่ผ่านมา +7

      Yeah, what about it

    • @Filly309
      @Filly309 16 วันที่ผ่านมา

      comes with a lambo