Computed Relations slow at first request or after idle #3313
-
Hello, I'm using Postgrest 12.0.2 with postgresql 13. The server reacts on other queries always fast around 100 and 300 ms.
Maybe somebody has an idea why the speed is at the beginning always very slow and then is for 10 minutes after the first request ok. Thanks! Manfred |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 35 replies
-
I figured, that postgrest is reconnecting every 30 minutes. Is that normal? 08/Mar/2024:08:00:12 +0100: Retrying listening for notifications on the pgrst channel.. |
Beta Was this translation helpful? Give feedback.
-
I've used the newest version 12.20 but sadly still having the issue, that after the disconnect the loading times are very high (round about 2 minutes) for the first call. Overall the first start is very slow, if there are tables loaded together over joins (also 2 minutes). Running the system with 1100 views and 400 functions. Wouldn't mind to have a long loading time in the first place, but the reloading at the running system is a problem and prevents me to use the normal notify mechanism. |
Beta Was this translation helpful? Give feedback.
Right. Trying to improve that on #3323