From: | Ron St-Pierre <rstpierre(at)syscor(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [PERFORM] Table UPDATE is too slow |
Date: | 2004-09-07 18:42:13 |
Message-ID: | 413E0105.1060306@syscor.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance |
Tom Lane wrote:
>Ron St-Pierre <rstpierre(at)syscor(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Katsaros Kwn/nos | 2004-09-07 18:45:56 | stringToNode() for plan nodes... |
Previous Message | Chris Travers | 2004-09-07 18:39:06 | Re: postgres "on in the internet" |
From | Date | Subject | |
---|---|---|---|
Next Message | Jeremy M. Guthrie | 2004-09-07 21:32:03 | Stuck using Sequential Scan |
Previous Message | Tom Lane | 2004-09-07 18:00:13 | Re: [PERFORM] Table UPDATE is too slow |