From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | reem <dailyemailr(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: database is not accepting commands |
Date: | 2017-05-17 14:15:49 |
Message-ID: | 045f9091-3679-d68e-f307-5ab0e49054db@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 05/16/2017 10:44 PM, reem wrote:
> postgres 9.3 in ubuntu OS.
>
> Yes I did this :
> 1- service postgresql stop
> 2- /usr/lib/postgresql/9.3/bin/postgres --single -D
> /var/lib/postgresql/9.3/main -c
> config_file=/etc/postgresql/9.3/main/postgresql.conf dbname
> 3-vacuum verbose
> 4- vacumming processed and it shows tables being vacuumed but then suddenly
> stopped with the same error above.
>
> Please note we didn't try to VACUUM FULL because it takes a lot of the
> resources .
Have you looked at the other part of the original error message:
"You might also need to commit or roll back old prepared transactions."
Might want to take a look at what is in pg_prepared_xacts:
https://www.postgresql.org/docs/9.3/static/view-pg-prepared-xacts.html
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2017-05-17 14:18:12 | Re: database is not accepting commands |
Previous Message | reem | 2017-05-17 05:44:37 | Re: database is not accepting commands |