Skip to content

PostgREST timeouts when loading schema cache in multi-tenant environment with large user base and schemas #3774

Answered by steve-chavez
akshaysasidrn asked this question in Q&A
Discussion options

You must be logged in to vote

There are 100k exposed schemas, so they all need to be loaded?

Right, that wouldn't help.

Is a single schema with RLS the only way to go with PostgREST there? I will explore that approach then.

Yes, that's the only way for now.

Also we're now logging the schema cache load time #3779.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@steve-chavez
Comment options

@wolfgangwalther
Comment options

@akshaysasidrn
Comment options

@steve-chavez
Comment options

Answer selected by akshaysasidrn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants