1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Turning Timing On as a postgres til.

This commit is contained in:
jbranchaud
2015-04-27 08:22:53 -05:00
parent 4b79b6e345
commit 04693e3ced
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Turn Timing On
When digging around your database and running queries, it is helpful to
have an eye on the speed of those queries. This can give insight into
where there are needs for optimizations.
Turn timing on (and off) within `psql` by running `\timing`. With timing
on, the duration of each query will be displayed in milliseconds after the
output of the query.