Show query time in postgres terminal
In psql, run:
\timing
Now when you execute queries, you should be able to see the time it took the query to execute.
To turn this on by default put the same line in your ~/.psqlrc
file (or equivalent).
Written by John Bohn
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Postgresql
Authors
Related Tags
#postgresql
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#