No video

SQLite's WAL mode is fast fast

  Рет қаралды 12,998

Aaron Francis

Aaron Francis

Күн бұрын

Пікірлер: 70
@typecraft_dev
@typecraft_dev Ай бұрын
came for the thumbnail. stayed for the content
@robinskills
@robinskills Ай бұрын
Heya nerd!
@knowledgedose1956
@knowledgedose1956 Ай бұрын
Hey nerd 🤝🏻
@yungifez
@yungifez Ай бұрын
Didnt know you were laravel
@haradalucas
@haradalucas Ай бұрын
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 Ай бұрын
I feel the need to open up a SQLite DB and play with it 😎 Thanks Aaron!
@The_Wookiee
@The_Wookiee Ай бұрын
Is fun.
@kasmanialisaad
@kasmanialisaad Ай бұрын
The course is amazing. Highly recommend it. Can’t wait for the last modules!
Ай бұрын
Now I can be the coll guy explaining WAL mode to all the people! Thank you!
@vikingthedude
@vikingthedude Ай бұрын
I love kicking it back with the boys and talking about men’s favourite topics: sports, boobs and sqlite
@mortjac
@mortjac Ай бұрын
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 🎉🎉🎉
@SimoneFolador
@SimoneFolador Ай бұрын
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 Ай бұрын
Relatable opening
@Majiy00
@Majiy00 Ай бұрын
Great video, you really deserve more views and subscriber 😊😊
@davidharting3119
@davidharting3119 Ай бұрын
Watching this while enjoying a nice cold water
@nullzeon
@nullzeon Ай бұрын
I literally level up as a dev everytime I watch! love it here! TryHard Studios! ❤❤❤
@theSlavenIvanov
@theSlavenIvanov Ай бұрын
Superb video quality as always!
@tiagorodrigues_br
@tiagorodrigues_br Ай бұрын
What an excellent video!!
@Michielofzo
@Michielofzo Ай бұрын
Intro cracked me up
@TomNook.
@TomNook. Ай бұрын
BLAZINGLY
@AhmedSalah-xm9xu
@AhmedSalah-xm9xu Ай бұрын
Hey Aaron, are you going to continue streaming the development of your life OS? I really enjoyed the content. Keep up the great work👍👍👍
@aarondfrancis
@aarondfrancis Ай бұрын
Yes for sure!
@mme725
@mme725 Ай бұрын
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)
@davidsiewert8649
@davidsiewert8649 Ай бұрын
You are going to some very strange parties.
@Kane0123
@Kane0123 Ай бұрын
Classic cold water conversation - SQLite config options.
@sudhanshubhagwat9538
@sudhanshubhagwat9538 Ай бұрын
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 Ай бұрын
Yes, it's listed in the FAQ!
@jannismilz
@jannismilz Ай бұрын
Would it be possible to get your benchmarking code as well? Anyways, thanks for this awesome content!
@aarondfrancis
@aarondfrancis Ай бұрын
@@jannismilz yes I'll make a video!
@OldKing11100
@OldKing11100 Ай бұрын
Excellent baseline test. If you don't mind me asking: What is your take on the future of WAL2 + CONCURRENT for SQLite?
@rudiedirkx
@rudiedirkx Ай бұрын
Can you benchmark journal_mode = off too? Is that even way very much faster?
@davidguilherme5574
@davidguilherme5574 Ай бұрын
Is there a benchmark between a tuned sqlite vs postgres or mysql in the same machine?
@abhilashkr1175
@abhilashkr1175 23 күн бұрын
You will have to consider purchasing power parity when pricing the courses in different countries
@aarondfrancis
@aarondfrancis 23 күн бұрын
I do. It's in the FAQ
@vlad981
@vlad981 Ай бұрын
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
@fredericoneto1984
@fredericoneto1984 Ай бұрын
wanna share that Bench.php ? would be usefull to tweak it to test more DB's
@julianjackson8756
@julianjackson8756 Ай бұрын
Thanks for that
@jesper.ordrup
@jesper.ordrup Ай бұрын
Extremly clear explanarion of Wal. Thanks 🎉 Have u tried pocketbase?
@N3m3s7s83
@N3m3s7s83 Ай бұрын
Amazingly explained. But the question is ... Why wal mode is not the default mode? 😮
@daknyx1448
@daknyx1448 Ай бұрын
for backwards compatibility (the maintainers see it as highest priority)
@master74200
@master74200 4 күн бұрын
There are VERY good reasons not to use WAL mode and I am honestly disappointed that an outright recommendation for WAL mode was made here. WAL mode sounds better BUT it does not work if there are multiple applications on different computers all reading and writing the same database. In the classic rollback mode, this does work.
@kirayamato6128
@kirayamato6128 Ай бұрын
love you Aaron 💘😍
@AbhinavKulshreshtha
@AbhinavKulshreshtha Ай бұрын
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.
@adampatterson
@adampatterson Ай бұрын
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?
@zacharyquinn3676
@zacharyquinn3676 Ай бұрын
What terminal is that?
@nicobaier5424
@nicobaier5424 17 күн бұрын
What is the `ar` command you're using to run the `bench` script?
@australianman8566
@australianman8566 Ай бұрын
does anyone know wehere I can find the bench marking script?
@rahmanramsi
@rahmanramsi Ай бұрын
i need the code to try it myself
@the-avid-engineer
@the-avid-engineer Ай бұрын
*nods head first 20 seconds*
@davidharting3119
@davidharting3119 Ай бұрын
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 Ай бұрын
It's a one time thing, you only need to do it when you initially create the db
@davidharting3119
@davidharting3119 Ай бұрын
Awesome thanks!
@gavinh7845
@gavinh7845 Ай бұрын
🚀🚀🚀
@luismex5575
@luismex5575 Ай бұрын
Why we stop seeing you fron planetscale videos ?
@aarondfrancis
@aarondfrancis Ай бұрын
I got laid off
@luismex5575
@luismex5575 Ай бұрын
​@aarondfrancis sorry to hear that, your videos of MySQL were the best , I think they made a mistake
@luismex5575
@luismex5575 Ай бұрын
​@@aarondfrancis😢
@paulclarke4099
@paulclarke4099 26 күн бұрын
@@aarondfrancis Wow, that's so sad, your videos were absolutely brilliant 😭
@njordhoder
@njordhoder Ай бұрын
Haha the intro 😂
@Pbertrand_dev
@Pbertrand_dev Ай бұрын
WAL mode should be a paid feature, im suprised its included in the lite plan
@patelmalavdev
@patelmalavdev Ай бұрын
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 Ай бұрын
@@patelmalavdev I think it's a joke about the lite in sqlite
@patelmalavdev
@patelmalavdev Ай бұрын
@@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
@kevinbatdorf
@kevinbatdorf Ай бұрын
When not to use WAL mode?
@OldKing11100
@OldKing11100 Ай бұрын
Server is subject to random poweroff creating corruption.
@aarondfrancis
@aarondfrancis Ай бұрын
WAL mode is safe through power loss! I can't think of a single reason to not use WAL anymore
@OldKing11100
@OldKing11100 Ай бұрын
@@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.
@PainHardcore
@PainHardcore Ай бұрын
php? Seriously?
@aarondfrancis
@aarondfrancis Ай бұрын
Yeah, what about it
@Filly309
@Filly309 Ай бұрын
comes with a lambo
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 39 М.
Laravel's secret weapon: macros (watch me code)
23:46
Aaron Francis
Рет қаралды 21 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 42 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 14 МЛН
David Crawshaw   SQLite and Go
32:03
Go Northwest
Рет қаралды 36 М.
SQLite: How it works, by Richard Hipp
1:39:27
Prof. Dr. Jens Dittrich, Big Data Analytics
Рет қаралды 5 М.
PHP doesn't suck (anymore)
10:48
Aaron Francis
Рет қаралды 203 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 210 М.
Laravel Octane: supercharge your Laravel applications
8:34
Aaron Francis
Рет қаралды 38 М.
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 749 М.
Production SQLite with Turso and libSQL
1:02:53
Aaron Francis
Рет қаралды 8 М.
SQLite For Beginners: Journal Modes
16:06
Mycelial
Рет қаралды 11 М.
The "SQL In React" Drama
28:32
Theo - t3․gg
Рет қаралды 63 М.
Laravel solved race conditions
14:13
Aaron Francis
Рет қаралды 15 М.