vacuumdb not letting me connect to db

Поиск
Список
Период
Сортировка
От Atul Kumar
Тема vacuumdb not letting me connect to db
Дата
Msg-id CA+ONtZ7hmwQn+6+fGqSbo_RXE7MBeV=OR86LpG57xRvOerWfag@mail.gmail.com
обсуждение исходный текст
Ответы Re: vacuumdb not letting me connect to db  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: vacuumdb not letting me connect to db  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
Hi,

I have 160 GB of RAM, postgres 9.6 is running on the server.

after upgrade I ran the below command:

"/usr/edb/as9.6/bin/vacuumdb" -U 'enterprisedb' --verbose --all -j 300
--analyze-only

after running that  command I was not able to connect the database
using psql for few minutes.

After 20-30 minutes i was able to connect to the db and at that time I
checked the pg_stst_activity, the active connections was reduced to
27.

my max_connections is set to 700.

I tried to find out the reason for not being abled to connect the db
(when 300 jobs were running) but still not got the answer. So
suggestions are welcome.



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

Предыдущее
От: "Zwettler Markus (OIZ)"
Дата:
Сообщение: curious vacuum full behavior
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: vacuumdb not letting me connect to db