Re: What does \timing measure?

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Gregory Haase <haaseg(at)onefreevoice(dot)com>
Cc: Daniel Tahara <daniel(dot)tahara(at)yale(dot)edu>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: What does \timing measure?
Date: 2013-09-24 23:45:09
Message-ID: 52422405.5020708@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/24/2013 04:07 PM, Gregory Haase wrote:
>
> I'm curious what the following would show:
>
> time echo '\\timing \\\\ select 1 from dual' | $PG_ROOT/bin/psql test
> >> out.txt
>
>
Also try ...>/dev/null to see if writing to local disk or buffer is part
of the delay.

Cheers,
Steve

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jayadevan M 2013-09-25 03:18:14 logging statements in PostgreSQL
Previous Message Gregory Haase 2013-09-24 23:07:02 Re: What does \timing measure?