Re: [GENERAL] database is not accepting commands

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: [GENERAL] database is not accepting commands
Дата
Msg-id 045f9091-3679-d68e-f307-5ab0e49054db@aklaver.com
обсуждение исходный текст
Ответ на Re: [GENERAL] database is not accepting commands  (reem <dailyemailr@gmail.com>)
Ответы Re: [GENERAL] database is not accepting commands  (reem <dailyemailr@gmail.com>)
Список 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.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: reem
Дата:
Сообщение: Re: [GENERAL] database is not accepting commands
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] database is not accepting commands