pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedtiming a process
2+ messages / 2 participants
[nested] [flat]
* timing a process
@ 2002-01-23 21:24 Zhang, Anna <azhang@verisign.com>
2002-01-24 09:01 ` Re: timing a process Florian Helmberger <f.helmberger@uptime.at>
0 siblings, 1 reply; 2+ messages in thread
From: Zhang, Anna @ 2002-01-23 21:24 UTC (permalink / raw)
To: pgsql-admin
Hi All,
I like to know how to timing a process? like in oracle sqlplus, we can set
timing on, then execute a statement, such way we can know how long the
process takes. In psql, is there such feature?
Anna Zhang
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: timing a process
2002-01-23 21:24 timing a process Zhang, Anna <azhang@verisign.com>
@ 2002-01-24 09:01 ` Florian Helmberger <f.helmberger@uptime.at>
0 siblings, 0 replies; 2+ messages in thread
From: Florian Helmberger @ 2002-01-24 09:01 UTC (permalink / raw)
To: Zhang, Anna <azhang@verisign.com>; +Cc: pgsql-admin
Hi.
You can try something like this:
time psql template1 postgres -c "select usename from pg_user"
Cheers,
Florian
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Zhang, Anna
> Sent: Wednesday, January 23, 2002 10:25 PM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] timing a process
>
>
> Hi All,
>
> I like to know how to timing a process? like in oracle sqlplus, we can set
> timing on, then execute a statement, such way we can know how long the
> process takes. In psql, is there such feature?
>
>
> Anna Zhang
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-01-24 09:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-23 21:24 timing a process Zhang, Anna <azhang@verisign.com>
2002-01-24 09:01 ` Florian Helmberger <f.helmberger@uptime.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox