SQLite and the N+1 (no) problem

  Переглядів 5,268

Mycelial

Mycelial

Рік тому

Most databases are susceptible to the N+1 problem, with the exception of embedded databases like SQLite. If you're curious why SQLite doesn't suffer from the N+1 problem, watch this video and learn why.
mycelial.com/#newsletter
/ mycelial
github.com/mycelial
/ discord

КОМЕНТАРІ: 6
@christianlessard6668
@christianlessard6668 Рік тому
How do I find more local-first architecture content like this? This is exactly what I am looking for!
@philipptanlak7034
@philipptanlak7034 Рік тому
Great video! Thanks for explaining the difference. It's unreasonable for this to have only 97 views! Subscribed.
@HVossi92
@HVossi92 5 днів тому
Great video, I appreciate the comparison at the end, because I kept wondering about the optimized postgres version. Did you use connection pooling for the three queries?
@kubre
@kubre 2 місяці тому
what a gem of channel
@kburman
@kburman 3 місяці тому
Complex query are still worth it even if there is no network latency. If we don't do join they we have to write code for doing this and it would become more error prone and complex code where as a single query could have done it. Until there is some memory concern, I don't see a point why not to have complex query for sqlite.
@sekomer
@sekomer 6 місяців тому
you are using second timing for comparison, but I think that's not right, first query directly goes and fetches data from disk, second query is. misleading and fast because first slow query was cached...
SQLite for beginners: JSON
6:44
Mycelial
Переглядів 5 тис.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Travis Media
Переглядів 458 тис.
How to get a FREE HYPERCHARGE SKIN!
02:07
Brawl Stars
Переглядів 13 млн
SQLite for beginners: Fixing Slow Queries
10:10
Mycelial
Переглядів 4,5 тис.
SQLite is enough
5:58
Martin Baun
Переглядів 3,1 тис.
How do NoSQL databases work? Simply Explained!
7:38
Simply Explained
Переглядів 1 млн
unlock the lowest levels of coding
7:05
Low Level Learning
Переглядів 209 тис.
SQLite for beginners: Vacuuming
8:52
Mycelial
Переглядів 2,7 тис.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Переглядів 880 тис.
Use Arc Instead of Vec
15:21
Logan Smith
Переглядів 128 тис.
The N+1 Query Problem with Hibernate ORM
16:21
Bit Aligners
Переглядів 1,8 тис.
N+1 и дефолтные методы. Spring Boot + Webix
17:01
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Переглядів 9 млн
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 588 тис.