Re: Londiste 3 pgq events_1_1 table huge

Поиск
Список
Период
Сортировка
От Rene .
Тема Re: Londiste 3 pgq events_1_1 table huge
Дата
Msg-id CY1PR16MB0203C6A6BCEC0C58B66525018F490@CY1PR16MB0203.namprd16.prod.outlook.com
обсуждение исходный текст
Ответ на Londiste 3 pgq events_1_1 table huge  (Leonardo M. Ramé <l.rame@griensu.com>)
Ответы Re: Londiste 3 pgq events_1_1 table huge  (Leonardo M. Ramé <l.rame@griensu.com>)
Список pgsql-general
Hi, Check for long running Idle in transaction sessions. Idle in transaction sessions may holding events table from
cleaningitself up. 
If there is more then days long running idle in transaction sessions, kill them, event table should be cleaned
automaticallyafter that. 

"select pid,state, query_start from pg_stat_activity where state='idle in transaction';" for checking sessions.

Rene
________________________________________
From: pgsql-general-owner@postgresql.org <pgsql-general-owner@postgresql.org> on behalf of Leonardo M. Ramé
<l.rame@griensu.com>
Sent: Wednesday, May 18, 2016 10:23 PM
To: PostgreSql-general
Subject: [GENERAL] Londiste 3 pgq events_1_1 table huge

Hi, I couldn't find a mailing list or forum to ask londiste related
questions, so I hope someone from this list can help me with this.

I have a Londiste based replication setup that is working perfectly
since last year. Now I noted the events_1_1 table grew too much (almost
exactly the same size of the whole database), so I'm asking how can I
clean up the events table without breaking the replication?.

Regards,
--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 (011) 40871877


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Leonardo M. Ramé
Дата:
Сообщение: Londiste 3 pgq events_1_1 table huge
Следующее
От: Tom Smith
Дата:
Сообщение: first_value/last_value