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:
9
postgres/turn-timing-on.md
Normal file
9
postgres/turn-timing-on.md
Normal 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.
|
||||
Reference in New Issue
Block a user