Glide's performance when working with an SQL database can be impacted by the following:
Is your database on a hosted service like neon.tech? If so, what neon.tech plan are you on? The free plan only offers a fixed capacity of 0.25 on a virtual CPU, and the endpoint auto-suspends itself after 5 minutes of inactivity. Try upgrading to a paid plan with neon.tech to see if that improves performance and reliability.