Re: postgrses database problem

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Srinivas Lakshmi Sistla <ssistla3(at)csc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgrses database problem
Date: 2006-09-25 16:25:37
Message-ID: 1159201537.26848.17.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2006-09-25 16:34:10 Re: best OS and HW for postgreSQL
Previous Message Scott Marlowe 2006-09-25 16:24:38 Re: best OS and HW for postgreSQL