© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
jar

canceling statement due to statement timeout

according to https://supabase.com/docs/guides/database/timeouts

set statement_timeout to 60000; -- 1 minute in milliseconds

would change this

i tried set statement_timeout to 300000; -- 5 minute in milliseconds

Is there a limit to this or something. It doesnt seem to be working. I have a lot of math in func. Works in small inc but want to loop through many but times out with larger group. Do I need to try one of those upgrades with more cores or whatever (idk what that really means)
Timeouts
Timeouts
Timeouts and optimization
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

canceling statement due to statement timeout
SupabaseSSupabase / help-and-questions
3y ago
debugging `canceling statement due to statement timeout` error
SupabaseSSupabase / help-and-questions
4y ago
cancelling statement due to statement timeout
SupabaseSSupabase / help-and-questions
8mo ago
Cancelling statement due to statemtn timeout
SupabaseSSupabase / help-and-questions
7mo ago