pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Srinivas Lakshmi Sistla <ssistla3@csc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgrses database problem
Date: Mon, 25 Sep 2006 11:25:37 -0500
Message-ID: <1159201537.26848.17.camel@state.g2switchworks.com> (raw)
In-Reply-To: <OF8D315414.BB155AC8-ON652571F4.0054C4A1-652571F4.00561681@csc.com>
References: <OF8D315414.BB155AC8-ON652571F4.0054C4A1-652571F4.00561681@csc.com>

On Mon, 2006-09-25 at 10:41, Srinivas Lakshmi Sistla wrote:
> Guys,
> 
> I am new to Postgresql. We have a database on Linux box and users
> complaining about queries running very slow. I tried to run vacuum
> this moring but it doesn't seem to do anything. I logged on to
> database by typing psql bhpbprod (bhpbprod is database name) and that
> gave me the prompt  bhpbprod=# . There i typed in vacuum analyze and i
> got the same prompt again. so i assume it didn't work.
> 
> So could some one please help how to go about this problem. I really
> appreciate all your positive replys. Thanks.

You probably just need a ; character

vacuum analyze;

or you can enter it on the second line:

vacuum analyze
;

and it'll still work.



view thread (2+ messages)

Message-ID: <1159201537.26848.17.camel@state.g2switchworks.com>
Permalink:  ../1159201537.26848.17.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1159201537.26848.17.camel@state.g2switchworks.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, ssistla3@csc.com
  Subject: Re: postgrses database problem
  In-Reply-To: <1159201537.26848.17.camel@state.g2switchworks.com>
  References: <OF8D315414.BB155AC8-ON652571F4.0054C4A1-652571F4.00561681@csc.com> <1159201537.26848.17.camel@state.g2switchworks.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