High latency with supabase client #22100
bonsaibuddy-unchartedlabs
announced in
Troubleshooting
Replies: 1 comment 2 replies
-
Converting to discussion for the following reasons:
Lets continue to discuss here and re-open as an issue if there is a single source identified |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
Describe the bug
Querying a table using the Supabase client is much slower than querying against the Postgres database directly.
To reproduce
pip install psycopg[binary]
in addition to supabase client.Expected behavior
The overhead from PostgREST shouldn't be higher than a few milliseconds at max. 60-70 ms is way too high. This is particular deceiving because one can run the query on the SQL Editor page and it reports the same time as the direct postgres query, which is not what actually happens.
Beta Was this translation helpful? Give feedback.
All reactions