walrus icon indicating copy to clipboard operation
walrus copied to clipboard

Transition from `information_schema` to `pg_catalog` everywhere

Open olirice opened this issue 3 years ago • 0 comments

The information_schema is extremely slow compared to pg_catalog since it is mostly views

Example: https://github.com/supabase/walrus/blob/6b6c3ec212e91f3c2a51fa6698c0209dd5208b20/sql/walrus--0.1.sql#L76

Since all subscriptions are deleted and re-created on a fairly short timer interval, (1-5 minutes), the subscription checking trigger's performance is more important than originally expected

olirice avatar Feb 25 '22 22:02 olirice