pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron St-Pierre <rstpierre@syscor.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: [PERFORM] Table UPDATE is too slow
Date: Tue, 07 Sep 2004 11:42:13 -0700
Message-ID: <413E0105.1060306@syscor.com> (raw)
In-Reply-To: <6966554.1094579891406.JavaMail.root@hercules.ponder-stibbons.com>
References: <4134BF36.3000504@syscor.com>
	<413DDFB7.1060006@syscor.com>
	<6966554.1094579891406.JavaMail.root@hercules.ponder-stibbons.com>

Tom Lane wrote:

>Ron St-Pierre <rstpierre@syscor.com> writes:
>  
>
>>One question about redirecting VACUUMs output to file though. When I run:
>>   psql -d imperial -c "vacuum full verbose analyze;" > vac.info
>>vac.info contains only the following line:
>>   VACUUM
>>I've been unable to capture the VERBOSE output to file. Any suggestions?
>>    
>>
>
>You need to catch stderr not only stdout.
>
>(I'd be less vague if I knew which shell you were running, but sh- and
>csh-derived shells do it differently.)
>
>	
>
Oops, I'm running bash. I just redirected stderr to the file
    psql -d imperial -c "vacuum full verbose analyze;" 2> 
/usr/local/pgsql/vac.info
which gives me exactly what I want.

Thanks again Tom

Ron




view thread (16+ messages)

Message-ID: <413E0105.1060306@syscor.com>
Permalink:  ../413E0105.1060306@syscor.com/
Also on:    postgresql.org/message-id/413E0105.1060306@syscor.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: rstpierre@syscor.com, pgsql-general@postgresql.org
  Subject: Re: [PERFORM] Table UPDATE is too slow
  In-Reply-To: <413E0105.1060306@syscor.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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