rocicorp / replicache

Realtime Sync for Any Backend Stack
https://doc.replicache.dev
1.01k stars 37 forks source link

Non-covering indexes #1053

Open aboodman opened 8 months ago

aboodman commented 8 months ago

Our indexes right now are covering. This makes them super fast for reads, but very expensive for writes. Because of their expense we often avoid using indexes, or too many indexes. I think perhaps this is the wrong tradeoff. We should measure non-covering indexes and see if they are worth switching to.