Wednesday, December 7, 2011

Postgresql - timing

One simple yet powerful tip is to activate the timing feature:

dellstore2=# \timing
Timing is on.
dellstore2=# SELECT count(*) FROM customers;
count
-------
20000
Time: 7.994 ms

The material I read this from, titles this particular section "Timing overhead". Is the timing feature supposed to cause some sort of overhead upon our queries?

No comments:

Post a Comment