|
|
|
|
|
by aspett
2305 days ago
|
|
Oh my goodness, you're my saviour. I spent a whole day last week debugging what looked like a caching issue with Ecto + Postgres. When the application ran a query, it'd eventually slow down to 600ms.. when I ran it in psql, always 10ms. My solution was to convert the query to SQL and run it manually which bypassed the plan caching Ecto does. THANK YOU. I will absolutely be testing this tomorrow. |
|