SQLite and the N+1 (no) problem

  Рет қаралды 6,162

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.
@kubre
@kubre 4 ай бұрын
what a gem of channel
@HVossi92
@HVossi92 2 ай бұрын
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?
@Graveness4920
@Graveness4920 5 ай бұрын
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 8 ай бұрын
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
Рет қаралды 6 М.
SQLite For Beginners: Journal Modes
16:06
Mycelial
Рет қаралды 10 М.
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 48 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 24 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 15 МЛН
SQLite for beginners: Fixing Slow Queries
10:10
Mycelial
Рет қаралды 5 М.
Database Sharding in 200 Seconds
5:04
PlanetScale
Рет қаралды 21 М.
DjangoCon Europe 2023 | Use SQLite in production
29:45
DjangoCon Europe
Рет қаралды 8 М.
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 184 М.
GraphQL N+1 Problem
16:14
Ben Awad
Рет қаралды 108 М.
SQLite for beginners: Full Text Search
10:04
Mycelial
Рет қаралды 7 М.
SQLite for beginners: Datatypes
8:38
Mycelial
Рет қаралды 3,4 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,7 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 332 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 1,7 МЛН