You already fixed the sequential scan. Your RLS policy filters with an indexed tenant_id IN (...) check instead of scanning the whole tab...
Trending Posts
-
If you built your Supabase multi-tenant schema the way the quickstart shows, you've probably already hit the wall. A query that ran in...
-
A Supabase query that returns in single digit milliseconds during development can suddenly take over a second once real production data la...
-
Your B2B SaaS product probably started with a single boolean: is_admin . Then a customer asked for a Manager role that could approve invoi...
