Make your queries 43,240x faster

  Рет қаралды 28,450

Supabase

Supabase

Күн бұрын

Пікірлер: 32
@damnnn.
@damnnn. 6 ай бұрын
SUPABASE is AWESOME. The Dev Team is teaching the product, how it should be. I am new to Supabase and these videos are very useful for me. If it's not important to you, try being overwhelmed with textwall documentations and useless videos.
@mikelCold
@mikelCold 8 ай бұрын
Amazing explainer for something so basic as indexes. I'm always surprised how can people learn this so late. If there's another video I would recommend going into multiple column indexes too.
@itscooldawgdonteventrip
@itscooldawgdonteventrip 8 ай бұрын
I used to work at EDF (electricite de France ) and we performed for PL/SQL script to update the 40 millions of line of customer to make the database faster. Kinda forgot about all of that. But that was satisfying to do.
@dshukertjr
@dshukertjr 8 ай бұрын
Loving the quote at the end!
@jitxhere
@jitxhere 8 ай бұрын
Thanks excited to know more about Indexes.
@todoku1
@todoku1 7 ай бұрын
maybe a noob question but does the advantage of the postgres query planner also work when I use it from the client side like in flutter? like in 08:05
@mabud_alam
@mabud_alam 8 ай бұрын
Please explain how the pgvector index works
@m_t_jawaad
@m_t_jawaad 8 ай бұрын
When I tried to index a table, it did improve the query time, but only by a couple of seconds. It was noticeable but not as much as in this video. Does it have anything to do with my supabase plan? I'm using the free tier.
@poolkrooni
@poolkrooni 7 ай бұрын
How big is your dataset? In the video he's dealing with 10M entries
@harryzachariou1
@harryzachariou1 8 ай бұрын
Fantastic video!
@activenode
@activenode 8 ай бұрын
Nice one jon!
@salamandr4111
@salamandr4111 3 ай бұрын
that is really helpful! thank you!!
@sumitpurohit8849
@sumitpurohit8849 8 ай бұрын
Can you please update the docs for when to use which distance operator in HNSW and IVFFlat vector indexes. Currently it is unclear weather to use cosine distance, Euclidean distance or negative inner product. Also I would love to have detailed videos/blogs/docs on which embedding model to use for how many words(tokens) of data and also on hybrid search as well.
@Dom-zy1qy
@Dom-zy1qy 8 ай бұрын
Tbh this isn't really something you should be looking at the supabase documentation for.
@roninspect4357
@roninspect4357 8 ай бұрын
will this index will work with iLike queries?
@althafhussain9718
@althafhussain9718 8 ай бұрын
In this video, the Explain Analyze tool reported a duration of 3 ms for the first query with username and is_active, and 0.02 ms for the second query with is_active and username. Can you explain why there is such a difference?
@tylerhartman1630
@tylerhartman1630 8 ай бұрын
I would guess that either the machine is running multiple threads and the thread got swapped to inactive for 1 ms or that it cached the result from the first one, so it already knew the answer for the second one (because it processed it as the same query)
@laugedyret
@laugedyret 8 ай бұрын
Nice, thanks!
@JonMeyers
@JonMeyers 8 ай бұрын
Glad you enjoyed it! 🙌
@aLfRemArShMeLlOw
@aLfRemArShMeLlOw 8 ай бұрын
42069x faster
@JonMeyers
@JonMeyers 8 ай бұрын
Missed opportunity! 😂
@sire_ns
@sire_ns 8 ай бұрын
Incredible! thanks
@vincentjohnflorio
@vincentjohnflorio 8 ай бұрын
Perfectly explained!
@itscooldawgdonteventrip
@itscooldawgdonteventrip 8 ай бұрын
very didactic
@PramodGeorge
@PramodGeorge 8 ай бұрын
Hot Damn!
@jay_wright_thats_right
@jay_wright_thats_right 2 ай бұрын
Who told him to act like this on camera? 😆😆😆😆 His arms move for every syllable.
@uhN0id
@uhN0id Ай бұрын
Why did you have to point it out lmao I can't unsee it now
@GivSadds
@GivSadds 8 ай бұрын
I left you database service , just because you don't have the query rows count features for the application codes . You have only in SQL but not in dart , javascript or any other languages
@KieranCrown
@KieranCrown 8 ай бұрын
You can utilise DB triggers and functions to update the count and query it in the frontend with ease
@Supabase
@Supabase 8 ай бұрын
You can get the row count using the count option: supabase.com/docs/reference/javascript/select Also we have count() aggregate function option for counting rows of a referenced table: supabase.com/blog/postgrest-aggregate-functions#the-basics-of-aggregate-functions
Simplify complex SQL queries with Views in Postgres
26:01
Supabase
Рет қаралды 11 М.
Are Multi-Column Indexes a good idea?
11:22
Supabase
Рет қаралды 6 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Are You Accidentally Crippling Your EF Core Queries?
17:18
Milan Jovanović
Рет қаралды 32 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 226 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 126 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 120 М.
8 things you should NEVER do in a Database!
22:56
Supabase
Рет қаралды 13 М.
Faster database indexes (straight from the docs)
13:28
PlanetScale
Рет қаралды 127 М.
Postgres scales … when you do this!
9:59
Supabase
Рет қаралды 6 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН