How much should a Rails (or I guess non-DBA in general) developer learn about Postgres' EXPLAIN up front? Is it worth becoming closely familiar with query plans before having specific queries to improve, or is this something you learned as and when you needed it?

