Today I Learned

hashrocket A Hashrocket project

Time Everything in psql

Today I added a command to my Postgres terminal configuration file that's pretty great. Here it is:

-- .psqlrc
/timing

This turns on automatic timing for your commands. Timing is an optional feature that has helped me on many occasions.

See More #sql TILs
Looking for help? Hashrocket developers believe that data quality is as important as code quality. We enjoy all the challenges of relational databases, from finding the fastest index, to structuring data to fit the needs of an application. We're eager to share our experiences; check out PG Casts, our series of free PostgreSQL screencasts.