1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/postgres/turn-timing-on.md
2015-04-27 08:22:53 -05:00

10 lines
371 B
Markdown

# 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.