One query can wreck your database performance. Find out how I found this silent killer and sped up my apphttps://schneems.com/2017/07/18/how-i-reduced-my-db-server-load-by-80/ …
The issue is that `valid?` can't work that way. Also determining which column was affected is ugly on not-PG
-
-
What if we caught the error, and then re-ran validations to figure out which column had the problem...
-
...So validations are still done in db and ruby level, but not always triggered via Ruby first?
- 3 more replies
New conversation -
-
-
We're doing it just fine in Ecto for Postgres, MySQL and Mongo. The only major problem is with SQLite.
-
How are y'all doing it in MySQL? Error doesn't present the relevant info. Or does the wire protocol expose it and just the C API doesn't?
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.